[Biopython-dev] reusable code in Genbank

Cayte katel at worldpath.net
Thu Mar 15 02:48:11 EST 2001


----- Original Message -----
From: "Brad Chapman" <chapmanb at arches.uga.edu>
To: <biopython-dev at biopython.org>
Sent: Wednesday, March 14, 2001 2:33 AM
Subject: Re: [Biopython-dev] reusable code in Genbank


> Cayte:
> > .   Since this post, I've noticed more opportunities to reuse code.  I
think
> > the class Referennce.py in Genbank is close enough to the Kabat
references
> > to use as a base class.
>
> For reusing representations of common objects like this, I think the
> best way to go is to the use the Seq, SeqRecord and SeqFeature
> stuff. In my mind, these are supposed to represent common reusable
> objects, like references. On the other hand, the Reference.py is
> GenBank is meant to be an "exactly like GenBank" representation of a
> reference, for people who only care about GenBank. Because of this,
> this class will change if GenBank changes.
>
  Seq.SeqRecord does not contain journal, author, pubmed number.  Both Kabat
and Genbank references conain these components.

                                             Cayte




More information about the Biopython-dev mailing list