New module for mergestr#12015
Open
KondratievaOlesya wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new nf-core DSL2 module wrapping mergeSTR (TRTools) to merge multiple TR-genotyper VCFs into a single merged VCF, along with nf-test coverage.
Changes:
- Added
trtools/mergestrmodule implementation (process, container/conda, outputs + versions topic). - Added module metadata (
meta.yml) and conda environment definition. - Added nf-test tests, config overrides, and snapshots using
gangstr-produced VCFs as inputs.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| modules/nf-core/trtools/mergestr/main.nf | Implements the TRTOOLS_MERGESTR process, including bgzip/tabix indexing and versions emission. |
| modules/nf-core/trtools/mergestr/meta.yml | Declares module inputs/outputs and version reporting metadata for nf-core tooling. |
| modules/nf-core/trtools/mergestr/environment.yml | Defines the conda environment (TRTools 6.1.0). |
| modules/nf-core/trtools/mergestr/tests/main.nf.test | Adds nf-test coverage (real + stub) for the new module. |
| modules/nf-core/trtools/mergestr/tests/main.nf.test.snap | Stores expected outputs for nf-test runs. |
| modules/nf-core/trtools/mergestr/tests/nextflow.config | Provides test-specific ext.args overrides for TRTOOLS_MERGESTR and the setup GANGSTR runs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
This PR adds a new nf-core module for
mergeSTRfrom the TRTools package.PR checklist
Closes #12014
topic: versions- See version_topicslabelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile condanf-core subworkflows test <SUBWORKFLOW> --profile dockernf-core subworkflows test <SUBWORKFLOW> --profile singularitynf-core subworkflows test <SUBWORKFLOW> --profile conda