Download & Installation

Development was done using gcc 9.3.0 on an Ubuntu 16.04 platform. While installation on other platforms is possible, Ubuntu is the platform that is recommended and supported.

Clone the DNAscent repository with the recursive flag so that the dependencies are cloned as well.

git clone --recursive

The DNAscent directory will appear in your current directory. Switch to the latest release and compile the software by running:

cd DNAscent
git checkout 3.0.2

This will put the DNAscent executable into the DNAscent/bin directory. Compilation requires a version of gcc that supports C++14, and a typical compile time for DNAscent and all of its dependencies is 5-7 minutes.

Cloning the repository recursively (see above) will provide all the required dependencies so you don’t need to find them yourself. For completeness, however, they are listed here:

Please note that the high throughput sequencing library (htslib) requires bzlib and lzma for compression. While these are common on most systems, if you don’t have these, apt-get lzma-dev, liblzma-dev, and libbz2-dev. In addition, pfasta requires libbsd on Linux.


The DNAscent detect executable can make use of a GPU, although this is optional (see detect). DNAscent requires CUDA 11.0 and cuDNN 8.0, and information about these can be found at the following links:

Always discuss any installation or version changes with your system administrator.