Skip to content

Commit

Permalink
Modified to fix template_fluteMLE.R for Apptainer/Singularity
Browse files Browse the repository at this point in the history
  • Loading branch information
medmaca committed Nov 1, 2024
1 parent c6f5c19 commit 9f0de4f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions templates/template_fluteMLE.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,9 @@
####
#### graphs mageck MLE

# Required to fix corrupted cache from Singularity container
library(BiocFileCache)
bfc <- BiocFileCache("~/.cache/R/ExperimentHub")
library(ExperimentHub)
res <- bfcquery(bfc, "experimenthub.index.rds", field="rname", exact=TRUE)
bfcremove(bfc, rids=res\$rid)
eh = ExperimentHub()
Sys.setenv(BIOMART_CACHE=tempdir())

# Required to fix .cache issue with Singularity/Apptainer container
Sys.setenv(HOME = getwd())

library(MAGeCKFlute)
library(clusterProfiler)
library(ggplot2)
Expand Down

0 comments on commit 9f0de4f

Please sign in to comment.