[BioPython] MARTEL parser & FASTA
Cristian S. Rocha
crocha at dc.uba.ar
Mon May 17 14:54:25 EDT 2004
Hi,
I would like to parse FASTA files with NCBI description header. I see
some reference about it in the Bio.expression.fasta module, but when I
use it by the SeqRecord.io module it assign None and "<no name>" values
to the 'id' and 'name' attribs. What's wrong?
SeqFile = open('example.fasta')
r = SeqRecord.io.readFile(SeqFile, debug_level=0)
for i in r:
print i.id
print i.name
print i.description
Thxs,
Cristian.
--
Lic. Cristian S. Rocha.
<crocha at dc.uba.ar>
Departamento de Computacin. FCEyN. UBA.
Pabellon I. Cuarto 9.
Ciudad Universitaria.
(1428) Buenos Aires. Argentina.
Tel: +54-11-4576-3390/96 int 714
Tel/Fax: +54-11-4576-3359
Cel: 15-5-607-9192
More information about the BioPython
mailing list