- or download this
#!/usr/bin/perl
use strict;
...
print "the regex code took:",timestr(timediff($a3_n, $a3_0)),"\n";
}
- or download this
my (@keys)= keys %DNA_sequence_count;
foreach my $key (@keys) {
...
++$DNA_sequence_count{substr($allbuffered, -$j, $i)};
}
}
- or download this
CATCAT
gives
...
C 2
A 2 (from AT at the end)
T 2 (from TCA + last T)