in reply to how can I speed up this perl??
For example, if your input sequence is 'abbca', while you step through the sequence, you will get -my %freq; ... my $token = $genome[$i] . $genome[$i+1]; $freq{$token}++;
$freq{ab}++; $freq{bb}++; $freq{bc}++; $freq{ca}++;
|
---|