You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During orftrack annotation process, ORFs are first defined from stop at stop codons. The stop codons and all other codons are hardcoded and come from the standard genetic code. This is problematic if the species (or even a human mitochondria) uses a different genetic code.
The hardcoded genetic code used to define stop codons (among others) needs to be somehow adjusted so that users can choose the codon table that fit it needs. A parameter could be used to set the desired codon table.
importBio.Data.CodonTableasctfork,vinct.generic_by_id.items():
print(k, v)
# k is the key id referring to the genetic table (same id as the one in the ncbi link above)# v is an instance of the NCBICodonTable class with the following attributes:v.id# -> 33v.names# -> ['Cephalodiscidae Mitochondrial', None]v.forward_table# -> {'TTT': 'F', 'UUU': 'F', ...}v.back_table# -> {'K': 'AGG', 'N': 'AAU', ...}v.start_codons# -> ['TTG', 'UUG', 'CTG', 'CUG', 'ATG', 'AUG', 'GTG', 'GUG']v.stop_codons# -> ['TAG', 'UAG']
The text was updated successfully, but these errors were encountered:
During orftrack annotation process, ORFs are first defined from stop at stop codons. The stop codons and all other codons are hardcoded and come from the standard genetic code. This is problematic if the species (or even a human mitochondria) uses a different genetic code.
The hardcoded genetic code used to define stop codons (among others) needs to be somehow adjusted so that users can choose the codon table that fit it needs. A parameter could be used to set the desired codon table.
(https://www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi?chapter=tgencodes)
Infos from biopython package
The text was updated successfully, but these errors were encountered: