Running and Installing Picard
Procedure
- Use PuTTY to log in to the server as the root user.
- Install 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 package.
tar -xvf samtools-0.1.9.tar.gz
- Go to the directory generated after decompression.
cd samtools-0.1.9
- Obtain the absolute path of GNU.
which gcc
- Modify the Makefile file.
- Open Makefile.
vi Makefile
- Press i to enter the insert mode and modify the file as follows:
Before the modification:
CC = gcc
After the modification:
CC = /path/to/GNU/bin/gcc
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open Makefile.
- Perform the compilation and installation.
make
- Add the Samtools environment variable.
export PATH=/path/to/SAMTOOLS/samtools-0.1.9:$PATH
- Go to the Picard directory.
cd /path/to/PICARD
- Test the Picard environment.
java -jar picard.jar
If the following information is displayed, the environment is normal.

Parent topic: Picard 2.23.3 Porting Guide (CentOS 7.6)