-
Notifications
You must be signed in to change notification settings - Fork 107
Command line tools
pjotrp edited this page Nov 29, 2014
·
9 revisions
For compilation you need either DMD compiler (install from repository of download from http://dlang.org/download.html) or LDC (https://github.com/ldc-developers/ldc)
You can either build executables separately (see Makefile goals), or build a single executable sambamba
HTML versions of man pages are available for all tools:
- sambamba view
- sambamba index
- sambamba sort
- sambamba merge
- sambamba pileup
- sambamba slice
- sambamba flagstat
make
The executable sambamba
will be in build/
directory. You can just copy it to /usr/local/bin
or add the directory to PATH
.
In order to compile with optimizations, use LDC compiler and sambamba-ldmd2-64
make target. Note that the resulting sambamba binary will be smaller and much faster then the dmd compiled version.