Skip to content

Instantly share code, notes, and snippets.

"""Finds and searches for patterns of nucleotides given loci.
Given a file containing loci, a file containing nucleotide calls of those loci,
a database to search in, and optionally an ignore threshold, this program
will calculate all possible patterns of nucleotides and search for their
occurrences in the database.
"""
import itertools
import argparse
package main
import (
"bufio"
"fmt"
"log"
"os"
"strings"
)
package main
import (
"bufio"
"fmt"
"log"
"os"
"sort"
"strconv"
"strings"