I have a set of data that looks something like the following:
I am having trouble setting up a hash etc., to count the number and
types of continuous gaps. For example the 'human' sequence above has 2
sets of 3 gaps and 1 set of 5 gaps. The 'chimp' has 2 sets of 3 gaps
and finally the 'mouse' has 1 set of 3 gaps and 1 set of 4 gaps.
So, I am having trouble being able to assign a dynamic variable (i.e.
gap length) and place that in a pattern match so that ...