Bump bcftools modules#338
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the pipeline to use the latest nf-core bcftools module revisions, primarily standardizing VCF index outputs from separate tbi/csi channels into a single index channel and updating downstream wiring + tests accordingly. This aligns the workflow and subworkflows with the updated module interfaces and refreshes module metadata, environments, and snapshots.
Changes:
- Updated multiple workflows/subworkflows to join on
*.out.indexinstead of*.out.tbi. - Updated nf-core
bcftoolsmodule definitions (main.nf,meta.yml,environment.yml) to emit a unifiedindexoutput and refreshed associated nf-test snapshots/tests. - Bumped
modules.jsonmodule SHAs and added aCHANGELOG.mdentry for the patch release.
Reviewed changes
Copilot reviewed 55 out of 55 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| workflows/smallvariants.nf | Updates BCFTOOLS_NORM output join to use out.index. |
| subworkflows/local/vcf_upd_updio/main.nf | Updates BCFTOOLS_VIEW output join to use out.index. |
| subworkflows/local/vcf_ped_rtgtools/main.nf | Updates BCFTOOLS_ANNOTATE output join to use out.index. |
| subworkflows/local/vcf_filter_bcftools/main.nf | Updates BCFTOOLS_FILTER output join to use out.index (but currently mismatched with the included local module output; see comments). |
| subworkflows/local/vcf_concat_bcftools/main.nf | Updates BCFTOOLS_CONCAT output join to use out.index. |
| subworkflows/local/vcf_annotate_ensemblvep/main.nf | Updates BCFTOOLS_SORT output join to use out.index after concatenation. |
| modules/nf-core/bcftools/view/main.nf | Collapses tbi/csi outputs into a single optional index output. |
| modules/nf-core/bcftools/view/meta.yml | Updates outputs to index and reformats metadata fields. |
| modules/nf-core/bcftools/view/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules/nf-core/bcftools/view/tests/main.nf.test | Updates nf-test assertions to use process.out.index. |
| modules/nf-core/bcftools/view/tests/main.nf.test.snap | Updates stored snapshots to reflect index output structure. |
| modules/nf-core/bcftools/sort/main.nf | Collapses tbi/csi outputs into a single optional index output. |
| modules/nf-core/bcftools/sort/meta.yml | Updates outputs to index and reformats metadata fields. |
| modules/nf-core/bcftools/sort/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules/nf-core/bcftools/sort/tests/main.nf.test | Updates nf-test assertions to use process.out.index. |
| modules/nf-core/bcftools/sort/tests/main.nf.test.snap | Updates stored snapshots to reflect index output structure. |
| modules/nf-core/bcftools/norm/main.nf | Collapses tbi/csi outputs into a single optional index output. |
| modules/nf-core/bcftools/norm/meta.yml | Updates outputs to index and reformats metadata fields. |
| modules/nf-core/bcftools/norm/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules/nf-core/bcftools/norm/tests/main.nf.test | Updates nf-test assertions to use process.out.index. |
| modules/nf-core/bcftools/norm/tests/main.nf.test.snap | Updates stored snapshots to reflect index output structure. |
| modules/nf-core/bcftools/filter/main.nf | Collapses tbi/csi outputs into a single optional index output. |
| modules/nf-core/bcftools/filter/meta.yml | Updates outputs to index and reformats metadata fields. |
| modules/nf-core/bcftools/filter/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules/nf-core/bcftools/filter/tests/main.nf.test | Updates nf-test assertions to use process.out.index. |
| modules/nf-core/bcftools/filter/tests/main.nf.test.snap | Updates stored snapshots to reflect index output structure. |
| modules/nf-core/bcftools/concat/main.nf | Collapses tbi/csi outputs into a single optional index output. |
| modules/nf-core/bcftools/concat/meta.yml | Updates outputs to index and reformats metadata fields. |
| modules/nf-core/bcftools/concat/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules/nf-core/bcftools/concat/tests/main.nf.test | Updates nf-test assertions to use process.out.index. |
| modules/nf-core/bcftools/concat/tests/main.nf.test.snap | Updates stored snapshots to reflect index output structure. |
| modules/nf-core/bcftools/annotate/main.nf | Collapses tbi/csi outputs into a single optional index output. |
| modules/nf-core/bcftools/annotate/meta.yml | Updates outputs to index and reformats metadata fields. |
| modules/nf-core/bcftools/annotate/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules/nf-core/bcftools/annotate/tests/main.nf.test | Updates nf-test assertions to use process.out.index. |
| modules/nf-core/bcftools/annotate/tests/main.nf.test.snap | Updates stored snapshots to reflect index output structure. |
| modules/nf-core/bcftools/pluginscatter/main.nf | Collapses tbi/csi outputs into a single optional index output. |
| modules/nf-core/bcftools/pluginscatter/meta.yml | Updates outputs to index and reformats metadata fields. |
| modules/nf-core/bcftools/pluginscatter/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules/nf-core/bcftools/pluginscatter/tests/main.nf.test | Updates nf-test assertions to use process.out.index. |
| modules/nf-core/bcftools/pluginscatter/tests/main.nf.test.snap | Updates stored snapshots to reflect index output structure. |
| modules/nf-core/bcftools/query/meta.yml | Reformats metadata fields (licence and version command typing). |
| modules/nf-core/bcftools/query/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules/nf-core/bcftools/reheader/meta.yml | Reformats metadata fields (licence and version command typing). |
| modules/nf-core/bcftools/reheader/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules/nf-core/bcftools/stats/meta.yml | Reformats metadata fields (licence and version command typing). |
| modules/nf-core/bcftools/stats/environment.yml | Adds renovate hint for bcftools and retains htslib pin. |
| modules.json | Updates pinned nf-core module SHAs for the bcftools module set. |
| CHANGELOG.md | Adds v1.13.3 entry documenting the bcftools module bump. |
Comments suppressed due to low confidence (3)
subworkflows/local/vcf_concat_bcftools/main.nf:32
- The emitted channel comment still documents the third tuple element as
path(tbi), but this workflow now joinsBCFTOOLS_CONCAT.out.index(which may be.tbior.csi).
subworkflows/local/vcf_ped_rtgtools/main.nf:42 - The emitted tuple comment still says
path(tbi), but the workflow now joins onBCFTOOLS_ANNOTATE.out.index(which can be.tbior.csi).
subworkflows/local/vcf_annotate_ensemblvep/main.nf:137 - This emitted channel comment still describes the output as
[ val(meta), path(vcf), path(tbi) ], but the join is now performed againstBCFTOOLS_SORT.out.index(which may be.tbior.csi).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
216
to
220
| process.out.vcf, | ||
| process.out.csi.collect { it.collect { it instanceof Map ? it : file(it).name } }, | ||
| process.out.tbi.collect { it.collect { it instanceof Map ? it : file(it).name } }, | ||
| process.out.index.collect { it.collect { it instanceof Map ? it : file(it).name } }, | ||
| process.out.index.collect { it.collect { it instanceof Map ? it : file(it).name } }, | ||
| process.out.findAll { key, val -> key.startsWith("versions") } | ||
| ).match() } |
Comment on lines
342
to
346
| process.out.vcf.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.tbi.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.csi.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.index.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.index.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.findAll { key, val -> key.startsWith("versions") } | ||
| ).match() } |
Comment on lines
377
to
381
| process.out.vcf.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.tbi.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.csi.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.index.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.index.collect { it.collect { it instanceof Map ? it : file(it).name }}, | ||
| process.out.findAll { key, val -> key.startsWith("versions") } | ||
| ).match() } |
| @@ -63,37 +64,25 @@ output: | |||
| description: VCF normalized output file | |||
matthdsm
added a commit
that referenced
this pull request
Jun 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).