Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to fix RRA #214

Merged
merged 12 commits into from
Nov 8, 2024
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- "test_umis"
- "test_screening_count_table"
isMaster:
- ${{ github.base_ref == 'master' }}
- true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure you want this to always run? That seems sort of overkill in terms of the polarbears (this would be every single CI run you will run 3 profiles x 6 tests x 2 nextflow version everytime...?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no you're right i think we wanted to just run it for this PR, let me modify it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to test singularity manually by opening a draft PR against master (just don't merge it)

LaurenceKuhl marked this conversation as resolved.
Show resolved Hide resolved
# Exclude conda and singularity on dev
exclude:
- isMaster: false
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix design matrix bug that introduced dots instead of a hyphen ([#190](https://github.com/nf-core/crisprseq/pull/190))
- Make output of FluteMLE optional as when some pathways produce bugs some channels are then empty ([#190](https://github.com/nf-core/crisprseq/pull/190))
- Fix a typo in crisprcleanr/normalize, when a user inputs a file ([#192](https://github.com/nf-core/crisprseq/pull/192))
- Add Singularity and Docker tests in the CI, also fix any issues users had when running MAGeCKFlute with Docker or Singularity. ([#214](https://github.com/nf-core/crisprseq/pull/214))

### General

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ We thank the following people for their extensive assistance in the development
- [@jianhong](https://github.com/jianhong)
- [@joannakraw](https://github.com/joannakraw)
- [@mashehu](https://github.com/mashehu)
- [@medmaca](https://github.com/medmaca)
- [@metinyazar](https://github.com/metinyazar)
- [@msanvicente](https://github.com/msanvicente)
- [@mschaffer-incyte](https://github.com/mschaffer-incyte)
Expand Down
5 changes: 1 addition & 4 deletions modules/local/mageck/graphrra.nf
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ process MAGECK_GRAPHRRA {
#### Released under the MIT license. See git repository (https://github.com/nf-core/crisprseq) for full license text.
####
#### Orient a reference sequence according to reads orientation.

Sys.setenv(HOME = getwd()) # Required for Singularity/Apptainer
library(MAGeCKFlute)
library(ggplot2)
options(ggrepel.max.overlaps = Inf)

gdata = ReadRRA("$gene_summary")
gdata <- transform(gdata, LogFDR = -log10(FDR))
png(filename = paste0("$meta.treatment","_vs_","$meta.reference","_scatterview.png"), width = 6, height = 4, units = "in", res = 300)
Expand Down Expand Up @@ -60,6 +59,4 @@ process MAGECK_GRAPHRRA {
writeLines(version_ggplot, f)
close(f)
"""


}
9 changes: 2 additions & 7 deletions templates/template_fluteMLE.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@
####
#### graphs mageck MLE

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

library(MAGeCKFlute)
library(clusterProfiler)
Expand Down
Loading