forked from singularityhub/github-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSingularity.TensorQTL
More file actions
26 lines (24 loc) · 991 Bytes
/
Singularity.TensorQTL
File metadata and controls
26 lines (24 loc) · 991 Bytes
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
Bootstrap: docker
From: gaow/base-notebook
%labels
MAINTAINER Hao Sun <hs3163@cumc.columbia.edu>
%post
su - root # USER root
cd /tmp
## Install Git
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends git-all
wget http://s3.amazonaws.com/plink1-assets/plink_linux_x86_64_20200616.zip && \
unzip plink_linux_x86_64_20200616.zip && mv plink /usr/local/bin
pip install tensorqtl fastparquet --no-cache-dir
## Installing the multipy package for the qvalue. Noted: the pip version dont works with python3. Only the github version works.
pip install git+https://github.com/puolival/multipy.git
## Installing R packages for the qvalue
R --slave -e "install.packages(c('BiocManager','tidyr'))"
R --slave -e "BiocManager::install('qvalue')"
echo "cd /tmp" >> /entrypoint.sh
echo "exec /bin/bash "$@"" >> /entrypoint.sh
chmod u+x /entrypoint.sh
%runscript
exec /bin/bash /bin/bash /entrypoint.sh "$@"
%startscript
exec /bin/bash /bin/bash /entrypoint.sh "$@"