if ($windowSeq =~ /GG$/) { $sequences{$windowSeq}{Count}++; $sequences{$windowSeq}{Position} = $windowStart; }