[Biopython] write one rec to file at once
Frederico Moraes Ferreira
ferreirafm at usp.br
Wed May 22 16:06:32 EDT 2013
Tks.
Em 22-05-2013 16:46, Jocelyne escreveu:
> 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
--
Dr. Frederico Moraes Ferreira
University of Sao Paulo
Heart Institute, School of Medicine
Laboratoy of Immunology
Av. Dr. Enéas de Carvalho Aguiar, 44
05403-900 Sao Paulo - SP
Brasil
More information about the Biopython
mailing list