[Biopython-dev] fixes on the tutorials
carl crott
carlcrott at gmail.com
Sun Oct 16 21:24:27 EDT 2011
So the tutorials I'm running through have some bugs in them ...
would anyone like me to fix these?
tutorial 2.4.1 should be something like:
from Bio import SeqIO
handle = open("ls_orchid.fasta", "rU")
for seq_record in SeqIO.parse(handle, "fasta"):
print seq_record.id
print repr(seq_record.seq)
print len(seq_record)
handle.close()
and tutorial 2.4.2:
from Bio import SeqIO
handle = open("ls_orchid.gbk", "rU")
for seq_record in SeqIO.parse(handle, "genbank"):
print seq_record.id
print repr(seq_record.seq)
print len(seq_record)
handle.close()
More information about the Biopython-dev
mailing list