swarm(1)
swarm(1) β from the USER COMMANDS manual, and bestie, this is the whole vibe. π
β¨ NAME β¨
swarm β find clusters of nearly-identical nucleotide amplicons π§¬β¨
π SYNOPSIS π
swarm -h|v
High-precision clustering:
swarm [filename]
swarm [-d 1] [-nrz] [-a int] [-i filename] [-j filename] [-l filename]
[-o filename] [-s filename] [-t int] [-u filename] [-w filename]
[filename]
swarm [-d 1] -f [-nrz] [-a int] [-b int] [-c|y int] [-i filename]
[-j filename] [-l filename] [-o filename] [-s filename] [-t int]
[-u filename] [-w filename] [filename]
Conservative clustering:
swarm -d 2+ [-nrxz] [-a int] [-e int] [-g int] [-i filename]
[-l filename] [-m int] [-o filename] [-p int] [-s filename]
[-t int] [-u filename] [-w filename] [filename]
Dereplication (merge strictly identical sequences):
swarm -d 0 [-rz] [-a int] [-i filename] [-l filename] [-o filename]
[-s filename] [-u filename] [-w filename] [filename]
π DESCRIPTION π
Okay so, environmental or clinical molecular studies generate large volumes of amplicons (e.g., 16S or 18S SSU-rRNA sequences) that need to be grouped into clusters. Traditional clustering methods are based on greedy, input-order dependent algorithms, with arbitrary selection of cluster centroids and cluster limits (often 97%-similarity). To address that problem, we developed swarm, a fast and robust method that recursively groups amplicons with d or less differences (i.e. substitutions, insertions or deletions). swarm produces natural and stable clusters centered on local peaks of abundance, mostly free from input-order dependency induced by centroid selection. β¨
Exact clustering is impractical on large data sets when using a naΓ―ve all-vs-all approach (more precisely a 2-combination without repetitions), as it implies unrealistic numbers of pairwise comparisons. swarm is based on a maximum number of differences d between two amplicons, and focuses only on very close local relationships. For d = 1, the default value, swarm uses an algorithm of linear complexity that generates all possible single mutations and performs exact-string matching by comparing hash-values. For d = 2 or greater, swarm uses an algorithm of quadratic complexity that performs pairwise string comparisons. An efficient k-mer-based filtering and an astute use of comparisons results obtained during the clustering process allows swarm to avoid most of the amplicon comparisons needed in a naΓ―ve approach. To speed up the remaining amplicon comparisons, swarm implements an extremely fast Needleman-Wunsch algorithm making use of the Streaming SIMD Extensions (SSE2) of x86-64 CPUs, NEON instructions of ARM64 CPUs, or Altivec/VMX instructions of POWER8 CPUs. If SSE2 instructions are not available, swarm exits with an error message. π
swarm can read nucleotide amplicons in fasta format from a normal file or from the standard input (using a pipe or a redirection). The amplicon header is defined as the string comprised between the '>' symbol and the first space or the end of the line, whichever comes first. Each header must end with an abundance annotation representing the amplicon copy number and defined as '_' followed by a positive integer. See option -z for input data using usearch/vsearch's abundance annotation format (';size=integer[;]'). Once stripped from the abundance annotation, the remaining part of the header is call the label. In summary, using regular expression patterns:
>header[[:blank:]] and header = label_[1-9][0-9]*$
Abundance annotations play a crucial role in the clustering process, and swarm exits with an error message if that information is not available. As swarm outputs lists of amplicon labels, amplicon labels must be unique to avoid any ambiguity; swarm exits with an error message if labels are not unique. The amplicon sequence is defined as a string of [ACGT] or [ACGU] symbols (case insensitive, 'U' is replaced with 'T' internally), starting after the end of the header line and ending before the next header line or the file end; swarm silently removes newline symbols ('\n' or '\r') and exits with an error message if any other symbol is present. Accepted sequence lengths range from 1 nucleotide to 67 million nucleotides. Please note that processing 67-Mb sequences requires at least 32 gigabytes of memory. Lastly, if sequences are not all unique, i.e. were not properly dereplicated, swarm will exit with an error message. π
Clusters are written to output files (specified with -i, -o, -s and -u) by decreasing abundance of their seed sequences, and then by alphabetical order of seed sequence labels. An exception to that is the -w (--seeds) output, which is sorted by decreasing cluster abundance (sum of abundances of all sequences in the cluster), and then by alphabetical order of seed sequence labels. This is particularly useful for post-clustering steps, such as de novo chimera detection, that require clusters to be sorted by decreasing abundances. π
General options
-h,--helpβ display this help and exit successfully. π«Ά-t,--threadsβ positive integer. number of computation threads to use. Values between1and512are accepted, but we recommend to use a number of threads lesser or equal to the number of available CPU cores. Default number of threads is1. π§΅-v,--versionβ output version information and exit successfully. β¨--β delimit the option list. Later arguments, if any, are treated as operands even if they begin with'-'. For example,'swarm -- -file.fasta'reads from the file'-file.fasta'. π§
Clustering options
-d,--differencesβ zero or positive integer. maximum number of differences allowed between two amplicons, meaning that two amplicons will be grouped if they have integer (or less) differences. This is swarm's most important parameter. The number of differences is calculated as the number of mismatches (substitutions, insertions or deletions) between the two amplicons once the optimal pairwise global alignment has been found (see'pairwise alignment advanced options'to influence that step).
Any integer from 0 to 255 can be used, but high d values will decrease the taxonomical resolution of swarm results. Commonly used d values are 1, 2 or 3, rarely higher. When using d = 0, swarm will output results corresponding to a strict dereplication of the dataset, i.e. merging identical amplicons. Warning, whatever the d value, swarm requires fasta entries to present abundance values. Default number of differences d is 1. π₯
-n,--no-otu-breakingβ when working withd = 1, deactivate the built-in cluster refinement (not recommended). Amplicon abundance values are used to identify transitions among in-contact clusters and to separate them, yielding higher-resolution clustering results. That option prevents that separation, and in practice, allows the creation of a link between ampliconsAandB, even if the abundance ofBis higher than the abundance ofA. π
Fastidious options
-b,--boundaryβ positive integer. when using the option--fastidious(-f), define the minimum abundance of what should be considered a large cluster. By default, a cluster with a total abundance of3or more is considered large. Conversely, a cluster is small if it has a total abundance of2or less, meaning that it is composed of either one amplicon of abundance2, or two amplicons of abundance1, or one amplicon of abundance1. Any positive value greater than1can be specified. Using higher boundary values can reduce the number of clusters (up to a point), and will reduce the taxonomical resolution of swarm results. It will also slightly increase computation time. πΈ-c,--ceilingβ positive integer. when using the option--fastidious(-f), define swarm's maximum memory footprint (in megabytes). swarm will adjust the--bloom-bits(-y) value of the Bloom filter to fit within the specified amount of memory. Values accepted range from40to1,073,741,824megabytes. See the--bloom-bits(-y) option for an alternative way to control the memory footprint. π§-f,--fastidiousβ when working withd = 1, perform a second clustering pass to reduce the number of small clusters (recommended option). During the first clustering pass, an intermediate amplicon can be missing for purely stochastic reasons, interrupting the aggregation process. The fastidious option will create virtual amplicons, allowing to graft small clusters upon larger ones. By default, a cluster is considered large if it has a total abundance of3or more (see the--boundaryoption to modify that value).
To speed things up, swarm uses a Bloom filter to store intermediate results. Warning, the second clustering pass can be 2 to 3 times slower than the first pass and requires much more memory to store the virtual amplicons in Bloom filters. See the options --bloom-bits (-y) or --ceiling (-c) to control the memory footprint of the Bloom filter.
The fastidious option modifies clustering results: the output files produced by the options --log (-l), --output-file (-o), --mothur (-r), --uclust-file, and --seeds (-w) are updated to reflect these modifications; the file --statistics-file (-s) is partially updated (columns 6 and 7 are not updated); the output file --internal-structure (-i) is partially updated (column 5 is not updated for amplicons that belonged to the small cluster). π
-y,--bloom-bitsβ positive integer. when using the option--fastidious(-f), define the size (in bits) of each entry in the Bloom filter. That option allows to balance the efficiency (i.e. speed) and the memory footprint of the Bloom filter. Large values will make the Bloom filter more efficient but will require more memory. Any value between2and64can be used. Default value is16. See the--ceiling(-c) option for an alternative way to control the memory footprint. π
π Input/output options π
okay bestie, this is the whole vibe section, the one where you tell swarm what to spit out and where to put it. every single one of these is a gift, fr fr. π
-a,--append-abundance positive integerβ sets the abundance value swarm should use when some or all of the amplicons in your input file are missing abundance values (that's_integer, or;size=integer;if you're rolling with-z).
β οΈ warning bestie!! it is not recommended to run swarm on datasets where the abundance values are all identical. this option exists purely as a courtesy to advanced users, so please, please use it carefully. if abundance values are missing and you didn't use this option, swarm just exits with an error message. no cap. π
-i,--internal-structure filenameβ dumps every pair of nearly-identical amplicons to filename using a five-column tab-delimited format:- amplicon A label (that's the header without abundance annotations).
- amplicon B label (again, header without abundance annotations).
- number of differences between amplicons A and B (positive integer).
- cluster number (positive integer). clusters get numbered in their order of delineation, starting from 1, and every pair of amplicons in the same cluster gets the same number. π«Ά
- cummulated (yes, spelled like that, it's iconic) number of steps from the cluster seed to amplicon B (positive integer). heads up: when you're using
--fastidious(-f), the actual number of steps between grafted amplicons and the cluster seed can't be re-computed efficiently, so it's always set to 2 for the amplicon pair linking the small cluster to the large cluster. cummulated number of steps in the small cluster (if there is one) are left unchanged.
-j,--network-file filenameβ (advanced users only, this is giving secret menu π΅οΈ) when you're working withd = 1, dump the raw amplicon network to filename using a two-column tab-delimited table of headers with abundance annotations. each line is a connection between two similar amplicons, going from the most abundant to the lesser abundant. when two amplicons have the same abundance value, the connections are bi-directional and get represented on two lines: A to B, then B to A.
here's the lore: to delineate clusters and compute the equivalent of a minimal spanning tree for each cluster (peep option --internal-structure), swarm first builds a network of similar amplicons. this option is for advanced users who wanna explore that raw network. β¨
-l,--log filenameβ sends all messages to filename instead of standard error, with the exception of error messages, of course (those stay loud π’). this is so useful when writing to standard error is problematic β certain job schedulers, we're looking at you.-o,--output-file filenameβ writes clustering results to filename. results are a list of clusters, one cluster per line, and a cluster is just a list of amplicon headers separated by spaces. that format can be modified by--mothur(-r). default is to write to standard output.-r,--mothurβ outputs clustering results in a format compatible with Mothur. this one modifies swarm's default output format. slay. π-s,--statistics-file filenameβ writes statistics to filename. it's a tab-separated table with one cluster per row and seven columns of info:- number of unique amplicons in the cluster,
- total abundance of amplicons in the cluster,
- label of the initial seed (header without abundance annotations),
- abundance of the initial seed,
- number of amplicons with an abundance of 1 in the cluster,
- maximum number of iterations before the cluster reached its natural limit,
- cummulated number of steps along the path joining the seed and the furthermost amplicon in the cluster. please note that the actual number of differences between the seed and the furthermost amplicon is usually much smaller. and when you use
--fastidious(-f), grafted amplicons aren't taken into account. π
-u,--uclust-file filenameβ outputs clustering results to filename in a tab-separated uclust-like format with 10 columns and 3 different types of entries (S,HorC). note that this option does not modify swarm's default output format. every fasta sequence in the input file is either a cluster centroid (S) or a hit (H) assigned to a cluster. cluster records (C) summarize info for each cluster (number of hits, centroid header). the column content varies with the type of entry (S,HorC):- record type:
S,H, orC. - cluster number (zero-based).
- centroid length (
S), query length (H), or number of hits (C). - percentage of similarity with the centroid sequence (
H), or set to'*'(S,C). - match orientation
+or-(H), or set to'*'(S,C). - not used, always set to
'*'(S,C) or to zero (H). - not used, always set to
'*'(S,C) or to zero (H). - set to
'*'(S,C) or, forH, a compact representation of the pairwise alignment using the CIGAR format (Compact Idiosyncratic Gapped Alignment Report):M(match),D(deletion) andI(insertion). the equal sign'='means the query is identical to the centroid sequence. - header of the query sequence (
H), or of the centroid sequence (S,C). - header of the centroid sequence (
H), or set to'*'(S,C).
- record type:
-w,--seeds filenameβ outputs cluster representative sequences to filename in fasta format. the abundance value of each cluster representative is the sum of the abundances of all the amplicons in the cluster (yes, all of them π). fasta headers are formated as follows:'>label_integer', or'>label;size=integer;'if the-zoption is used, and sequences are uppercased. sequences get sorted by decreasing abundance, and then by alphabetical order of sequence labels.-z,--usearch-abundanceβ accepts amplicon abundance values in usearch/vsearch's style (>label;size=integer[;]). this option influences the abundance annotation style used in swarm's standard output (-o), as well as the output of options-r,-uand-w.
𧬠Pairwise alignment advanced options π§¬
when you're using d > 1, swarm recognizes some advanced command-line options that modify the pairwise global alignment scoring parameters. nerd mode: activated. π€β¨
-m,--match-reward positive integerβ default reward for a nucleotide match is 5.-p,--mismatch-penalty positive integerβ default penalty for a nucleotide mismatch is 4.-g,--gap-opening-penalty positive integerβ default gap opening penalty is 12.-e,--gap-extension-penalty positive integerβ default gap extension penalty is 4.-x,--disable-sse3β on the x86-64 CPU architecture, disables SSE3 and later instructions. this option is meant for developers, not for regular users. you've been warned bestie π«£
since swarm focuses on close relationships (like, d = 2 or 3), clustering results are resilient to pairwise alignment model parameter modifications. but when you're clustering with a higher d value, modifying model parameters has a stronger impact. so like, be careful with the vibes you're adjusting. π
π EXAMPLES π
clusterize the compressed data set myfile.fasta using the finest resolution possible (1 difference by default, built-in breaking, fastidious option) using 4 computation threads. clusters go to the file myfile.swarms, and cluster representatives go to myfile.representatives.fasta:
zcat myfile.fasta.gz | \
swarm \
-t 4 \
-f \
-w myfile.representatives.fasta \
-o myfile.swarms
look at that pipeline. she's gorgeous. ππ
π AUTHORS π
Concept by FrΓ©dΓ©ric MahΓ©, implementation by TorbjΓΈrn Rognes. absolute legends, both of them. π«Ά
π CITATION π
MahΓ© F, Rognes T, Quince C, de Vargas C, Dunthorn M. (2014) Swarm: robust and fast clustering method for amplicon-based studies. PeerJ 2:e593 https://doi.org/10.7717/peerj.593.
MahΓ© F, Rognes T, Quince C, de Vargas C, Dunthorn M. (2015) Swarm v2: highly-scalable and high-resolution amplicon clustering. PeerJ 3:e1420 https://doi.org/10.7717/peerj.1420.
MahΓ© F, Czech L, Stamatakis A, Quince C, de Vargas C, Dunthorn M, Rognes T. (2021) Swarm v3: towards tera-scale amplicon clustering. Bioinformatics https://doi.org/10.1093/bioinformatics/btab493.
π REPORTING BUGS π
submit suggestions and bug-reports at https://github.com/torognes/swarm/issues, send a pull request at https://github.com/torognes/swarm/pulls, or compose a friendly or curmudgeonly e-mail to FrΓ©dΓ©ric MahΓ© and TorbjΓΈrn Rognes. both energies are welcome, fr fr. π
π¦ AVAILABILITY π¦
Source code and binaries available at https://github.com/torognes/swarm.
βοΈ COPYRIGHT βοΈ
Copyright (C) 2012-2025 FrΓ©dΓ©ric MahΓ© & TorbjΓΈrn Rognes
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
π SEE ALSO π
swipe, an extremely fast Smith-Waterman database search tool by TorbjΓΈrn Rognes (available at https://github.com/torognes/swipe).vsearch, an open-source re-implementation of the classic uclust clustering method (by Robert C. Edgar), along with other amplicon filtering and searching tools. vsearch is implemented by TorbjΓΈrn Rognes and documented by FrΓ©dΓ©ric MahΓ©, and is available at https://github.com/torognes/vsearch.
π°οΈ VERSION HISTORY π°οΈ
ok so this is the receipts section π every new feature and important glow-up swarm has ever gotten (the short-lived releases and tiny bug-fix drops don't get a mention, sorry besties, we're keeping it iconic only):
v3.1.6 released November 7, 2025
This one's a maintenance release, no drama. It fixes some compilation warnings (memory alignment stuff) plus static analysis warnings, and adds more compile-time checks. General performance goes up, notably when you're using d = 0. BUT β and I need you to hear me β a 15% slowdown was observed with certain datasets when using d >= 2 (specifically the 18SV9 dataset, x86-64 CPU, GCC 11.5). π So like, slay for d = 0, rip for that one case.
v3.1.5 released March 31, 2024
This version changes the minimal value for the ceiling option from 8 megabytes to 40 megabytes, and fixes four minor bugs. β οΈ Warning: peak RSS memory increased by 5 to 10% when d >= 2. Version 3.1.5 also improves documentation (it now covers option --network_file), adds more compilation checks, and eliminates 50 compilation warnings with GCC 13, GCC 14 and clang 19, as well as 1,677 static analysis warnings. Not me clearing out the whole warnings closet π§Ήβ¨
v3.1.4 released September 20, 2023
Fixes a minor bug. It eliminates compilation warnings with GCC 13 and clang 18, plus 1,040 static analysis warnings. The maximal number of threads swarm can run is now 512, instead of 256. Compilation with runtime checks (-DNDEBUG) is now the default. When d > 1, overall memory allocations stay the same, but peak RSS memory went up by 6 to 10%, because of a change in the timing of memory deallocations. Peak RSS memory is expected to come back down to its prior levels as refactoring continues. π«Ά
v3.1.3 released December 5, 2022
Fixes a regression introduced back in version 3.1.1 (that was memory over-allocation when d > 1). It also fixes a minor off-by-one error when allocating memory for a Bloom filter, compilation warnings with GCC 12 and clang 13, plus static analysis warnings. Documentation got better, and so did our test suite (swarm-tests). π
v3.1.2 released November 10, 2022
Fixes a bug with fastidious mode that got introduced in version 3.1.1, which could cause Swarm to crash. Probably from allocating too much memory. π
v3.1.1 released September 29, 2022
This one eliminates a risk of segmentation fault with extremely long sequence headers. Documentation and error messages got improved, and the code cleaning continued. π§Ό
v3.1.0 released March 1, 2021
Includes a fix for a bug in the 16-bit SIMD alignment code that got exposed by a combination of d>1, long sequences, and very high gap penalties. The code has also been cleaned up, tested and improved substantially, and it is now fully C++11 compliant. Support for macOS on Apple Silicon (ARM64) has been added. π
v3.0.0 released October 24, 2019
Introduces a faster algorithm for d = 1, and a reduced memory footprint. Swarm has been ported to Windows x86-64, GNU/Linux ARM 64, and GNU/Linux POWER8. Internal code has been modernized, hardened, and thoroughly tested. Strict dereplication of input sequences is now mandatory. And the --seeds option (-w) now outputs results sorted by decreasing abundance, and then by alphabetical order of sequence labels. sorted and slayed β¨
v2.2.2 released December 12, 2017
Fixes a bug that would cause swarm to wait forever in very rare cases when multiple threads were used. the way that would just hang there with no explanation π
v2.2.1 released October 27, 2017
Fixes a memory allocation bug for d = 1 and duplicated sequences.
v2.2.0 released October 17, 2017
Fixes several problems and improves usability. The list is long, bestie, buckle up:
- Corrected output to structure and uclust files when using fastidious mode.
- Corrected abundance output in some cases.
- Added check for duplicated sequences and fixed check for duplicated sequence IDs.
- Checks for empty sequences.
- Sorts sequences by additional fields to improve stability.
- Improves compatibility with compilers and operating systems.
- Outputs sequences in upper case.
- Allows 64-bit abundances.
- Shows message when waiting for input from stdin.
- Improves error messages and warnings.
- Improves checking of command line options.
- Fixes remaining errors reported by test suite.
- Updates documentation.
ate and left no crumbs π½οΈ
v2.1.13 released March 8, 2017
Removes a bug with the progress bar when writing seeds.
v2.1.12 released January 16, 2017
Removes a debugging message. (yes that's it, that's the whole release π)
v2.1.11 released January 16, 2017
Fixes two bugs related to the SIMD implementation of alignment that might result in incorrect alignments and scores. The bug only applies when d > 1.
v2.1.10 released December 22, 2016
Fixes two bugs related to gap penalties of alignments. The first bug may lead to wrong alignments and similarity percentages reported in UCLUST (.uc) files. The second bug makes swarm use a slightly higher gap extension penalty than specified β the default gap extension penalty used have actually been 4.5 instead of 4. so it was lowkey lying to you the whole time π
v2.1.9 released July 6, 2016
Fixes errors when compiling with GCC version 6.
v2.1.8 released March 11, 2016
Fixes a rare bug triggered when clustering extremely short undereplicated sequences. Also, alignment parameters are not shown when d = 1.
v2.1.7 released February 24, 2016
Fixes a bug in the output of seeds with the -w option when d > 1 that was not properly fixed in version 2.1.6 (third time's the charm bestie π« ). It also handles ascii character #13 (CR) in FASTA files better. Swarm will now exit with status 0 if the -h or the -v option is specified. The help text and some error messages have been improved.
v2.1.6 released December 14, 2015
Fixes problems with older compilers that do not have the x86intrin.h header file. It also fixes a bug in the output of seeds with the -w option when d > 1.
v2.1.5 released September 8, 2015
Fixes minor bugs.
v2.1.4 released September 4, 2015
Fixes minor bugs in the swarm algorithm used for d = 1.
v2.1.3 released August 28, 2015
Adds checks of numeric option arguments. finally, validation π
v2.1.1 released March 31, 2015
Fixes a bug with the fastidious option that caused it to ignore some connections between large and small clusters.
v2.1.0 released March 24, 2015
Marks the first official release of swarm v2. π
v2.0.7 released March 18, 2015
Writes abundance information in usearch style when using options -w (--seeds) in combination with -z (--usearch-abundance).
v2.0.6 released March 13, 2015
Fixes a minor bug.
v2.0.5 released March 13, 2015
Improves the implementation of the fastidious option and adds options to control memory usage of the Bloom filter (-y and -c). In addition, an option (-w) allows to output cluster representatives sequences with updated abundances (sum of all abundances inside each cluster). This version also enables swarm to run with d = 0. π
v2.0.4 released March 6, 2015
Includes a fully parallelised implementation of the fastidious option. π₯
v2.0.3 released March 4, 2015
Includes a working implementation of the fastidious option, but only the initial clustering is parallelized.
v2.0.2 released February 26, 2015
Fixes SSSE3 problems.
v2.0.1 released February 26, 2015
This is a development version that contains a partial implementation of the fastidious option, but it is not usable yet. π§
v2.0.0 released December 3, 2014
Faster and easier to use, providing new output options (--internal-structure and --log), new control options (--boundary, --fastidious, --no-otu-breaking), and built-in cluster refinement (no need to use the python script anymore π). When using default parameters, a novel and considerably faster algorithmic approach is used, guaranteeing swarm's scalability.
v1.2.21 released February 26, 2015
Supposed to fix some problems related to the use of the SSSE3 CPU instructions which are not always available.
v1.2.20 released November 6, 2014
Presents a production-ready version of the alternative algorithm (option -a), with optional built-in cluster breaking (option -n). That alternative algorithmic approach (usable only with d = 1) is considerably faster than currently used clustering algorithms, and can deal with datasets of 100 million unique amplicons or more in a few hours. Of course, results are rigourously identical to the results previously produced with swarm. That release also introduces new options to control swarm output (options -i and -l).
v1.2.19β released October 3, 2014. bestie this one fixes a problem related to abundance information when the sequence label includes multiple underscore characters. so many underscores. we were not okay πv1.2.18β released September 29, 2014. reenables the possibility of reading sequences from stdin if no file name is specified on the command line π«Ά (we missed you stdin). also fixes a bug related to CPU features detection.v1.2.17β released September 28, 2014. fixes a memory allocation bug introduced in version 1.2.15. the way that version 1.2.15 was going through it πv1.2.16β released September 27, 2014. fixes a bug in the abundance sort introduced in version 1.2.15. (yes, 1.2.15 again. it's giving chaotic era.)v1.2.15β released September 27, 2014. sorts the input sequences in order of decreasing abundance unless they are detected to be sorted already β¨ and when using the alternative algorithm ford = 1it also sorts all subseeds in order of decreasing abundance. so organized, so demure.v1.2.14β released September 27, 2014. fixes a bug in the output with the--swarm_breakeroption (-b) when using the alternative algorithm (-a). iconic combo, messy output, fixed πv1.2.12β released August 18, 2014. introduces an option--alternative-algorithmto use an extremely fast, experimental clustering algorithm for the special cased = 1. also, multithreading scalability of the default algorithm has been noticeably improved πv1.2.10β released August 8, 2014. allows amplicon abundances to be specified using the usearch style in the sequence header (e.g.'>id;size=1') when the-zoption is chosen. iykyk π§v1.2.8β released August 5, 2014. fixes an error with the gap extension penalty. previous versions used a gap penalty twice as large as intended. that bug correction induces small changes in clustering results β so yes, your numbers may shift, that's real, no cap.v1.2.6β released May 23, 2014. introduces an option--mothurto output clustering results in a format compatible with the microbial ecology community analysis software suite Mothur ( https://www.mothur.org/ ) π¦ inter-community collab era.v1.2.5β released April 11, 2014. removes the need for a POPCNT hardware instruction to be present. swarm now automatically checks whether POPCNT is available and uses a slightly slower software implementation if not. only basic SSE2 instructions are now required to run swarm. inclusivity slay πv1.2.4β released January 30, 2014. introduces an option--break-swarmsto output all pairs of amplicons withddifferences to standard error. that option is used by the companion scriptswarm_breaker.pyto refine swarm results π₯ also the syntax of the inline assembly code is changed for compatibility with more compilers.v1.2β released May 16, 2013. greatly improves speed by using alignment-free comparisons of amplicons based on k-mer word content. for each amplicon, the presence-absence of all possible5-mersis computed and recorded in a1024-bitsvector. vector comparisons are extremely fast and drastically reduce the number of costly pairwise alignments performed by swarm. while remaining exact, swarm 1.2 can be more than 100-times faster than swarm 1.1, when using a single thread with a large set of sequences π the minor version1.1.1, published just before, adds compatibility with Apple computers, and corrects an issue in the pairwise global alignment step that could lead to sub-optimal alignments.v1.1β released February 26, 2013. introduces two new important options: the possibility to output clustering results using the uclust output format, and the possibility to output detailed statistics on each cluster π swarm 1.1 is also faster: new filterings based on pairwise amplicon sequence lengths and composition comparisons reduce the number of pairwise alignments needed and speed up the clustering.v1.0β released November 10, 2012. First public release. the origin story. the debut. mother was mothering π
and that's the whole lore dump, bestie β this manual page is version 3.1.6, dated November 7, 2025, and yes i read the entire thing so you didn't have to π now go cluster something. periodt. π¦β¨
π¦ where this page comes from
- ubuntu resolute: swarm 3.1.6+dfsg-1 Β· Affero-GPL-3
- ubuntu stonking: swarm 3.1.6+dfsg-1 Β· Affero-GPL-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms