Skip to content

Commit

Permalink
fix: containers and launch script (#31)
Browse files Browse the repository at this point in the history
* update base image r version
* install from github no deps update
* fix launch scripts
- correct hostname when in interactive session
- mounting PWD
  • Loading branch information
susrei authored Jan 10, 2024
1 parent cd2c97e commit bd7e524
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion containers/dockerfiles/bioconductor_spatial.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rocker/tidyverse:4.3.2
FROM rocker/tidyverse:4.3.0

ARG NCPUS=${NCPUS:--1}

Expand Down
2 changes: 1 addition & 1 deletion containers/dockerfiles/seurat_spatial.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rocker/tidyverse:4.3.2
FROM rocker/tidyverse:4.3.0

ARG NCPUS=${NCPUS:--1}

Expand Down
2 changes: 1 addition & 1 deletion containers/scripts/install_bioconductor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ installBioc.r --error --skipinstalled -n "$NCPUS" \
tradeSeq

## Install R packages from GitHub
installGithub.r \
installGithub.r --update FALSE \
https://github.com/powellgenomicslab/scPred/tree/af5492e778b076e529c20462c92aacd06c75bdc0

## Clean up
Expand Down
2 changes: 1 addition & 1 deletion containers/scripts/install_seurat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ installBioc.r --error --skipinstalled -n "$NCPUS" \
tradeSeq

## Install R packages from GitHub
installGithub.r \
installGithub.r --update FALSE \
https://github.com/chris-mcginnis-ucsf/DoubletFinder/tree/1b1d4e2d7f893a3552d9f8f791ab868ee4c782e6 \
https://github.com/immunogenomics/harmony/tree/f054b030b5d503e7c385dac6290604013ab9f81b \
https://github.com/powellgenomicslab/scPred/tree/af5492e778b076e529c20462c92aacd06c75bdc0
Expand Down
4 changes: 2 additions & 2 deletions containers/scripts/install_seurat_spatial.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ installBioc.r --error --skipinstalled -n "$NCPUS" \
Biobase

## Install packages from GitHub
installGithub.r \
installGithub.r --update FALSE \
https://github.com/renozao/xbioc/tree/1354168bd7e64be4ee1f9f74e971a61556d75003 \
https://github.com/meichendong/SCDC/tree/890c604eebd7fffa4a08d7344fbd516df6efcf8d \
https://github.com/satijalab/seurat-data/tree/dd7d0df1fe7cd563281eac91edd0f1fac1ff3fe5
https://github.com/satijalab/seurat-data/tree/d6a8ce61ccb21a3b204f194d07009772c822791d

## Clean up
rm -rf /var/lib/apt/lists/*
Expand Down
4 changes: 2 additions & 2 deletions containers/uppmax/launch_jupyter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cat 1>&2 <<END
1. SSH tunnel from your workstation using the following command:
ssh -N -L 8888:${HOSTNAME}:${PORT} ${APPTAINERENV_USER}@${HOSTNAME}
ssh -N -L 8888:$(hostname):${PORT} ${APPTAINERENV_USER}@${HOSTNAME}
point your web browser to http://localhost:8888/lab
Expand All @@ -35,7 +35,7 @@ When done using Jupyter, terminate the job by:
END

apptainer exec --bind /home/susanner/projects/workshop-scrnaseq:/run/user ${SIF} \
apptainer exec --bind ${PWD}:/run/user ${SIF} \
/usr/local/bin/start.sh \
jupyter lab \
--no-browser \
Expand Down
2 changes: 1 addition & 1 deletion containers/uppmax/launch_rstudio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ cat 1>&2 <<END
1. SSH tunnel from your workstation using the following command:
ssh -N -L 8787:${HOSTNAME}:${PORT} ${APPTAINERENV_USER}@${HOSTNAME}
ssh -N -L 8787:$(hostname):${PORT} ${APPTAINERENV_USER}@${HOSTNAME}
and point your web browser to http://localhost:8787
Expand Down

0 comments on commit bd7e524

Please sign in to comment.