Script for extracting DNA sequences flanked by MiFish primer-match regions.

For each of the primer pair, the region with the smallest hamming distance is found in each DNA sequence. If the smallest hamming distance is larger than 3, such sequences are ignored because existence of indels or many mutations is assumed in primer-match regions. For those ignored sequences, manual extraction needs to be conducted afterwards.