[Biopython-dev] derive from Seq
Peter
biopython at maubp.freeserve.co.uk
Sun Feb 21 07:03:21 EST 2010
On Sat, Feb 20, 2010 at 7:01 PM, Eric Talevich <eric.talevich at gmail.com> wrote:
> I've seen a technique like this used to good effect:
>
> # File: Seq.py
>
> ...
>
> The same functionality is then available in a functional or OO style, with
> minimal code duplication. And for interactive sessions, where converting
> strings to Seqs is a bit more of an inconvenience, "from Bio.Seq import *"
> becomes quick and handy.
Doesn't that describe the Bio.Seq module as it is pretty well?
In addition to the Seq object methods, there are several functions
which can be used on strings or Seq (like) objects.
Peter
More information about the Biopython-dev
mailing list