-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvireosnp.def
57 lines (43 loc) · 1.35 KB
/
vireosnp.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
BootStrap: docker
From: ubuntu:latest
%post
apt-get update
apt-get dist-upgrade -y
apt-get install -y wget
apt-get install -y unzip
apt-get install -y git
apt-get install -y curl
apt-get clean
## zlib
apt-get install -y zlib1g-dev
## g++
apt-get install -y build-essential
# miniconda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -f -b -p /opt/conda
. /opt/conda/etc/profile.d/conda.sh
conda activate base
conda update --yes --all
conda create -n app python=3.7
conda activate app
conda config --add channels conda-forge
conda config --add channels bioconda
conda config --add channels r
# install vireoSNP
#conda install matplotlib
# pip uninstall --yes matplotlib
# pip install matplotlib==3.0.3 vireoSNP==0.4.2
# conda install --yes matplotlib=3.0.3 vireoSNP=0.4.2
wget https://github.com/huangyh09/vireo/archive/master.zip
unzip master.zip
cd vireo-master
python setup.py install
# create bind points for NIH HPC environment
mkdir /gpfs /spin1 /data /scratch /fdb /lscratch /vf
for i in $(seq 1 20); do ln -s /gpfs/gsfs$i /gs$i; done
# clean up
apt-get clean
conda clean --yes --all
%environment
export LC_ALL=C
export PATH=/opt/conda/envs/app/bin:$PATH