How soedinglab/mmseqs2 works
MMseqs2 is a command-line suite for searching and clustering large protein and nucleotide sequence databases, with related taxonomy and profile-search capabilities. Users can run easy workflows on FASTA/FASTQ inputs or compose lower-level database modules. The graph emphasizes search and clustering, then shows database management and taxonomy as distinct capabilities. The README documents the workflow capabilities; source-index references and excerpts support only some internal relationships, so unverified links are omitted or dashed rather than presented as inspected call paths.
Main entry points: Search.cpp Search Workflow · Application.cpp Command Entry · kmersearch.cpp K-mer Search · QueryMatcher.cpp K-mer Prefilter
Components 19
Command Runtime
- Command Entry
src/commons/Application.cpp - Command Registry
src/MMseqsBase.cpp - Parameter Model
src/commons/Parameters.h
Sequence Search
- Easy Search
src/workflow/EasySearch.cpp - Search Workflow
src/workflow/Search.cpp - K-mer Prefilter
src/prefiltering/QueryMatcher.cpp - Prefilter Command
src/prefiltering/Main.cpp - K-mer Search
src/linclust/kmersearch.cpp - Alignment
src/alignment/Main.cpp - Multi-hit Search
src/multihit/MultiHitSearch.cpp
Clustering
- Cluster Workflow
src/clustering/Main.cpp - Linsearch Index
src/linclust/LinsearchIndexReader.cpp
Database and Taxonomy
- Database Workflows
src/workflow/Databases.cpp - Database Reader
src/commons/DBReader.h - Taxonomy Tools
src/taxonomy/NcbiTaxonomy.cpp - Taxonomy Reports
src/taxonomy/taxonomyreport.cpp
Other components
- CLI User
- Sequence Databases
- Search Results
Connections 19
- CLI User → Command Entry: invokes
src/commons/Application.cpp - Command Entry → Command Registry: dispatches
- Command Entry → Parameter Model: parses options
- CLI User → Easy Search: selects workflow
- Easy Search → Search Workflow: runs search
- Search Workflow → Database Reader: reads databases
src/workflow/Search.cpp - Search Workflow → Prefilter Command: runs prefilter
- Prefilter Command → K-mer Prefilter: uses matcher
- K-mer Prefilter → Search Results: emits hits
- CLI User → Cluster Workflow: selects clustering
- Cluster Workflow → K-mer Search: supports linclust
- K-mer Search → K-mer Prefilter: uses matcher
src/linclust/kmersearch.cpp - K-mer Search → Linsearch Index: reads index
src/linclust/kmersearch.cpp - CLI User → Database Workflows: manages databases
- Database Workflows → Sequence Databases: downloads datasets
- CLI User → Taxonomy Tools: assigns taxonomy
- Taxonomy Tools → Taxonomy Reports: supports reporting
- Search Workflow → Alignment: aligns candidates
- Search Workflow → Multi-hit Search: supports multi-hit