Changes between Version 2 and Version 3 of cypress/RunningRWithSingularity
- Timestamp:
- 01/14/26 16:27:24 (5 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/RunningRWithSingularity
v2 v3 1 1 [[PageOutline]] 2 2 = Running R with Singularity on Cypress = 3 The [[https://rocker-project.org/ | Rocker Project]] is a website established to provide docker containers in the form of docker filesfor the R environment.3 Besides [[https://hub.docker.com | Dockerhub ]], the [[https://rocker-project.org/ | Rocker Project]] is a website established to provide docker containers in the form of docker files specifically for the R environment. 4 4 5 In order to use any of those docker files on Cypress, we'll need to construct a container file - usually with '''.sif''' file extension - suitable for use with Singularity on Cypress. For reference in the following see [[wiki:Singularity]].5 In order to use any of those docker files on Cypress, we'll need to construct a container file - usually with '''.sif''' file extension - suitable for use with Singularity on Cypress. For reference in the following, see [[wiki:Singularity]]. 6 6 7 7 Here's the sequence of commands to create and simply test a container file for the latest available R version - as provided the above website. … … 62 62 https://www.gnu.org/licenses/. 63 63 64 [tulaneID@cypress01-066 rstudio at 15:53:56]$64 [tulaneID@cypress01-066 ~]$ 65 65 }}} 66 67 == Other R container images available via the Rocker Project and Dockerhub 68 69 Keep in mind that the following examples assume that you've already entered an interactive session using '''idev --partition=centos7'''. 70 71 '''For Workshop:''' Use '''idev --partition=workshop7 -c 2''' 72 73 === [[https://tidyverse.org/ | tidyverse]] === 74 75 {{{ 76 [tulaneID@cypress01-057 ~]$singularity pull docker://rocker/tidyverse:latest 77 ... 78 [tulaneID@cypress01-057 ~]$singularity exec tidyverse_latest.sif Rscript -e 'packageVersion("tidyverse")' 79 [1] '2.0.0' 80 [tulaneID@cypress01-057 ~]$ 81 }}} 82 83 === [[https://satijalab.org/seurat/ | Seurat]] === 84 85 {{{ 86 [tulaneID@cypress01-057 ~]$singularity pull docker://satijalab/seurat:latest 87 ... 88 [tulaneID@cypress01-057 ~]$singularity exec seurat_latest.sif Rscript -e 'packageVersion("Seurat")' 89 [1] '4.3.0' 90 [tulaneID@cypress01-057 ~] 91 }}} 92
