$ grep '^[ACGT]' foo | cat -n 1 AAAAAAAAAAAAA 2 CCAAAAAAAAAAA 3 AAAAAAAAAAAAA 4 AAAAAAAAAAAAA 5 TTTTTTTTTTTTAACTGAAGATTCGC
TMTOWTDI, some of them not involving perl at all . . .
Update: D'oh! Never mind me. That'll teach me to try and make a cogent point on 5 hours sleep . . .
In reply to Re: How to avoid using array in concatenating string of multiple lines
by Fletch
in thread How to avoid using array in concatenating string of multiple lines OR How To Read FASTA
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |