[Biopython-dev] reusable code in Genbank

Brad Chapman chapmanb at arches.uga.edu
Thu Mar 15 02:02:34 EST 2001


Cayte:
>   Seq.SeqRecord does not contain journal, author, pubmed number.  Both Kabat
> and Genbank references conain these components.

Right, SeqRecord is a higher level class, since it needs to hold all
information about a sequence. For the reference stuff, you need to
look at the Bio.SeqFeature.Reference class

>>> from Bio.SeqFeature import Reference
>>> my_ref = Reference()
>>> dir(my_ref)
['authors', 'comment', 'journal', 'location', 'medline_id',
'pubmed_id', 'title']

Brad




More information about the Biopython-dev mailing list