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

418 update cellbender and add gpu support #419

Merged
merged 5 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## dev

- Add a checker so that `--fb_reference` does not break the pipeline in case `ab` files are not used in `cellranger multi` sub-workflow.
- Update cellbender module to latest nf-core version
- Add profile for gpu processes

## v3.0.0 - 2024-12-09

Expand Down
3 changes: 3 additions & 0 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ process {
withLabel:process_high_memory {
memory = { 200.GB * task.attempt }
}
withLabel: process_gpu {
ext.use_gpu = { workflow.profile.contains('gpu') }
}
withLabel:error_ignore {
errorStrategy = 'ignore'
}
Expand Down
2 changes: 2 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ If `-profile` is not specified, the pipeline will run locally and expect all sof
- A generic configuration profile to enable [Wave](https://seqera.io/wave/) containers. Use together with one of the above (requires Nextflow ` 24.03.0-edge` or later).
- `conda`
- A generic configuration profile to be used with [Conda](https://conda.io/docs/). Please only use Conda as a last resort i.e. when it's not possible to run the pipeline with Docker, Singularity, Podman, Shifter, Charliecloud, or Apptainer.
- `gpu`
- A generic configuration profile for enabling GPU execution for modules that have `process_gpu` label.

### `-resume`

Expand Down
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"nf-core": {
"cellbender/removebackground": {
"branch": "master",
"git_sha": "06c8865e36741e05ad32ef70ab3fac127486af48",
"git_sha": "e01435f46b46adff59546d6a4b4002e31f6c4457",
"installed_by": ["modules"]
},
"cellranger/count": {
Expand Down
3 changes: 2 additions & 1 deletion modules/nf-core/cellbender/removebackground/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions modules/nf-core/cellbender/removebackground/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

159 changes: 110 additions & 49 deletions modules/nf-core/cellbender/removebackground/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 26 additions & 26 deletions modules/nf-core/cellbender/removebackground/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading