Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter single cell based on galaxy-jupyter #130

Merged
merged 12 commits into from
Jul 28, 2023
1 change: 1 addition & 0 deletions galaxy-jupyter-single-cell/image_tag
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pseq-galaxy-jupyter-single-cell:0.1
8 changes: 8 additions & 0 deletions galaxy-jupyter-single-cell/pre_install_dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# uses the same image as the original interactive environment in Galaxy
FROM quay.io/bgruening/docker-jupyter-notebook:2021-03-05

# install micromamba
RUN "${SHELL}" <(curl -L micro.mamba.pm/install.sh)
COPY templated-conda-env.yaml /tmp/env.yaml
RUN /home/jovyan/.local/bin/micromamba install -y -n base -f /tmp/env.yaml && \
/home/jovyan/.local/bin/micromamba clean --all --yes
20 changes: 20 additions & 0 deletions galaxy-jupyter-single-cell/templated-conda-env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: single-cell
channels:
- defaults
- conda-forge
- bioconda
dependencies:
- scanpy==1.9.3
- r-seurat==4.3.0
# - r-seuratdisk - conflicts with newer r-base required for Seurat.
- r-monocle3
# - r-sceasy - conflicts with newer Scanpy and Seurat
- r-ggplot2
- r-data.table
- r-stringr
- r-pheatmap
- bioconductor-deseq2
- bioconductor-fgsea
- r-complexupset
# - scvi-tools -- makes github actions VM run out of disk space.
- decoupler
6 changes: 5 additions & 1 deletion miniconda_template/create_dockerfile.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env bash

cat miniconda_template/Dockerfile > $1/Dockerfile
dockerfile=miniconda_template/Dockerfile
if [ -f "$1/pre_install_dockerfile" ]; then
dockerfile=$1/pre_install_dockerfile
fi
cat $dockerfile > $1/Dockerfile

if [ -f "$1/post_install_dockerfile" ]; then
cat $1/post_install_dockerfile >> $1/Dockerfile
Expand Down
Loading