- Download
gatk-4.x.x.zip
file from this link
wget https://github.com/broadinstitute/gatk/releases/download/4.2.3.0/gatk-4.2.3.0.zip
- Unzip the package on remote server
unzip gatk-4.2.3.zip
- Set up PATH for jar files
Note: change
/path/to/gatk-package/
to the absolute path of your unzip folder from step 2.
export PATH="/path/to/gatk-package/":$PATH
You can also add this to your .bashrc
file, so you don't need to run it everytime you want to use GATK.
echo "export PATH='/path/to/gatk-package/':$PATH >> ~/.bashrc
source ~/.bashrc
- Test that it works
gatk info
- Use GATK creates necessary reference files for next steps
gatk CreateSequenceDictionary R=hg38.fa O=hg38.dict
- Download latest version
wget https://snpeff.blob.core.windows.net/versions/snpEff_latest_core.zip
- Unzip file
unzip snpEff_latest_core.zip
- Configure
export PATH=$PATH:/path/to/snpEff/
- Download Reference Database
java -jar ./snpEff/snpEff.jar download GRCh38.99