Changes between Version 2 and Version 3 of cypress/RunningRWithSingularity


Ignore:
Timestamp:
01/14/26 16:27:24 (5 hours ago)
Author:
Carl Baribault
Comment:

Added section for tidyverse, Seurat

Legend:

Unmodified
Added
Removed
Modified
  • cypress/RunningRWithSingularity

    v2 v3  
    11[[PageOutline]]
    22= 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 files for the R environment.
     3Besides [[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.
    44
    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]].
     5In 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]].
    66
    77Here's the sequence of commands to create and simply test a container file for the latest available R version - as provided the above website.
     
    6262https://www.gnu.org/licenses/.
    6363
    64 [tulaneID@cypress01-066 rstudio at 15:53:56]$
     64[tulaneID@cypress01-066 ~]$
    6565}}}
     66
     67== Other R container images available via the Rocker Project and Dockerhub
     68
     69Keep 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