synbiopython.codon.table¶
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.table.
get_table
(table_id, dna=True)[source]¶ Gets a codon table from 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).
dna (bool) – boolean parameter specifying whether the codon table returned should contain DNA or RNA codons (default is DNA).
- Returns
a codon usage table.
- Return type
dict