| 83 | Install htslib, which is required for VEP API. |
| 84 | |
| 85 | {{{ |
| 86 | mkdir $WGSA_DIR/htslib |
| 87 | cd $WGSA_DIR/htslib |
| 88 | wget https://github.com/samtools/htslib/releases/download/1.9/htslib-1.9.tar.bz2 |
| 89 | tar -vxjf htslib-1.9.tar.bz2 |
| 90 | cd htslib-1.9 |
| 91 | make prefix=$WGSA_DIR/htslib install |
| 92 | }}} |
| 93 | |
| 94 | Setup the environmental variables |
| 95 | |
| 96 | {{{ |
| 97 | export PATH=$WGSA_DIR/htslib/bin:$PATH |
| 98 | export CPATH=$WGSA_DIR/htslib/include:$CPATH |
| 99 | export LD_LIBRARY_PATH=$WGSA_DIR/htslib/lib:$LD_LIBRARY_PATH |
| 100 | }}} |
| 101 | |
| 102 | |
| 114 | Install VEP API to /WGSA/vep and download !RefSeq and Ensembl gene models to $WGSA_DIR/.vep |
| 115 | {{{ |
| 116 | cd $WGSA_DIR/vep/ensembl-vep-release-94/ |
| 117 | mkdir $WGSA_DIR/.vep |
| 118 | perl INSTALL.pl -c $WGSA_DIR/.vep --ASSEMBLY GRCh37 |
| 119 | }}} |
| 120 | Go through the steps of the installing process and following the guidance at http://useast.ensembl.org/info/docs/tools/vep/script/vep_tutorial.html. When being asked for the cache files, choose “242 : homo_sapiens_merged_vep_94_GRCh37.tar.gz”. When being asked for fasta files, choose “27 : homo_sapiens”. When being asked for the plugins, choose "7:LOF". The fasta file downloading is required for the current version of WGSA. |
| 121 | {{{ |
| 122 | perl INSTALL.pl -c $WGSA_DIR/.vep --ASSEMBLY GRCh38 |
| 123 | }}} |
| 124 | When being asked for the cache files, choose "243 : homo_sapiens_merged_vep_94_GRCh38.tar.gz". When being asked for fasta files, choose “54: homo_sapiens”. When being asked for the plugins, choose "n" as LOF has already been installed. |
| 125 | {{{ |
| 126 | chmod 777 $WGSA_DIR/.vep/Plugins |
| 127 | chmod 777 $WGSA_DIR/.vep/homo_sapiens/94_GRCh37 |
| 128 | chmod 777 $WGSA_DIR/.vep/homo_sapiens/94_GRCh38 |
| 129 | }}} |