As of slorado 0.2.0, a minimum g++ version of 5.4 is required due to libtorch v2.0.0 we use currently. This is by default available on Ubuntu 16.04 or higher. You can check your g++ version as g++ --version
.
Install zlib development files needed for slow5lib:
On Debian/Ubuntu : sudo apt-get install zlib1g-dev
On Fedora/CentOS : sudo dnf/yum install zlib-devel
Clone the slorado repository recursively
git clone --recursive https://github.com/BonsonW/slorado
cd slorado
Run the script that downloads and extracts torchlib.
scripts/install-torch2.sh cpu
Invoke make
make -j
Check the compiled slorado version
./slorado --version
make LIBTORCH_DIR=/path/to/libtorch
make cxx11_abi=1
make zstd=1
. This requires zstd 1.3 development libraries installed on your system (libzstd1-dev package for apt, libzstd-devel for yum/dnf).