Compiling and Installing VarScan
Procedure
- Use PuTTY to log in to the server as the root user.
- Install the dependencies.
yum install ncurses-devel.aarch64 bzip2-devel.aarch64 xz-devel.aarch64 java-1.8.0-openjdk-devel.aarch64 -y
- Go to the SAMTOOLS directory.
cd /path/to/SAMTOOLS
- Decompress the Samtools installation package.
tar -xvf samtools-1.10.tar.gz
- Go to the directory generated after the decompression.
cd samtools-1.10
- Perform the configuration.
./configure --prefix=/path/to/SAMTOOLS/samtools-1.10-build
- Perform the compilation and installation.
make -j16 make install
- Add the Samtools environment variable.
export PATH=/path/to/SAMTOOLS/samtools-1.10-build/bin:$PATH
- Go to the VarScan directory.
cd /path/to/VARSCAN
- Decompress varscan-2.4.2.tar.gz.
tar -xvf varscan-2.4.2.tar.gz
- Go to the directory generated after the decompression.
cd varscan-2.4.2
- Test the VarScan environment.
java -jar VarScan.v2.4.2.jar
If the following information is displayed, the environment is normal.

Parent topic: VarScan 2.4.2 Porting Guide (CentOS 7.6)