[Biopython] write one rec to file at once
Jocelyne
jocelyne at gmail.com
Wed May 22 15:46:00 EDT 2013
SeqIO.write(rec, fastq_out, "fastq")
On Wed, May 22, 2013 at 12:08 PM, Frederico Moraes Ferreira
<ferreirafm at usp.br> wrote:
> 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
> _______________________________________________
> Biopython mailing list - Biopython at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython
More information about the Biopython
mailing list