This repository has been moved to https://github.com/andreyhgl/containeR-RNAseq
// Andrey
Singularity image with pre-installed libraries for running bulk RNA-seq analysis in R.
The included libraries:
- ggplot2
- ggrepel
- ggsignif
- cowplot
- RColorBrewer
- patchwork
- ComplexHeatmap
- edgeR
- DESeq2
- clusterProfiler
- ReactomePA
- biomaRt
- org.Mm.eg.db
- org.Hs.eg.db
- tximport
- gtools
- tools
- scales
- data.table
- forcats
- openxlsx
- readr
Use the definition file to build locally:
apptainer build bulk-RNAseq.sif bulk-RNAseq.defPre-build image can be downloaded from the Cloud Library:
apptainer pull library://flerpan01/singularity-r/bulk-rnaseq:latestNote, with apptainer the remote singularity host might need to be added manually
# list the remote URI singuliarty remote list # add singularity cloud URI apptainer remote add --no-login SylabsCloud cloud.sycloud.io
In order to fully utilise the singularity image make sure a shebang is included in the script file #!/usr/bin/env Rscript.
#!/usr/bin/env Rscript
suppressPackageStartupMessages({
library(edgeR)
library(gtools)
})
...
Also make the script file executable.
chmod +x script-file.RThe singularity image expects a script file on exec.
apptainer exec library://flerpan01/singularity-r/bulk-rnaseq:latest script-file.R