[Bioperl-l] fasta to fastq

Peter Cock p.j.a.cock at googlemail.com
Mon Feb 21 15:13:01 UTC 2011


On Mon, Feb 21, 2011 at 2:44 PM, shalabh sharma
<shalabh.sharma7 at gmail.com> wrote:
> Hi,
>    Is there any module that can convert fasta and qual files to FASTQ
> format?
> I found lot of programs that can do it the other way but not fasta to fastq.
>
> I would really appreciate your help.
>
> Thanks
> Shalabh

Hi,

Yes, you can do FASTA+QUAL to FASTQ with BioPerl, see:
http://www.bioperl.org/wiki/Merging_separate_sequence_and_quality_files_to_FASTQ

For comparison the Biopython Tutorial has a Python example
(section "Converting FASTA and QUAL files into FASTQ files"):
http://biopython.org/DIST/docs/tutorial/Tutorial.html
http://biopython.org/DIST/docs/tutorial/Tutorial.pdf

Peter




More information about the Bioperl-l mailing list