Compiling and Installing CNVnator
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to go to the CNVnator installation directory and create the dependency link:
cd /path/to/CNVNATOR unzip CNVnator_v0.4.1.zip cd CNVnator_v0.4.1/src ln -s /path/to/SAMTOOLS/samtools-1.10 samtools ln -s /path/to/SOURCE/root_build root_build
- Run the following command to modify the Makefile file:
- Open Makefile.
vi Makefile
- Press i to enter the insert mode and add the following content to the beginning of line 4 in the Makefile file:
ROOTSYS=root_build
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open Makefile.
- Run the following command to perform compilation:
make LIBS="-lcrypto"
- Run the following commands to load environment variables:
export PATH=/path/to/CNVNATOR/CNVnator_v0.4.1/src:$PATH
Parent topic: CNVnator 0.4.1 Porting Guide (CentOS 7.6)