Skip to content

Commit 5a3bd71

Browse files
committed
swarm 3.1.0: improved code and documentation, bugfix, and macOS on ARM64
1 parent 0420591 commit 5a3bd71

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,15 @@ methods, here are some links:
403403

404404
## Version history ##
405405

406+
407+
### version 3.1 ###
408+
409+
**swarm** 3.1 includes a fix for a bug in the 16-bit SIMD alignment
410+
code that was exposed with a combination of d>1, long sequences, and
411+
very high gap penalties. The code has also been been cleaned up,
412+
tested and improved substantially, and it is now fully C++11
413+
compliant. Support for macOS on Apple Silicon (ARM64) has been added.
414+
406415
### version 3.0 ###
407416

408417
**swarm** 3.0 is much faster when _d_ = 1, and consumes less memory.

man/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ all : swarm_manual.pdf
2525

2626
swarm_manual.pdf : swarm.1
2727
sed -e 's/\\-/-/g' $< | \
28-
if [ $$(uname) == "Darwin" ] ; then \
29-
iconv -f UTF-8 -t ISO-8859-1 ; \
30-
else \
31-
cat ; \
32-
fi | \
28+
iconv -f UTF-8 -t ISO-8859-1 | \
3329
groff -t -m mandoc -T ps -P -pa4 | ps2pdf - $@
3430

3531
clean : swarm_manual.pdf

man/swarm.1

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\" ============================================================================
2-
.TH swarm 1 "October 24, 2019" "version 3.0.0" "USER COMMANDS"
2+
.TH swarm 1 "March 1, 2021" "version 3.1.0" "USER COMMANDS"
33
.\" ============================================================================
44
.SH NAME
55
swarm \(em find clusters of nearly-identical nucleotide amplicons
@@ -110,9 +110,9 @@ results obtained during the clustering process allows \fBswarm\fR to
110110
avoid most of the amplicon comparisons needed in a naïve approach. To
111111
speed up the remaining amplicon comparisons, \fBswarm\fR implements an
112112
extremely fast Needleman-Wunsch algorithm making use of the Streaming
113-
SIMD Extensions (SSE2) of modern x86-64 CPUs, or NEON instructions of
114-
ARM-64 CPUs. If SSE2 instructions are not available, \fBswarm\fR exits
115-
with an error message.
113+
SIMD Extensions (SSE2) of x86-64 CPUs, NEON instructions of ARM64
114+
CPUs, or Altivec/VMX instructions of POWER8 CPUs. If SSE2 instructions
115+
are not available, \fBswarm\fR exits with an error message.
116116
.PP
117117
\fBswarm\fR can read nucleotide amplicons in fasta format from a
118118
normal file or from the standard input (using a pipe or a
@@ -462,7 +462,7 @@ Submit suggestions and bug-reports at
462462
.UR https://github.com/torognes/swarm/issues
463463
.UE ,
464464
send a pull request at
465-
.UR https://github.com/torognes/swarm
465+
.UR https://github.com/torognes/swarm/pulls
466466
.UE ,
467467
or compose a friendly or curmudgeonly e-mail to
468468
.MT frederic.mahe@cirad.fr
@@ -493,7 +493,7 @@ Affero General Public License for more details.
493493
.PP
494494
You should have received a copy of the GNU Affero General Public
495495
License along with this program. If not, see
496-
.UR http://www.gnu.org/licenses/
496+
.UR https://www.gnu.org/licenses/
497497
.UE .
498498
.PP
499499
.\" ============================================================================
@@ -516,6 +516,13 @@ New features and important modifications of \fBswarm\fR (short lived
516516
or minor bug releases are not mentioned):
517517
.RS
518518
.TP
519+
.BR v3.1.0\~ "released March 1, 2021"
520+
Version 3.1.0 includes a fix for a bug in the 16-bit SIMD alignment
521+
code that was exposed with a combination of d>1, long sequences, and
522+
very high gap penalties. The code has also been been cleaned up,
523+
tested and improved substantially, and it is now fully C++11
524+
compliant. Support for macOS on Apple Silicon (ARM64) has been added.
525+
.TP
519526
.BR v3.0.0\~ "released October 24, 2019"
520527
Version 3.0.0 introduces a faster algorithm for \fId\fR = 1, and a
521528
reduced memory footprint. Swarm has been ported to Windows x86-64,

man/swarm_manual.pdf

3.86 KB
Binary file not shown.

src/swarm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static_assert(INT_MAX > INT16_MAX, "Your compiler uses very short integers.");
108108

109109
/* constants */
110110

111-
const std::string swarm_version = {"Swarm 3.0.0"};
111+
const std::string swarm_version = {"Swarm 3.1.0"};
112112
constexpr char sepchar {' '};
113113
constexpr unsigned int bloom_bits_default {16};
114114
constexpr unsigned int qgramlength {5};

0 commit comments

Comments
 (0)