View Single Post
Old 07-28-2011, 12:26 AM   #11
boetsie
Senior Member
 
Location: NL, Leiden

Join Date: Feb 2010
Posts: 245
Default

If you want to split only on gaps of say larger than 10 N's, you can change the line;

my @seqgaps = split(/[N]{1,}/, $seq);
to
my @seqgaps = split(/[N]{10,}/, $seq);
boetsie is offline   Reply With Quote