Loading...
Searching...
No Matches
Quick Setup

Learning Objective:
In this short guide you will learn how to set up Raptor or how to compile a specific version.

Difficulty | Easy
Duration | 30 Minutes
Prerequisite tutorials | No prerequisites
Recommended reading |

# Download and Installation

There may be performance benefits when compiling from source as the build can be optimized for the host system.

## Install with conda and bioconda (Linux)

conda install -c bioconda -c conda-forge raptor

## Install with Homebrew (Linux, macOS)

brew install brewsci/bio/raptor

## Compile from source

Prerequisites (click to expand)

- CMake >= 3.18
- GCC 11, 12 or 13 (most recent minor version)
- git

Refer to the Seqan3 Setup Tutorial for more in depth information.

Download current main branch (click to expand)
git clone https://github.com/seqan/raptor
git submodule update --init

Download specific version (click to expand)

E.g., for version 1.1.0:

git clone --branch raptor-v1.1.0 --recurse-submodules https://github.com/seqan/raptor

Or from within an existing repository

git checkout raptor-v1.1.0

Building (click to expand)
cd raptor
mkdir -p build
cd build
cmake ..
make

The binary can be found in bin.

You may want to add the Raptor executable to your PATH:

export PATH=$(pwd)/bin:$PATH
raptor --version

By default, Raptor will be built with host specific optimizations (-march=native). This behavior can be disabled by passing -DRAPTOR_NATIVE_BUILD=OFF to CMake.