[Biopython] FASTQ to qual+fasta

Iddo Friedberg idoerg at gmail.com
Sun Jan 16 18:48:09 UTC 2011


question regarding the use of SeqIO.convert: how do I convert a FASTQ file
to qual and fasta files? Currently it seems that I have to run SeqIO.convert
twice e.g.:

 SeqIO.convert(open("infile.fastq"),"fastq",open("outfile.qual","w"),"qual")
 SeqIO.convert(open("infile.fastq"),"fastq",open("outfile.fasta","w"),"fasta")

Or am I missing something?

Thanks,

./I


-- 
Iddo Friedberg
http://iddo-friedberg.net/contact.html



More information about the Biopython mailing list