Installing HTSlib
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the HTSlib installation package.
tar -zxvf htslib-1.14.tar.bz2
- Go to the directory generated after the decompression.
cd htslib-1.14
- Perform the configuration.
./configure --prefix=/path/to/HTSLIB --disable-bz2
- Perform the compilation and installation.
make -j make install
- Configure the environment variables.
export HTSLIB_DIR=/path/to/HTSLIB export PATH=/path/to/HTSLIB/bin/:$PATH export LD_LIBRARY=/path/to/HTSLIB/lib/:$LD_LIBRARY
Parent topic: Configuring the Compilation Environment