[BioPython] How to test Sequence objects for equality?
Tal Einat
taleinat at gmail.com
Sat Mar 29 12:38:39 UTC 2008
Hello,
I'm new to BioPython, but I've managed to stumble in my very first
steps. Could someone help explain this behavior?
>>> from Bio.Seq import Seq
>>> from Bio.Alphabet import IUPAC
>>> Seq('A', IUPAC.unambiguous_dna) == Seq('A', IUPAC.unambiguous_dna)
False
>>>
My current goal is to search for (possibly ambiguous) matching
sequences in an efficient manner, but I haven't found docs or a
tutorial which cover this.
(WinXP SP2, Python2.5, BioPython 1.45)
- Tal
More information about the Biopython
mailing list