Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hi i want to convert fastaq format to fasta format i have used this code initially to try getting the thgs but dint work here is the code
open(read,"<1.txt"); my@e=<read>; my$a=join(''",@e); sub fq2fa() { while (<1.txt> { if(/^@(S+)/) { print ">\n"; } } } sub fq2fa();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: converting fastaq to fasta
by BrowserUk (Patriarch) on Feb 08, 2012 at 07:03 UTC | |
by Anonymous Monk on Feb 08, 2012 at 07:12 UTC | |
by BrowserUk (Patriarch) on Feb 08, 2012 at 07:25 UTC | |
|
Re: converting fastaq to fasta
by moritz (Cardinal) on Feb 08, 2012 at 06:04 UTC | |
by Anonymous Monk on Feb 08, 2012 at 06:29 UTC |