Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Perl script to convert fastq to fasta file

  • Public
By Poonam Mahapatra 2486 days ago
#!/usr/bin/env perl use strict; use warnings; use Bio::Factory::EMBOSS; my $usage = "perl $0 in.fq out.fa"; my $infile = shift or die $usage; my $outfile = shift or die $usage; my $factory = Bio::Factory::EMBOSS->new; my $seqret = $factory->program('seqret'); # $seqret is a Bio::Tools::Run::EMBOSSApplication object $seqret->run({-sequence => $infile, -sformat1 => 'fastq', -outseq => $outfile, -osformat => 'fasta'});