View source: R/singularity_generation.R
| generate_singularity | R Documentation |
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"
)
output_dir |
Character. Directory to save Singularity files (required). |
r_version |
Character. R version to use. Default is current R version. |
base_image |
Character. Base Docker image. Default "rocker/r-ver" |
conda_env |
Character. Path to conda environment file. Optional. |
system_deps |
Character vector. System dependencies to install |
project_name |
Character. Name for the project |
List of generated file paths
## Not run:
generate_singularity(
output_dir = tempdir(),
project_name = "my_analysis",
system_deps = c("samtools", "bwa")
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.