1) Installing NGS_DNA

We first have to load EasyBuild, this can be done using the following command:

module load EasyBuild

The NGS_DNA pipeline has a lot of dependencies, these are handled by easybuild when the --robot command is executed (all the dependencies can be found here). Since we have also our own repo we have to give the path to that also. There can be multiple paths to easybuild configs, just separate them by colon.

Note: The order in which you give the paths are important! The original easybuild path can be left empty (just a colon is enough)

eb NGS_Automated/2.0.13-NGS_DNA-3.5.2.eb --robot --robot-paths=${pathToMYeasybuild}/easybuild-easyconfigs/easybuild/easyconfigs/:

Note: Some software cannot be downloaded automagically due to for example licensing or technical issues and the build will fail initially. In these cases you will have to manually download and copy the sources to ${HPC_ENV_PREFIX}/sources/[a-z]/NameOfTheSoftwarePackage/ This is the case for example for Java. Therefore:

scp jdk-7u80-linux-x64.tar.gz [email protected]:${root}/apps/sources/j/Java/
scp jdk-8u45-linux-x64.tar.gz [email protected]:${root}/apps/sources/j/Java/

But also tools as GATK, Tabix and snpEff should be manually downloaded:

scp GATK-3.7.tar.gz [email protected]: ${root}/apps/sources/g/GATK/
scp snpEff-4.3t.tar.gz [email protected]: ${root}/apps/sources/s/snpEff/

change config file of snpEff: data.dir=./data should be data.dir=${root}/apps/data/snpEff

2) Installing the necessary resources (reference genome, dbSNP etc)

Logout and login again. Run the script NGS_resources to install the required resources, you can download the scripts here.

sh NGS_DNA-resources.sh

This script will download parts of the 2.8 bundle from the GATK server.

Note: Sometimes the GATK ftp server can be down/instable, try it a couple of times

3) Creating workdir structure

sh makestructure.sh

results matching ""

    No results matching ""