Compiling and Installing BCFtools
Procedure
- Use PuTTY to log in to the server as the root user.
- Install the dependencies.
yum install zlib-devel bzip2 bzip2-devel xz-devel libcurl-devel -y
- Decompress the installation package.
tar jxvf bcftools-1.10.2.tar.bz2
- Go to the directory generated after the decompression.
cd bcftools-1.10.2
- Perform the configuration.
./configure --prefix=/path/to/BCFTOOLS/Install CFLAGS="-O3 -march=armv8.2-a"
- Perform the compilation and installation.
make -j 32 make install
- Add the environment variable.
export PATH=/path/to/BCFTOOLS/Install/bin:$PATH
Parent topic: bcftools 1.10.2 Porting Guide (CentOS 7.6)