[Biopython] write one rec to file at once

Frederico Moraes Ferreira ferreirafm at usp.br
Wed May 22 19:08:18 UTC 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