You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add 1-indel search via bidirectional DFS in Rust (#24)
- Adds max_indels=1 search to the Rust engine: pigeonhole-seeded bidirectional DFS (run_indel -> indel_search_peptide -> extend_bidirectional).
- End-position deletions and terminal insertions are disallowed.
- Output carries an Indels column in indel mode (Mismatches elsewhere, never both); indel is
rejected with mismatches/best_match/counts_only/discontinuous. CLI -i/--max_indels
flag + README section. 41 tests incl. a brute-force property oracle.
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,18 @@ df = Matcher(
93
93
).match()
94
94
```
95
95
96
+
#### Indel Searching
97
+
98
+
Search allowing insertions and deletions (indels) instead of substitution mismatches. The k-mer size is chosen automatically from your query lengths — no manual preprocessing needed.
99
+
```python
100
+
df = Matcher(
101
+
query='neoepitopes.fasta',
102
+
proteome_file='human.fasta',
103
+
max_indels=1
104
+
).match()
105
+
```
106
+
Currently limited to `max_indels=1`; mutually exclusive with `max_mismatches`.
107
+
96
108
#### Best Match
97
109
98
110
Automatically finds the optimal match for each peptide by trying different k-mer sizes and mismatch thresholds. No manual preprocessing required.
0 commit comments