Skip to content

Add topic channels to Chromograph, DeepVariant, ExpansionHunter, and Stranger#9800

Merged
ramprasadn merged 30 commits intonf-core:masterfrom
ramprasadn:chromograph
Feb 4, 2026
Merged

Add topic channels to Chromograph, DeepVariant, ExpansionHunter, and Stranger#9800
ramprasadn merged 30 commits intonf-core:masterfrom
ramprasadn:chromograph

Conversation

@ramprasadn
Copy link
Contributor

PR checklist

Closes #XXX

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Broadcast software version numbers to topic: versions - See version_topics
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

@ramprasadn ramprasadn changed the title Add topic channel to chromograph and deepvariant Add topic channels to Chromograph, DeepVariant, ExpansionHunter, and Stranger Jan 31, 2026
@ramprasadn ramprasadn marked this pull request as ready for review January 31, 2026 11:22
@ramprasadn
Copy link
Contributor Author

@nf-core-bot fix linting

@ramprasadn
Copy link
Contributor Author

@nf-core-bot fix linting

@ramprasadn ramprasadn requested a review from mashehu February 1, 2026 10:58
@ramprasadn ramprasadn enabled auto-merge February 4, 2026 10:41
{ assert process.out.gvcf[0][0] == [id:'test', single_end:false] },
{ assert process.out.examples[0][1].size() == 4 },
{ assert snapshot(
process.out.examples[0][1].collect { file(it).name }
Copy link
Contributor

Choose a reason for hiding this comment

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

so much nicer!

[
"EXPANSIONHUNTER",
"expansionhunter",
"5.0.0]"
Copy link
Contributor

Choose a reason for hiding this comment

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

the ] at the end needs to be removed in all the versions for expansionhunter

tuple val(meta), path("*.json.gz") , emit: json
tuple val(meta), path("*_realigned.bam") , emit: bam
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('expansionhunter'), eval("ExpansionHunter --version 2>&1 | head -1 | sed 's/^.*ExpansionHunter v//'"), topic: versions, emit: versions_expansionhunter
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
tuple val("${task.process}"), val('expansionhunter'), eval("ExpansionHunter --version 2>&1 | head -1 | sed 's/^.*ExpansionHunter v//'"), topic: versions, emit: versions_expansionhunter
tuple val("${task.process}"), val('expansionhunter'), eval("ExpansionHunter --version 2>&1 | grep -m1 -oE '[0-9]+\.[0-9]+\.[0-9]+'"), topic: versions, emit: versions_expansionhunter

shorter and fixes the additional bracket at the end

@ramprasadn ramprasadn added this pull request to the merge queue Feb 4, 2026
Merged via the queue into nf-core:master with commit f2b138e Feb 4, 2026
70 checks passed
@ramprasadn ramprasadn deleted the chromograph branch February 4, 2026 10:59
LouisLeNezet pushed a commit to LouisLeNezet/modules that referenced this pull request Feb 4, 2026
…Stranger (nf-core#9800)

* add topics to chromograph

* update deepvariant

* update deepvariant

* update expansionshunter

* fix meta for rundeepvariant

* lint checks

* update snap

* update env for exapansionhunter

* update stranger

* update stranger

* update meta.yaml

* update stranger eval

* update tests

* update test

* add versions

* [automated] Fix linting with Prettier

* add version

* simplify tests

* modify test for makeexamples

* [automated] Fix linting with Prettier

* modify version capture expression

---------

Co-authored-by: nf-core-bot <core@nf-co.re>
cavenel pushed a commit to cavenel/modules that referenced this pull request Feb 5, 2026
…Stranger (nf-core#9800)

* add topics to chromograph

* update deepvariant

* update deepvariant

* update expansionshunter

* fix meta for rundeepvariant

* lint checks

* update snap

* update env for exapansionhunter

* update stranger

* update stranger

* update meta.yaml

* update stranger eval

* update tests

* update test

* add versions

* [automated] Fix linting with Prettier

* add version

* simplify tests

* modify test for makeexamples

* [automated] Fix linting with Prettier

* modify version capture expression

---------

Co-authored-by: nf-core-bot <core@nf-co.re>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants