[Biopython] Sequence object "find" is still case specific?
Michiel de Hoon
mjldehoon at yahoo.com
Mon Mar 4 02:47:13 UTC 2013
Hi everybody,
--- On Sun, 3/3/13, Peter Cock <p.j.a.cock at googlemail.com> wrote:
> On Sun, Mar 3, 2013 at 9:10 PM, Iddo Friedberg <idoerg at gmail.com>
> wrote:
> > The thing is, I am a bit unsure of the utility of
> > alphabets associated with a Seq object in general.
> > (And I was the one who was one of the original
> > crafters of the Seq object). It seems like *any* letter
> > is acceptable - there is no strict alphabet checking. I
> > inserted "Z"s into an unambiguous-dna Seq object. So I
> > am not sure when this happened, but aren't
> > alphabets supposed to provide some constraints?
>
> Not so far no, and I personally find this annoying. The
> current alphabet system is quite heavy and not really
> used to its full potential - checking the letters at
> __init__
> time seems a good idea (when requested), likewise for
> the MutableSeq object on edit.
There was a discussion on this topic a long time ago, starting at:
http://lists.open-bio.org/pipermail/biopython/2005-May/002633.html
Best,
-Michiel.
More information about the Biopython
mailing list