in reply to Base sequence length in fasta format file
while ($line = <INPUT>) { if ($line =~ tr/ACGT/ACGT/ > 250) { print $line; } } [download]