Wild-AC: A fast, index-free multi-pattern string matching algorithm with wildcard support for proteomics.
Chris Bielow
Institut für Mathematik und Informatik, Freie Universität Berlin, Takustr. 9, 14195, Berlin, Germany. chris.bielow@fu-berlin.de.
Key points
From the paper's conclusion- Background Efficient multi-pattern string matching with wildcard support is essential in proteomics, where peptides must be mapped to protein databases containing ambiguous amino acids (e.g., B , Z , X ).
Abstract
BACKGROUND: Efficient multi-pattern string matching with wildcard support is essential in proteomics, where peptides must be mapped to protein databases containing ambiguous amino acids (e.g., B, Z, X). Existing approaches either require preprocessing (e.g., FM-index) or fail to handle wildcards in the text. RESULTS: We present Wild-AC, a modified Aho-Corasick algorithm that supports wildcards in the text by branching the search into parallel 'scout' paths, one per possible wildcard representation, while the unmodified primary search continues unaffected in the common, wildcard-free case. Wild-AC outperforms the FM-index (wildcard case) and matches or exceeds Wu-Manber (exact search) in speed for realistic proteomics workloads, i.e., 1000-500 000 peptide patterns (average length ∼18 amino acids) searched against protein databases (texts) of 3 × 106-2.1 × 108 characters. On databases masked to a wildcard rate of 5%, Wild-AC retains its advantage for large peptide sets, while the FM-index becomes preferable for small ones. It requires no index, scales well with pattern count, and supports multi-threading. The C++ implementation is open source at https://github.com/Wild-AC/Wild-AC . CONCLUSION: Wild-AC extends the Aho-Corasick algorithm to support wildcards and outperforms FM-Index and Wu-Manber in the task of peptide-protein mapping while considering ambiguous amino acids.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Sassy: fuzzy searching DNA sequences using SIMDBioinformatics · 2026
- Move-rb: Faster Bi-Directional r-indexes and Approximate Pattern MatchingarXiv · 2026
- Suffixient Arrays: A New Efficient Suffix Array Compression Technique.Theory of computing systems · 2026
- Toward space-optimal approximate colored indexes at scalebioRxiv · 2026
- Fast Pangenome Matching Statistics in Compressed Space with Move Structures.bioRxiv : the preprint server for biology · 2026
- Telescope: A Database Search Sandbox for Software Development.Journal of the American Society for Mass Spectrometry · 2026