MMseqs2, MAFFT and IQ-TREE 2 container image¶
1. What this image is¶
firesimulations/phylo bundles MMseqs2 (sequence clustering and search), MAFFT (multiple sequence alignment) and IQ-TREE 2 (maximum-likelihood phylogeny) from pinned Ubuntu 24.04 packages. It is for researchers who want a fixed, citable toolchain for clustering, alignment and tree building without installing packages. CPU only, linux/amd64. It contains no databases and no GPU code.
2. Tags and versions¶
| Tag | Contents |
|---|---|
1.0-r1 |
MMseqs2, MAFFT, IQ-TREE 2 |
1.0-hmmer-r1 |
the same plus HMMER 3.4 (manual) |
Tag pattern: <image line version>[-<variant>]-r<N>. The line version 1.0 is the tool set (MMseqs2, MAFFT, IQ-TREE 2); the exact package versions are in section 5 and in the image labels. A published tag never changes; a changed image gets the next -rN (tags and revisions). The release notes list the digest and DOI of each tag: releases.
3. Get the image¶
docker pull firesimulations/phylo:1.0-r1
docker pull firesimulations/phylo@sha256:<digest of the release note> # byte-exact; preferred in papers
Without Docker Hub, download the archive from the Zenodo record of the tag and follow load an image from Zenodo. See also verify an image.
4. Quick start¶
docker run --rm firesimulations/phylo:1.0-r1 # prints the tool versions
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/workspace" firesimulations/phylo:1.0-r1 \
mafft --auto sequences.fa > aligned.fa
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/workspace" firesimulations/phylo:1.0-r1 iqtree2 -s aligned.fa -m MFP -T 4
docker run --rm -v "${PWD}:/workspace" firesimulations/phylo:1.0-r1 iqtree2 -s aligned.fa -m MFP -T 4
There is no entrypoint: the command follows the image name. The working directory is /workspace. The image runs as root unless you pass -u; use -u "$(id -u):$(id -g)" so that output files belong to you. The example in section 6 was also tested as uid 4242 on a read-only root file system with a writable /tmp (--read-only --tmpfs /tmp:exec).
5. What is inside¶
| Program | Package version |
|---|---|
| MMseqs2 | mmseqs2 15-6f452+ds-2 |
| MAFFT | mafft 7.505-1 |
| IQ-TREE | iqtree 2.0.7+dfsg-1build2 (command iqtree2) |
| Operating system | Ubuntu 24.04 (noble) |
The complete package list is software-versions.txt in each Zenodo record; the SBOM is sbom.spdx.json. All programs come from the Ubuntu 24.04 archive at the exact versions above.
6. Usage guide¶
The three steps below were run with a tiny example (four sequences) when the image was verified.
Cluster sequences (MMseqs2). Identical sequences fall into the same cluster:
mmseqs easy-cluster seqs.fa clu tmp --min-seq-id 0.9 -c 0.8 --threads 1
cut -f1 clu_cluster.tsv | sort -u | wc -l # number of clusters
Align (MAFFT).
mafft --quiet --thread 1 seqs.fa > aln.fa
Build a maximum-likelihood tree (IQ-TREE 2). The binary is called iqtree2:
iqtree2 -s dna.fa -m JC -T 1 -seed 1 -pre iq --quiet # writes iq.treefile
Fix -seed and the thread count when you need repeatable runs. Model selection (-m MFP), bootstrap options and partition models are described in the IQ-TREE 2 documentation; they are not exercised by this image's tests.
7. Input and output conventions¶
| Item | Value |
|---|---|
| Working directory | /workspace |
| Inputs | FASTA files, alignments, HMM files |
| Outputs | written next to your inputs (clusters *_cluster.tsv, alignments, *.treefile, *.iqtree, *.log) |
| Exit status | non-zero when a program fails |
| Temporary files | mmseqs writes to the tmp folder you name; remove it afterwards |
8. Performance and resources¶
Set threads explicitly: --threads (MMseqs2), --thread (MAFFT), -T (IQ-TREE 2). Memory needs grow with the number of sequences; large MMseqs2 jobs can need tens of GB. The image has no GPU code.
9. Verification¶
docker run --rm firesimulations/phylo:1.0-r1
prints the MMseqs2, MAFFT and IQ-TREE versions. The release pipeline also ran the example above as the image user and as uid 4242 on a read-only root file system (all passed), scanned the image for fixable critical or high vulnerabilities (none found) and for embedded secrets (none found).
10. Reproducibility checklist for a paper¶
Record: the tag, the digest and the version DOI of the release note, the exact command lines including -seed and thread counts, the input file hashes (sha256sum), and the model selected by IQ-TREE.
11. How to cite¶
Primary reference: this container image. If you use this image, cite its Zenodo record (the version DOI of the tag you used):
Noor, D. H. (2026). MMseqs2, MAFFT and IQ-TREE 2 container image (Version 1.0-r1+doc2) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.24628031
@software{scdoc_phylo_1_0_r1_doc2,
author = {Noor, Dilwar Hossain},
title = {MMseqs2, MAFFT and IQ-TREE 2 container image},
version = {1.0-r1+doc2},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24628031},
url = {https://doi.org/10.5281/zenodo.24628031}
}
All versions of this image line: concept DOI 10.5281/zenodo.24615801. Each Zenodo record also contains CITATION.cff and CITATION.bib; the release notes list every tag.
Secondary references: the programs inside this image. Please also cite the original publications of the programs you used:
- MMseqs2: Steinegger, M. & Söding, J. (2017). MMseqs2 enables sensitive protein sequence searching for the analysis of massive data sets. Nature Biotechnology 35, 1026–1028. https://doi.org/10.1038/nbt.3988
- MAFFT: Katoh, K. & Standley, D. M. (2013). MAFFT multiple sequence alignment software version 7. Molecular Biology and Evolution 30, 772–780. https://doi.org/10.1093/molbev/mst010
- IQ-TREE 2: Minh, B. Q. et al. (2020). IQ-TREE 2: new models and efficient methods for phylogenetic inference in the genomic era. Molecular Biology and Evolution 37, 1530–1534. https://doi.org/10.1093/molbev/msaa015
12. Licences and source offer¶
The programs are Ubuntu 24.04 packages and keep their Debian licence files (/usr/share/doc/<package>/copyright inside the image, collected in THIRD_PARTY_LICENSES.txt of the Zenodo record):
| Package | Licence as stated in the Debian copyright file |
|---|---|
| mmseqs2 | GPL-3, with parts under Expat, zlib/libpng and BSD-3-clause |
| iqtree | GPL-2+ and GPL-3+, with parts under LGPL-2.1+ and NCSA |
| mafft | the MAFFT licence (see the copyright file) |
Source offer. The corresponding source of every package is available from the Ubuntu 24.04 archive at the exact versions in section 5, for example apt-get source mmseqs2=15-6f452+ds-2 on Ubuntu 24.04 with source repositories enabled, or from https://packages.ubuntu.com/. The packages are installed unmodified. The build recipe of this image is not distributed.
13. Known limits and troubleshooting¶
| Symptom | Reason and fix |
|---|---|
iqtree: command not found |
the executable is iqtree2 |
| output files belong to root | add -u "$(id -u):$(id -g)" |
| MMseqs2 stops with out-of-memory | reduce the data set, increase Docker's memory limit, or use --split-memory-limit |
14. Changelog¶
| Tag | Date | Change |
|---|---|---|
1.0-r1 |
2026-11-28 | first release under this tag (same package versions as the earlier 1.0 tag) |