[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
Wed Jul 16 07:40:53 EDT 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2381





------- Comment #13 from biopython-bugzilla at maubp.freeserve.co.uk  2008-07-16 07:40 EST -------
(In reply to comment #8)
> Whether or not to stop translating at the first stop codon could be an
> argument to the translate method. As an alternative, it may be preferable
> to have a split() method that splits the sequences at the stop codons.
> Such a method could be applied to all protein sequences, not only those
> created by translate().

Adding a split() method to the Seq object is a good idea in general (making the
Seq object more like a python string), and using my_protein.split("*") is an
nice example usage of this.

I have posted a possible implementation of the split() method for the Seq
object on Bug 2351 comment 15
http://bugzilla.open-bio.org/show_bug.cgi?id=2351#c15


-- 
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