synbiopython.codon.taxonomy_utils¶
Synbiopython (c) Global BioFoundry Alliance 2020
Synbiopython is licensed under the MIT License.
To view a copy of this license, visit <http://opensource.org/licenses/MIT/>.
@author: neilswainston
-
synbiopython.codon.taxonomy_utils.
get_organism_name
(table_id)[source]¶ Gets an organism name from supplied parameter, which may be either an organism name or a NCBI Taxonomy id.
- Parameters
table_id (str) – an organism name or a NCBI Taxonomy id (as either a str or int).
- Returns
an organism name
- Return type
str
-
synbiopython.codon.taxonomy_utils.
get_tax_id
(table_id)[source]¶ Gets a NCBI Taxonomy id from supplied parameter, which may be either an organism name or a NCBI Taxonomy id.
- Parameters
table_id (str) – an organism name or a NCBI Taxonomy id (as either a str or int).
- Returns
a NCBI Taxonomy id
- Return type
str