[Biopython-dev] [Bug 1689] Seq is broken in CVS

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Aug 25 12:22:37 EDT 2004


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





------- Additional Comments From f.sohm at whsmithnet.co.uk  2004-08-25 12:22 -------
Created an attachment (id=168)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=168&action=view)
Seq.py with some fix in complement and reverse_complement()

Added a method __maketrans in Seq

in Seq.complement() and Seq.reverse_complement() replaced seq.alphabet by
self.alphabet.

Added support for lower case DNA in Seq.complement() and
Seq.reverse_complement. Same thing in MutableSeq.complement()

I wonder if returning a Seq from a complement is a good idea as well
if your original sequence is a DNA(going 5'->3') the complement will not be a
DNA (it goes 3'->5').

Bye

Fred

Fred




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.



More information about the Biopython-dev mailing list