[Biopython] Degenerated Codons

Peter Cock p.j.a.cock at googlemail.com
Wed Feb 22 15:58:36 UTC 2012

On Wed, Feb 22, 2012 at 3:06 PM, Matthias Bernt <MatatTHC at gmx.de> wrote:
> Hi,
> Is there a some functionality:
> - to list X-fold degenerated codons?
> - to test if a codon is X-fold degenerated?
> - to return X for a given codon
> in biopython?
> If not then we might forward this to the dev-list. I would try to implement this.
> Matthias

Hi Matthias,

You can probably do that with the codon dictionaries
provided in Bio.Data.CodonTable (used for translations).
If you could give some specific examples of input and
desired output I'm sure we can give you more hints.


More information about the Biopython mailing list