[BioPython] Determine alphabet (DNA or Protein) of a sequence

Björn Johansson bjorn_johansson at bio.uminho.pt
Mon Jan 12 10:58:16 UTC 2009


Hi, I am fairly new to biopython, so I don't now if this question has
been answered in the archives (tried to loo but found nothing).

Is there a (bio)python module or code snippet that I can use to
determine if a sequence is liiely to be nucleic acid or protein?

I believe the program ReadSeq does this for example, when formatting a
fasta sequence to genbank.

grateful for answers!

/bjorn


-- 
Björn Johansson
Assistant Professor
Departament of Biology
University of Minho
Campus de Gualtar
4710-057 Braga
PORTUGAL
http://www.bio.uminho.pt
http://sites.google.com/site/bjornhome
Work (direct) +351-253 601517
Private mob. +351-967 147 704
Dept of Biology (secretariate) +351-253 60 4310
Dept of Biology (fax) +351-253 678980




More information about the Biopython mailing list