Skip to content

Commit

Permalink
Standardize docs and names of classes
Browse files Browse the repository at this point in the history
  • Loading branch information
bosborne committed Dec 27, 2016
1 parent a5f3c73 commit ac355de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions BioPythonUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def run(self, edit):
print("Entrez count: {}".format(ids['Count']))
dialog_result = sublime.ok_cancel_dialog(
"Download {0} sequences? 'retmax': {1}".format(ids['Count'],
entrez_retmax), 'Download')
entrez_retmax), 'Download')

if dialog_result is True:
try:
Expand Down Expand Up @@ -169,7 +169,7 @@ def run(self):


# "Download Taxon"
class DownloadTaxonCommand(sublime_plugin.TextCommand):
class DownloadSequenceByTaxonCommand(sublime_plugin.TextCommand):

def run(self, edit):

Expand Down
4 changes: 2 additions & 2 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
},
{
"id": "download_taxon",
"command": "download_taxon",
"caption": "Download Taxon"
"command": "download_sequence_by_taxon",
"caption": "Get Sequences by Taxon"
},
{
"id": "genbank_to_fasta",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Translation starts at the first codon and continues to the last, regardless of s

#### "Get Sequences by Search"

Queries [NCBI Nucleotide](https://www.ncbi.nlm.nih.gov/nucleotide/) using the [Entrez](https://www.ncbi.nlm.nih.gov/books/NBK184582/)
search service and downloads the sequence results in GenBank format.
Queries [NCBI Nucleotide](https://www.ncbi.nlm.nih.gov/nucleotide/) using [Entrez](https://www.ncbi.nlm.nih.gov/books/NBK184582/)
search service and the selected text and downloads the sequence results in GenBank format.
For example:
~~~~
human[ORGN] AND AKT1[GENE]
Expand All @@ -88,7 +88,7 @@ or:
284218, 203807
~~~~

#### "Download Taxon"
#### "Get Sequences by Taxon"

Downloads a taxon as GenBank format entries from [NCBI](http://www.ncbi.nlm.nih.gov) using the selected
[NCBI Taxonomy](http://www.ncbi.nlm.nih.gov/taxonomy) ids. Ids can be delimited by commas, returns, or space.
Expand Down

0 comments on commit ac355de

Please sign in to comment.