[BioPython] BioSQL documentation for Biopython
Hilmar Lapp
hlapp at gmx.net
Sun Feb 24 16:02:33 UTC 2008
On Feb 24, 2008, at 5:42 AM, Peter wrote:
> The only other thing I noticed was this example code:
>
>>>> from Bio import GenBank
>>>> parser = GenBank.FeatureParser()
>>>> iterator = GenBank.Iterator(open("cor6_6.gb"), parser)
>
> I would write this using Bio.SeqIO as we a promoting this as a uniform
> sequence input/output library in Biopython (as in the wiki page
> Sebastian mentioned). i.e.
>
>>>> from Bio import SeqIO
>>>> iterator = SeqIO.parse(open("cor6_6.gb"), "genbank")
>
> (However I have not yet sat down and gone through the whole document)
If you assure me that that would work (with a current release of
Biopython), I'll change it accordingly.
BTW also in regard to a previous comment from Sebastian, the file
cor6_6.gb is in fact in that same directory in biosql.
As another aside, if either of you would like write permission to
biosql so you can maintain that document yourself that would be no
problem.
-hilmar
--
===========================================================
: Hilmar Lapp -:- Durham, NC -:- hlapp at gmx dot net :
===========================================================
More information about the Biopython
mailing list