コード例 #1
0
ファイル: seq.py プロジェクト: jashworth-UTS/bioinf-utilities
 def back_translate(self) :
     """Translate a protein sequence back into coding DNA, using using the
     standard genetic code. See corebio.transform.GeneticCode for
     details and more options.
     """
     from transform import GeneticCode
     return GeneticCode.std().back_translate(self)
コード例 #2
0
ファイル: seq.py プロジェクト: jashworth-UTS/bioinf-utilities
 def translate(self) :
     """Translate a nucleotide sequence to a polypeptide using full
     IUPAC ambiguities in DNA/RNA and amino acid codes, using the
     standard genetic code. See corebio.transform.GeneticCode for
     details and more options.
     """
     # Note: masks str.translate
     from transform import GeneticCode
     return GeneticCode.std().translate(self)