[BioPython] Adding startswith and endswith methods to the Seq object

Peter peter at maubp.freeserve.co.uk
Fri Apr 17 13:48:56 EDT 2009


On Mon, Apr 13, 2009 at 2:47 PM, Peter <peter at maubp.freeserve.co.uk> wrote:
> Hi all,
>
> I've filed enhancement bug 2809 with a patch to add startswith and
> endswith methods to the Seq object,
> http://bugzilla.open-bio.org/show_bug.cgi?id=2809
>
> I'm confident there are many possible use cases for this.
> ...
> Does this seem like a sensible addition to the Seq object?  It is
> consistent with making the Seq object more like a python string.

For anyone not following the Bug or the dev mailing list, this has
been checked in and will be included with Biopython 1.50, and
there is an example using it in the new Tutorial.

Peter



More information about the Biopython mailing list