[BioPython] Inverse codon table?
Sebastian Bassi
sbassi at gmail.com
Tue Aug 14 18:44:15 UTC 2007
On 8/14/07, Philipp Pagel <p.pagel at gsf.de> wrote:
> >>> foo = {}
> >>> for codon, AA in t.forward_table.items():
> ... if AA not in foo:
> ... foo[AA] = []
> ... foo[AA].append(codon)
That is also woks!
My goal is to make a function that will return ALL possible
backtranslated sequences from a given peptide. The back_translate
function from Biopython just return one possible sequence. I want them
all :)
--
Bioinformatics news: http://www.bioinformatica.info
Lriser: http://www.linspire.com/lraiser_success.php?serial=318
More information about the Biopython
mailing list