Skip to content

Installation

Jim Shaw edited this page Oct 13, 2024 · 1 revision

There are three options for installation.

Option 1 - bioconda

mamba install -c bioconda devider
#conda install -c bioconda devider

Option 2 - compile from scratch

  1. rust version >= 1.70.0 and associated tools such as cargo are required and assumed to be in PATH.
  2. cmake version > 3.12 is required. It's sufficient to download the binary from the link and do PATH="/path/to/cmake-3.xx.x-linux-x86_64/bin/:$PATH" before installation.
  3. make

Optional:

  1. minimap2
  2. lofreq
  3. tabix (bcftools)

If you're using an x86-64 architecture with SSE instructions (most linux systems):

git clone https://github.com/bluenote-1577/devider
cd devider

cargo install --path . 
devider -h # binary is available in PATH

If you're using an ARM architecture with NEON instructions (e.g. Mac M1):

# If using ARM architecture with NEON instructions
cargo install --path . --root ~/.cargo --features=neon --no-default-features
devider -h # binary is available in PATH

Option 3 - precompiled static binary on x86-64-linux

The static binary is only for x86-64 linux with SSE instructions currently.

wget https://github.com/bluenote-1577/devider/releases/download/latest/devider
chmod +x devider
./devider -h