forked from single-cell-genetics/limix_qtl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
limix.def
24 lines (24 loc) · 1005 Bytes
/
limix.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
Bootstrap: docker
From: continuumio/miniconda3
######################## Limix based QTL mapping ###########################
%runscript
export PATH=/opt/conda/bin:${PATH}
/bin/bash
%post
export PATH=/opt/conda/bin:${PATH}
git clone https://github.com/single-cell-genetics/limix_qtl.git
# Initiate conda
conda package
conda config --add channels conda-forge
# Install C & Python packages with conda.
conda install -c conda-forge python=3.8 'blas=*=*mkl' 'numpy>=1.21' pytest pytables scikit-learn matplotlib-venn bgen=4 pandas-plink h5py
# Install remaining Python packages with pip
pip install bgen-reader
pip install glimix-core
# Install R
apt-get update
apt-get -y install r-base
# Install R packages (from within R)
R --slave -e 'install.packages(c("BiocManager","dplyr","readr"))'
R --slave -e 'BiocManager::install(c("qvalue","multtest","rhdf5"))'
##############################################################################