[Biopython] GI number

x y rafal.b.pawlak at gmail.com
Mon Jan 25 16:38:17 EST 2010


hello,
how extract GI number in this program?

from Bio import SeqIO
handle = open("xyz.fasta")
for seq_record in SeqIO.parse(handle, "fasta"):
    print seq_record.description
handle.close()

ex.
Osa_SPT6 gi|222632083|gb|EEE64215.1| hypothetical protein Os05g41510.1_ORYZA
[Oryza sativa Japonica Group]

rafal pawlak


More information about the Biopython mailing list