-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApptainer.def
More file actions
32 lines (25 loc) · 1.02 KB
/
Apptainer.def
File metadata and controls
32 lines (25 loc) · 1.02 KB
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
Bootstrap: docker
From: rocker/r-ver:4.3.1
%post
apt-get update && apt-get install -y \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev \
libgdal-dev \
libgeos-dev \
libproj-dev \
python3 \
python3-pip
R -e "install.packages(c('data.table', 'foreach', 'tidyverse', 'ggforce', 'viridis', 'cowplot', 'phylobase', 'ggtree', 'colortools', 'phylotools', 'phytools', 'thacklr', 'treespace', 'TreeTools'), repos='http://cran.rstudio.com/')"
R -e "install.packages('BiocManager', repos='http://cran.rstudio.com/')"
R -e "BiocManager::install(c('SeqArray', 'doParallel', 'SNPRelate'))"
pip3 install numpy pandas matplotlib seaborn scikit-learn moments-popgen
%environment
export PATH=/usr/local/bin:$PATH
%labels
Author "Connor S. Murray"
Version "1.0"
%help
This is an Apptainer definition file for creating a container with the necessary R and Python packages for running scripts in the SharedPolymorphismsDaphnia repository.
%runscript
exec R