MMSEQS2(1)
okay bestie, you cracked open the MMSEQS2(1) page and it lives in the General Commands Manual, which is exactly the kind of dry little shelf you'd expect a tool this powerful to be chilling on π
π NAME π
MMseqs2 β full government name MMseqs2, which stands for Many against Many sequence searching π¦
And what does it do? It does fast, parallelized protein sequence searches and clustering of huge protein sequence data sets. That's the whole vibe. Massive data, no waiting around, no cap. π
β¨ SYNOPSIS β¨
Like most iconique tools, it keeps the invocation simple:
mmseqs <module> args
So you call mmseqs, you hand it a module, and then you feed that module its args. That's the shape of every single thing you're about to do with it, fr fr. πΈ
β¨ DESCRIPTION β¨
MMseqs2 (Many-against-Many sequence searching) is a software suite to search and cluster huge proteins/nucleotide sequence sets. It's open source GPL-licensed software implemented in C++ for Linux, MacOS, and (as beta version, via cygwin) Windows. The software is designed to run on multiple cores and servers and exhibits very good scalability. MMseqs2 can run 10000 times faster than BLAST. At 100 times its speed it achieves almost the same sensitivity. It can perform profile searches with the same sensitivity as PSI-BLAST at over 400 times its speed. π
The following depicts the different <module> that can be used.
πΈ Easy workflows (for non-experts) πΈ
An example for running a command using easy-* modules would be:
mmseqs easy-search <DB> <targetDB>
easy-searchβ Search with a query fasta against target fasta (or database) and return a BLAST-compatible result in a single step β¨easy-linsearchβ Linear time search with a query fasta against target fasta (or database) and return a BLAST-compatible result in a single step π¦easy-linclustβ Compute clustering of a fasta/fastq database in linear time. The workflow outputs the representative sequences, a cluster tsv and a fasta-like format containing all sequences. πeasy-clusterβ Compute clustering of a fasta database. The workflow outputs the representative sequences, a cluster tsv and a fasta-like format containing all sequences. πeasy-taxonomyβ Compute taxonomy and lowest common ancestor for each sequence. The workflow outputs a taxonomic classification for sequences and a hierarchical summery report. π
π Main tools (for non-experts) π
createdbβ Convert protein sequence set in a FASTA file to MMseqs sequence DB format π§searchβ Search with query sequence or profile DB (iteratively) through target sequence DB π₯linsearchβ Search with query sequence DB through target sequence DB βmapβ Fast ungapped mapping of query sequences to target sequences. πclusterβ Compute clustering of a sequence DB (quadratic time) πlinclustβ Cluster sequences of >30% sequence identity in linear time πcreateindexβ Precompute index table of sequence DB for faster searches βcreatelinindexβ Precompute index for linsearch βenrichβ Enrich a query set by searching iteratively through a profile sequence set. πrbhβ Find reciprocal best hits between query and target π«Άclusterupdateβ Update clustering of old sequence DB to clustering of new sequence DB π₯
π Utility tools for format conversions π
createtsvβ Create tab-separated flat file from prefilter DB, alignment DB, cluster DB, or taxa DB β¨convertalisβ Convert alignment DB to BLAST-tab format or specified custom-column output format π¦convertprofiledbβ Convert ffindex DB of HMM files to profile DB πconvert2fastaβ Convert sequence DB to FASTA format πΈresult2flatβ Create a FASTA-like flat file from prefilter DB, alignment DB, or cluster DB πcreateseqfiledbβ Create DB of unaligned FASTA files (1 per cluster) from sequence DB and cluster DB π§
π Taxonomy tools π
taxonomyβ Compute taxonomy and lowest common ancestor for each sequence. πcreatetaxdbβ Annotates a sequence database with NCBI taxonomy information πaddtaxonomyβ Add taxonomy information to result database. βlcaβ Compute the lowest common ancestor from a set of taxa. π«Άtaxonomyreportβ Create Kraken-style taxonomy report. πfiltertaxdbβ Filter taxonomy database. π
π₯ Multi-hit search tools π₯
multihitdbβ Create sequence database and associated metadata for multi hit searches β¨multihitsearchβ Search with a grouped set of sequences against another grouped set π¦besthitpersetβ For each set of sequences compute the best element and updates the p-value πcombinepvalpersetβ For each set compute the combined p-value πsummerizeresultsbysetβ For each set compute summary statistics, such as spread-pvalue etc. πΈresultsbysetβ For each set compute the combined p-value πmergeresultsbysetβ Merge results from multiple orfs back to their respective contig π§
π Utility tools for clustering π
mergeclustersβ Merge multiple cluster DBs into single cluster DB π
β Core tools (for advanced users) β
prefilterβ Search with query sequence / profile DB through target DB (k-mer matching + ungapped alignment) π₯ungappedprefilterβ Search with query sequence / profile DB through target DB and compute optimal ungapped alignment score βalignβ Compute Smith-Waterman alignments for previous results (e.g. prefilter DB, cluster DB) πalignallβ Compute all against all Smith-Waterman alignments for a results (e.g. prefilter DB, cluster DB) πtransitivealignβ Transfers alignments by transitivity via a center star alignment π«Άclustβ Cluster sequence DB from alignment DB (e.g. created by searching DB against itself) πkmermatcherβ Finds exact$k$-mersmatches between sequences πkmersearchβ Search with query sequence through target DB. (k-mer matching) π¦kmerindexdbβ Finds exact$k$-mersmatches between sequences and stores them as index πΈclusthashβ Cluster sequences of same length and >90% sequence identity in linear time π
π«Ά Utility tools to manipulate DBs π«Ά
compressβ Compresses a database. β¨decompressβ Decompresses a database. πapplyβ Passes each input database entry to stdin of the specified program, executes it and writes its stdout to the output database. πextractorfsβ Extract open reading frames from all six frames from nucleotide sequence DB π¦extractframesβ Extract frames reading frames from a nucleotide sequence DB πΈorftocontigβ Obtain location information of extracted orfs with respect to their contigs in alignment format πreverseseqβ Reverse each sequence in a DB π§touchdbβ Memory map database πtranslatenucsβ Translate nucleotide sequence DB into protein sequence DB π₯translateaaβ Translate protein sequence into nucleotide sequence DB βswapresultsβ Reformat prefilter or alignment DB as if target DB had been searched through query DB πswapdbβ Create a DB where the key is from the first column of the input result DB πmergedbsβ Merge multiple DBs into a single DB, based on IDs (names) of entries πsplitdbβ Split a mmseqs DB into multiple DBs πsplitsequenceβ Split sequences by length π¦subtractdbsβ Generate a DB with entries of first DB not occurring in second DB πΈfilterdbβ Filter a DB by conditioning (regex, numerical, ...) on one of its whitespace-separated columns πcreatesubdbβ Create a subset of a DB from a file of IDs of entries π§viewβ Prints entries to console πrmdbβ Removes the database π₯mvdbβ Move the database βresult2profileβ Compute profile and consensus DB from a prefilter, alignment or cluster DB πresult2ppβ Merge the query profiles with target profiles according to search results and outputs an enriched profile DB πresult2rbhβ Filter a merged result DB to retain only reciprocal best hits πresult2msaβ Generate MSAs for queries by locally aligning their matched targets in prefilter/alignment/cluster DB πconvertmsaβ Turns an MSA file into an MSA database. π¦msa2profileβ Turns an MSA database into a MMseqs profile database. πΈprofile2pssmβ Converts a profile database into a human readable tab-separated PSSM file. πprofile2csβ Converts a profile database into a column state sequence. π§result2statsβ Compute statistics for each entry in a sequence, prefilter, alignment or cluster DB πproteinaln2nuclβ Map protein alignment to nucleotide alignment π₯tsv2dbβ Turns a TSV file into a MMseqs database βresult2repseqβ Get representative sequences for a result database π
π Special-purpose utilities π
rescorediagonalβ Compute sequence identity for diagonal πalignbykmerβ Predict sequence identity, score, alignment start and end by kmer alignment πdiffseqdbsβ Find IDs of sequences kept, added and removed between two versions of sequence DB πconcatdbsβ Concatenate two DBs, giving new IDs to entries from second input DB π¦sortresultβ Sort a result database in the same order as prefilter or align would. πΈsummarizealisβ Summarize alignment results into a single show uniq. coverage, coverage and avg. sequence identity πsummarizeresultβ Extract annotations from alignment DB π§summarizetabsβ Extract annotations from HHblits BAST-tab-formatted results πgff2dbβ Turn a gff3 (generic feature format) file into a gff3 DB π₯masksequenceβ Soft mask sequences using tantan, low. complex regions in lower case the rest upper βmaskbygffβ X out sequence regions in a sequence DB by features in a gff3 file πprefixidβ For each entry in a DB prepend the entry ID to the entry itself πsuffixidβ For each entry in a DB append the entry ID to the entry itself πconvertkbβ Convert UniProt knowledge base files into MMseqs2 database format for the selected column types πsummarizeheadersβ Return a new summarized header DB from the UniProt headers of a cluster DB π¦extractalignedregionβ Extract aligned sequence region from query πΈextractdomainsβ Extract highest scoring alignment region for each sequence from BLAST-tab file πconvertca3mβ Converts a cA3M database into a MMseqs2 result database. π§expandalnβ Expands an alignment result based on another. πcountkmerβ Simple kmer counter, it prints the numeric, alphanumeric representation and kmercount π₯
And that's the whole page, bestie π this manual page is from MMseqs2 (Many against Many sequ...) and the date on it is July 2019 β section MMSEQS2(1).
π¦ where this page comes from
- debian bookworm: mmseqs2 14-7e284+ds-1+b2 Β· GPL-3.0-only
- debian trixie: mmseqs2 15-6f452+ds-2+b3 Β· GPL-3.0-only
- ubuntu jammy: mmseqs2 13-45111+ds-2 Β· GPL-3.0-only
- ubuntu noble: mmseqs2 15-6f452+ds-2 Β· GPL-3.0-only
- ubuntu questing: mmseqs2 15-6f452+ds-2
- ubuntu resolute: mmseqs2 18-8cc5c+ds-1 Β· GPL-3.0-only
- ubuntu stonking: mmseqs2 18-8cc5c+ds-2 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms