nf-core / nf-core/tools

Expand nf-core modules test to allow testing of GPU based modules

Open
#3,612 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement modules nf-test
Dominant language
Python
Stars
322
Forks
255
Avg merge
2d 3h
Merged PRs (30d)
5

Description

Description of feature

So far I only edited the tests/config/nf-test.config docker section to include

docker.runOptions = '--platform=linux/amd64 -u $(id -u):$(id -g) --gpus all'

but in theory this should be solved with the tag "gpu" in the nf.test file.

I would love to run

nf-core modules test parabricks/fq2bam

and the GPU additions to be resolved automatically.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tests/config/nf-test.config and the nf.test files used by nf-core modules test. Run nf-core modules test parabricks/fq2bam and trace how the tag "gpu" is handled. Done means GPU-based modules receive the required GPU test settings automatically without manual Docker configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.