[Biopython] write one rec to file at once

Frederico Moraes Ferreira ferreirafm at usp.br
Wed May 22 15:08:18 EDT 2013


Hi list,
Is there any way of writing one and only one record to a fastafile, 
without have to open a reclist, append rec to it and only then write the 
reclist to a previous opened file? I was just thinking, if I can read a 
rec at once like:
inrec = SeqIO.read(open(fastafile, "rU"), "fasta")
why not write it at once?
Best,
Fred


More information about the Biopython mailing list