Algorithm 1 Mining Sequential Pattern (Note: min_support is the minimum support threshold, min_mon_wc is the minimal non-wildcard threshold, and last (a) is the last amino acid or nucleotides) |
1: Mining (,) |
2: if || ≥ then |
3: if () ≥ and last () ≠ then |
4: if is a closed pattern then |
5: report , || |
6: for each residue or do |
7: : = with or appended to it |
8: Mining (,) |