Windows:
type fasta.txt | perl laurent_example.pl
Unix:
cat fasta.txt | perl laurent_example.pl
And to get rid of your current error, just add this line after the chomp;
next if($_=~/^\s*$/);
In reply to Re^3: How to format fasta file
by FreeBeerReekingMonk
in thread How to format fasta file
by andyBio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |