for 80 nt per line:
$seq =~ s/([^\n]{80}|[^\n]{1,79}$)/$1\n/g; print $out ">$description\n$seq"; close $out;
A.A.
In reply to Re: File::Wrap and Fasta format
by aging acolyte
in thread File::Wrap and Fasta format
by clairudjinn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |