Written and maintained by CASRAI Editorial Board
Published
On this page
mothur is a free, open-source software package for analysing microbial community sequence data, most often 16S rRNA amplicon reads. It was introduced in 2009 by Patrick Schloss’s group at the University of Michigan and bundles the quality control, alignment, clustering, classification and community-comparison steps into one command-line program, so a study can be run from raw reads to diversity statistics inside a single tool.
Short answer
mothur takes demultiplexed sequence files and walks them through a fixed series of commands: assemble paired reads, screen out poor sequences, align to a reference, remove chimeras, classify, cluster into operational taxonomic units (OTUs) and then compare communities. Its documentation is organised around standard operating procedures (SOPs), and the MiSeq SOP is the one most laboratories follow for Illumina 16S data. Papers that follow the MiSeq SOP are asked to cite Kozich et al. 2013 (Applied and Environmental Microbiology 79(17):5112-5120).
Definition and scope
The 2009 paper that introduced the program describes it as a single, open-source, platform-independent, community-supported package for describing and comparing microbial communities. Its case study analysed more than 222,000 sequences from eight marine samples in under two hours on a laptop. The project wiki says mothur incorporates the earlier programs dotur, sons, treeclimber, s-libshuff and unifrac, which is why one tool covers clustering, library comparison and phylogenetic community comparison. The wiki is licensed CC-BY 4.0, release downloads are on GitHub (github.com/mothur/mothur) and support runs through a public forum (forum.mothur.org).
mothur is a bench-to-bioinformatics tool, not a sequencer or a database. It does not generate reads; it processes them. The reads usually come from amplicon sequencing with primer pairs such as those covered in the guide to the 27F/1492R primer pair, and the raw files are often deposited in the Sequence Read Archive (SRA) alongside the paper.
How it is used in practice: the MiSeq SOP
The MiSeq SOP on the mothur wiki is a worked tutorial with an example dataset, a mock community and an explicit command for every stage. Each stage in the SOP does one thing, and most of them remove something. Read as a quality-control checklist, the sequence is as follows.
1. Assemble and screen the reads
make.file pairs each sample’s forward and reverse FASTQ files, taking the sample name from the text before the first underscore (the SOP advises avoiding hyphens in names). make.contigs then assembles the pairs. Where the two reads overlap and disagree, the base is kept only if one quality score is at least 6 points higher than the other; otherwise it becomes N. The SOP’s example yields 152,360 contigs.
screen.seqs then removes poor contigs with three thresholds: no ambiguous bases (maxambig=0), no sequence longer than 275 bp (maxlength=275) and no homopolymer longer than 8 (maxhomop=8). In the tutorial this leaves 128,865 sequences. The SOP uses summary.seqs beforehand to show why: most reads are 248 to 253 bp, one read of 502 bp is flagged as suspect, and at least 2.5% of reads have ambiguous bases.
2. Deduplicate, align and trim to a common region
unique.seqs collapses identical sequences so later steps work on far fewer records. The reads are then aligned to a V4-specific reference built from the SILVA alignment with pcr.seqs, and a second screen.seqs keeps only sequences that start and end at the same alignment positions. filter.seqs removes columns that contain only gaps; in the tutorial this shrinks the alignment from 13,424 columns to 376. Because trimming can make previously different sequences identical, unique.seqs is run a second time.
3. Denoise and remove chimeras
pre.cluster merges sequences that differ by very little, allowing up to 2 differences in the tutorial (the authors say they favour roughly 1 difference per 100 bp). chimera.vsearch then removes chimeric sequences. In the tutorial, chimera removal takes the data from 128,656 to 118,176 sequences, a reduction of 8.1%.
4. Classify and remove unwanted lineages
classify.seqs assigns taxonomy with a Bayesian classifier against a training set. remove.lineage then discards sequences classified as Chloroplast, Mitochondria, unknown, Archaea or Eukaryota, which are not the bacterial 16S signal the study is after; the tutorial removes 162 sequences at this step. The tutorial uses SILVA v102 and the RDP training set v9, and states that newer SILVA, RDP, Greengenes or Greengenes2 releases can be substituted.
5. Cluster into OTUs and check library sizes
dist.seqs, cluster, make.shared and classify.otu build the OTU table at a 3% distance cutoff. count.groups then reports the number of sequences per sample, and sub.sample rarefies every sample to the same depth; in the tutorial the smallest sample holds 2,403 sequences, and the SOP describes subsampling as important before comparing samples. The SOP also describes alternatives to OTUs, namely amplicon sequence variants (ASVs) and phylotypes.
The data table below lists every stage with its command, the stated purpose, the numeric threshold and the sequence count the SOP reports after it. It is compiled from the SOP only; counts are specific to the tutorial dataset and will differ for your own data.
Worked example: the mock community as an error check
The SOP includes a mock community, a sample of known bacterial strains sequenced alongside the real samples, so the pipeline’s error rate can be measured instead of assumed. After get.groups isolates the mock sample (4,048 sequences, 64 unique), seq.error compares it with the known reference sequences. The SOP reports an overall error rate of 6.5108e-05, which is 0.0065%, and 3,998 of the 4,048 sequences with zero errors.
The same mock sample then tests the clustering step. An ideal result would be 20 OTUs, one per reference sequence. The SOP reports about 35 OTUs at 4,048 sequences and about 31 at 3,000, which it attributes partly to chimeras that went undetected. The practical reading is that OTU counts are inflated by residual error, and the mock sample is the only way to see by how much. After the check, remove.groups drops the mock sample from the real data.
Types of analysis after the pipeline
Once the shared OTU table exists, the SOP lists analysis commands in three groups. Treat them as a menu of what the same package can do, not as a required sequence.
- Alpha diversity (within a sample): rarefaction.single and summary.single.
- Beta diversity (between samples): dist.shared, pcoa, nmds and unifrac-based comparisons, plus clearcut for building trees.
- Hypothesis tests: amova, homova, metastats and lefse.
Where it matters for labs and research offices
For a laboratory, the useful property of the SOP is that it makes the quality-control decisions explicit and repeatable: thresholds such as 275 bp and 8 homopolymers are written in the command, not left to an analyst’s judgement. For a research office or data steward, three practical points follow from the sources.
- Record versions. The SOP is written for a specific mothur release and names specific database versions. Reproducibility depends on recording the mothur version, the reference alignment and the training set used, since the tutorial itself says these can be swapped for newer ones.
- Keep the mock sample. Without it the error rate and OTU inflation cannot be measured.
- Cite both papers. The SOP asks for the 2013 paper, and the 2009 paper introduces the software itself.
Downstream, many groups move OTU or taxonomy tables into other environments for plotting and statistics, and sequences extracted from a run can feed a multiple-sequence alignment and then a phylogenetic tree.
Common misunderstandings
mothur is not tied to one sequencing platform
The 2009 paper describes it as platform-independent. The MiSeq SOP is one tutorial for one data type, not the limit of the software.
The SOP’s numbers are not thresholds for every study
The 275 bp maximum length and the V4 alignment coordinates fit the V4 amplicon in the tutorial. A different amplicon needs its own coordinates, which is why the SOP builds a region-specific reference with pcr.seqs.
The latest version is not stated here
The SOP is written for mothur v1.48.0. Check the GitHub releases page for the current release before installing, rather than relying on a version quoted in a tutorial.
Removing a lineage is not the same as removing contamination
remove.lineage removes sequences classified as chloroplast, mitochondria, Archaea, Eukaryota or unknown. It is a taxonomy filter, and it does not by itself measure or remove reagent or cross-sample contamination, which the SOP addresses through its mock sample rather than through that command.
Sources
- mothur wiki: MiSeq SOP (stage commands, thresholds, counts, mock community, citation request; read 2026-11-17)
- Schloss PD et al. 2009. Introducing mothur. Applied and Environmental Microbiology (PubMed 19801464) (read 2026-11-17)
- mothur wiki home page (project history, incorporated programs, licence; read 2026-11-17)
- mothur releases on GitHub (release downloads)
- Kozich JJ et al. 2013. Development of a dual-index sequencing strategy. Applied and Environmental Microbiology 79(17):5112-5120
Data: mothur MiSeq SOP stages: command, purpose, threshold and tutorial sequence counts
Compiled from the mothur wiki MiSeq SOP: each stage's command, stated purpose, numeric threshold and the sequence count the tutorial reports for its example dataset. Counts apply to the tutorial data only.
| Command | Stated purpose | Threshold or result stated | Sequences reported after stage (sequences) |
|---|---|---|---|
| make.file | Pair forward and reverse FASTQ files per sample | Sample name = text before first underscore | not reported |
| make.contigs | Assemble paired reads | Conflicting base kept if one quality is 6+ higher, else N | 152360 |
| screen.seqs | Remove poor contigs | maxambig=0, maxlength=275, maxhomop=8 | 128865 |
| unique.seqs | Merge identical sequences | None stated | not reported |
| pcr.seqs / align.seqs | Build V4 reference from SILVA and align to it | Reference 13,425 columns wide | not reported |
| screen.seqs (alignment) | Keep sequences spanning same region | start=1968, end=11550 | 128656 |
| filter.seqs | Remove gap-only columns | Alignment 13,424 to 376 columns | not reported |
| pre.cluster | Denoise near-identical sequences | diffs=2 | not reported |
| chimera.vsearch | Remove chimeras | 8.1% reduction | 118176 |
| remove.lineage | Remove unwanted lineages | Chloroplast, Mitochondria, unknown, Archaea, Eukaryota | 118008 |
| seq.error (mock) | Measure sequencing error | Error rate 6.5108e-05 (0.0065%) | not reported |
| sub.sample | Equalise library sizes | size=2403 | not reported |
Sources
- mothur wiki: MiSeq SOP (accessed 2026-11-17)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







