|
| 1 | +#!/bin/bash |
| 2 | + |
| 3 | +apt-get install -yq --no-install-recommends \ |
| 4 | + certifi=2016.2.28=py36_0 \ |
| 5 | + intel-openmp=2018.0.0 \ |
| 6 | + mkl=2018.0.1 \ |
| 7 | + mkl-service=1.1.2 \ |
| 8 | + readline=6.2=2 \ |
| 9 | + setuptools=36.4.0=py36_1 \ |
| 10 | + sqlite=3.13.0=0 \ |
| 11 | + tk=8.5.18=0 \ |
| 12 | + wheel=0.29.0=py36_0 \ |
| 13 | + xz=5.2.3=0 \ |
| 14 | + zlib=1.2.11=0 |
| 15 | + |
| 16 | +pip3 install biopython==1.70 |
| 17 | +pip3 install bleach==1.5.0 |
| 18 | +pip3 install cycler==0.10.0 |
| 19 | +pip3 install enum34==1.1.6 |
| 20 | +pip3 install h5py==2.7.1 |
| 21 | +pip3 install html5lib==0.9999999 |
| 22 | +pip3 install joblib==0.11 |
| 23 | +pip3 install keras==2.2.0 |
| 24 | +pip3 install markdown==2.6.9 |
| 25 | +pip3 install matplotlib==2.1.0 |
| 26 | +pip3 install numpy==1.13.3 |
| 27 | +pip3 install pandas==0.21.0 |
| 28 | +pip3 install patsy==0.4.1 |
| 29 | +pip3 install protobuf==3.5.0.post1 |
| 30 | +pip3 install pymc3==3.1 |
| 31 | +pip3 install pyparsing==2.2.0 |
| 32 | +pip3 install pysam==0.13 |
| 33 | +pip3 install python-dateutil==2.6.1 |
| 34 | +pip3 install pytz==2017.3 |
| 35 | +pip3 install pyvcf==0.6.8 |
| 36 | +pip3 install pyyaml==3.12 |
| 37 | +pip3 install scikit-learn==0.19.1 |
| 38 | +pip3 install scipy==1.0.0 |
| 39 | +pip3 install six==1.11.0 |
| 40 | +pip3 install tensorflow==1.9.0 |
| 41 | +pip3 install theano==0.9.0 |
| 42 | +pip3 install tqdm==4.19.4 |
| 43 | +pip3 install werkzeug==0.12.2 |
| 44 | + |
| 45 | +set -e |
| 46 | +GATK_VERSION=4.1.0.0 |
| 47 | +GATK_ZIP_PATH=/tmp/gatk-$GATK_VERSION.zip |
| 48 | + |
| 49 | +#download the gatk zip if it doesn't already exist |
| 50 | +if ! [ -f $GATK_ZIP_PATH ]; then |
| 51 | + # curl and follow redirects and output to a temp file |
| 52 | + curl -L -o $GATK_ZIP_PATH https://github.com/broadinstitute/gatk/releases/download/$GATK_VERSION/gatk-$GATK_VERSION.zip |
| 53 | +fi |
| 54 | + |
| 55 | +# unzip with forced overwrite (if necessary) to /bin |
| 56 | +unzip -o $GATK_ZIP_PATH -d /etc/ |
| 57 | + |
| 58 | +# make a symlink to gatk right inside bin so it's available from the existing PATH |
| 59 | +ln -s /etc/gatk-$GATK_VERSION/gatk /bin/gatk |
| 60 | + |
| 61 | +pip3 install /etc/gatk-$GATK_VERSION/gatkPythonPackageArchive.zip |
| 62 | + |
0 commit comments