[Biopython-dev] [Bug 2381] translate and transcibe methods for the Seq object (in Bio.Seq)
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Tue Oct 16 06:26:44 EDT 2007
http://bugzilla.open-bio.org/show_bug.cgi?id=2381
------- Comment #2 from dalloliogm at gmail.com 2007-10-16 06:26 EST -------
I find difficult to translate a sequence in the 6 reading frames with a single
command.
Actually I use something like this:
for i in xrange(2):
translate(Seq[i:])
which is not very nice.
It would be nice to add a parameter to the translate function like in the
emboss application transeq
(http://emboss.sourceforge.net/apps/cvs/emboss/apps/transeq.html), something
like this:
>>> a = Seq('CAGCTAGCT')
>>> a.translate()
[(translation of a in the frame 0)]
>>> a.translate(1)
[(translation of a in the frame 1)]
>>> a.translate(F)
[(translation of a in the 3 forward frames)]
--
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Biopython-dev
mailing list