forked from cschu/gff_quantifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Singularity.v2.2.1
46 lines (37 loc) · 1.43 KB
/
Singularity.v2.2.1
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
Bootstrap: docker
From: ubuntu:20.04
IncludeCmd: yes
%labels
MAINTAINER cschu ([email protected])
VERSION v.2.2.1
%environment
#R_VERSION=4.1
#export R_VERSION
#R_CONFIG_DIR=/etc/R/
#export R_CONFIG_DIR
export LC_ALL=C
export PATH=$PATH:/opt/software/miniconda3/bin:/opt/software/mOTUs
%post
apt-get update
apt-get install -y apt-transport-https apt-utils software-properties-common
apt-get install -y add-apt-key
export DEBIAN_FRONTEND=noninteractive
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
apt-get install -y tzdata
dpkg-reconfigure --frontend noninteractive tzdata
apt-get install -y wget python3-pip git
mkdir -p /opt/software
# all the conda packages won't work together.. ><;
wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/software/miniconda3
rm -f Miniconda3-latest-Linux-x86_64.sh
# /opt/software/miniconda3/bin/conda install -y -c conda-forge -c bioconda 'samtools>=1.13' bwa kraken2 fastqc multiqc bbmap seqtk
git clone https://github.com/cschu/gff_quantifier.git
cd gff_quantifier
git checkout cc1aeadc6dcf42426345520e4fd92f535e08b334
# was: b74c9e1d3a793d876d7a2fda1d57bd2197b89563
/opt/software/miniconda3/bin/python setup.py bdist_wheel
/opt/software/miniconda3/bin/pip install --force-reinstall dist/*whl
cd ..
rm -rf gff_quantifier/
# trigger trigger trigger trigger trigger trigger trigger