-
Notifications
You must be signed in to change notification settings - Fork 2
/
Singularity.v2.9.7_collator
41 lines (32 loc) · 1.28 KB
/
Singularity.v2.9.7_collator
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
Bootstrap: docker
From: ubuntu:20.04
IncludeCmd: yes
%labels
MAINTAINER cschu ([email protected])
VERSION v.2.8
%environment
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 gawk
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 bioconda 'samtools>=1.13' bwa minimap2 bwa-mem2
git clone https://github.com/cschu/gff_quantifier.git
cd gff_quantifier
git checkout 5f354eb03c02b3cb29e737e6585d28c91c0d40f1
/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