while () { print if /^[ATCG]+$/ && length >= $ideal; }