- or download this
if($annotation =~ /(\b($term)\b|$term-)\b|(-$term)\b/i) {
$nTermHits {$term}++;
$nTotalHits++;
push(@annotationlist, "$annotation\n");
}
- or download this
if($annotation =~ /(?:\b$term|$term-|-$term)\b/i) {
- or download this
foreach $term (@terms) {
if ($nTermHits {$term} > 0) {
printf "%s\t%d\n", $term, $nTermHits {$term};
}
}
- or download this
foreach $term (keys %nTermHits) {
printf "%s\t%d\n", $term, $nTermHits {$term};
}