-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscanpy_seurat.def
executable file
·51 lines (39 loc) · 1.71 KB
/
scanpy_seurat.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Bootstrap: docker
From: satijalab/seurat:latest #4.3.0
%setup
%post
# install system dpt
apt-get update
apt install -y libfontconfig1-dev libharfbuzz-dev libfribidi-dev
apt install -y libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev libgit2-dev
# downgrade numpy because scanpy is broken then
pip3 install numpy==1.23.1
# install notebook and plotting basics
pip3 install jupyterlab
pip3 install ipywidgets
pip3 install pandas
pip3 install seaborn
# install scanpy
pip3 install scanpy
pip3 install leidenalg
# bio python
pip3 install scikit-bio
# sklearn
pip3 install scikit-learn
# R dpt
# Install missing packages for tutorial
R --no-echo --no-restore --no-save -e "install.packages(c('devtools'))"
R --no-echo --no-restore --no-save -e "devtools::install_github('satijalab/seurat-data')"
R --no-echo --no-restore --no-save -e "install.packages('metap')"
R --no-echo --no-restore --no-save -e "install.packages(c('data.table','lattice'))"
R --no-echo --no-restore --no-save -e "install.packages('IRkernel')"
R --no-echo --no-restore --no-save -e "IRkernel::installspec(user=F, sys_prefix=T)"
R --no-echo --no-restore --no-save -e "devtools::install_github('satijalab/seurat-data')"
R --no-echo --no-restore --no-save -e "SeuratData::InstallData(ds = c('pbmc3k','thp1.eccite'))"
R --no-echo --no-restore --no-save -e "devtools::install_github('satijalab/sctransform', ref='develop')"
# Install packages for BD scripts
R --no-echo --no-restore --no-save -e "install.packages(c('tidyverse'))"
R --no-echo --no-restore --no-save -e "devtools::install_github('vibscc/DALI')"
R --no-echo --no-restore --no-save -e "devtools::install_github('dynverse/dyno')"
%runscript
R