<?php require __DIR__ . '/../../_common.php'; echo implode(' ', ApproximatePatternMatching('AAAAA', 'AACAAGCTGATAAACATTTAAAGAG', 1));
function ApproximatePatternCount($genome, $pattern, $max_hamming_distance) { return count(ApproximatePatternMatching($pattern, $genome, $max_hamming_distance)); }