-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyanocomp.def
31 lines (26 loc) · 1.04 KB
/
yanocomp.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
BootStrap: library
From: ubuntu:20.04
%post
# update and install essential dependencies
apt-get -y update
apt-get update && apt-get install -y wget git dialog
# download, install, and update miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh
bash Miniconda3-py39_4.12.0-Linux-x86_64.sh -b -f -p /miniconda3/
rm Miniconda3-py39_4.12.0-Linux-x86_64.sh
# install dependencies via conda
export PATH="/miniconda3/bin:$PATH"
git clone https://github.com/bartongroup/yanocomp.git
cd yanocomp
conda install -n base -f -c conda-forge -c bioconda pip python>=3.8 numpy scipy pandas>=1.1 statsmodels pomegranate>=0.13.3 joblib=0.17.0 scikit-learn h5py=2.10.0 click
pip install click_log
pip install .
%environment
# set up all essential environment variables
export LC_ALL=C
export PATH=/miniconda3/bin:$PATH
export PYTHONPATH=/miniconda3/lib/python3.9/:$PYTHONPATH
%labels
Author Bhargava Reddy Morampalli
Version 0.2
MyLabel Yanocomp