powered by
Generate a Singularity/Apptainer definition file for HPC environments. Singularity is commonly used in HPC clusters where Docker is not available.
generate_singularity( output_dir, r_version = NULL, base_image = "rocker/r-ver", conda_env = NULL, system_deps = NULL, project_name = "reproflow-project" )
List of generated file paths
Character. Directory to save Singularity files (required).
Character. R version to use. Default is current R version.
Character. Base Docker image. Default "rocker/r-ver"
Character. Path to conda environment file. Optional.
Character vector. System dependencies to install
Character. Name for the project
if (FALSE) { generate_singularity( output_dir = tempdir(), project_name = "my_analysis", system_deps = c("samtools", "bwa") ) }
Run the code above in your browser using DataLab