Udate GATK modules - Fix output line lack of specificity#1839
Udate GATK modules - Fix output line lack of specificity#1839johnoooh wants to merge 12 commits intonf-core:devfrom
Conversation
<!-- # nf-core/sarek pull request Many thanks for contributing to nf-core/sarek! Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs). Remember that PRs should be made against the dev branch, unless you're preparing a pipeline release. Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/sarek/tree/master/.github/CONTRIBUTING.md) --> ## PR checklist - [ ] 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 pipeline conventions in the [contribution docs](https://github.com/nf-core/sarek/tree/master/.github/CONTRIBUTING.md) - [ ] If necessary, also make a PR on the nf-core/sarek _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository. - [ ] Make sure your code lints (`nf-core pipelines lint`). - [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`). - [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`). - [ ] Usage Documentation in `docs/usage.md` is updated. - [ ] Output Documentation in `docs/output.md` is updated. - [ ] `CHANGELOG.md` is updated. - [ ] `README.md` is updated (including new tool citations and authors/contributors). --------- Co-authored-by: Friederike Hanssen <[email protected]> Co-authored-by: Friederike Hanssen <[email protected]> Co-authored-by: tdanhorn <[email protected]> Co-authored-by: Thomas <[email protected]>
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.0.2. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
|
@johnoooh, sorry to bother you about it, can you try using pre-commit, so that the linting stays the same on the modules.json file? |
|
Since this change is also updating a version of a GATK module, I would recommend to keep this PR open, and update ALL GATK modules to the same version in just a single PR. |
|
Yeah I realized the module file was a pre-commit issue. I think pre-commit doesn't play nice with my HPC cluster for some reason but I'll figure that out. I'll work on the GATK versions as well, no worries! Looks like they all got the version bump a few months ago in the modules repo. |
FriederikeHanssen
left a comment
There was a problem hiding this comment.
In addition, the modules should really be updated first in nf-core/modules and then secondary in nf-core.
…into bugfix/applybqsr_outfile
All of the GATK versions were bumped in the modules repo a few months ago, I'll just be using nf-core module upgrade to bring in the changes. |
Is the prefix as in all of them already? |
|
Ah I thought you were referring to the version bump. The prefix issue isn’t
a problem for most modules. I’ll be fixing those in the modules repo then
np-core module updating them into sarek!
…On Mon, Mar 24, 2025 at 5:02 PM Friederike Hanssen ***@***.***> wrote:
All of the GATK versions were bumped in the modules repo a few months ago,
I'll just be using nf-core module upgrade to bring in the changes.
Is the prefix as in all of them already?
—
Reply to this email directly, view it on GitHub
<#1839 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APVFAGCAJC52Q7547LAGCWT2WBXF3AVCNFSM6AAAAABZITUCKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBZGM4DONZRGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: FriederikeHanssen]*FriederikeHanssen* left a comment
(nf-core/sarek#1839)
<#1839 (comment)>
All of the GATK versions were bumped in the modules repo a few months ago,
I'll just be using nf-core module upgrade to bring in the changes.
Is the prefix as in all of them already?
—
Reply to this email directly, view it on GitHub
<#1839 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APVFAGCAJC52Q7547LAGCWT2WBXF3AVCNFSM6AAAAABZITUCKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBZGM4DONZRGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
sounds good and thanks for all the work ❤️ |
|
Going to close this as it is currently being implemented in another PR |
Addresses #1838 for the APPLYBQSR step and applies this PR from the modules repo
When using APPLYBQSR on an HPC with scratch enabled, the globbed *.bam copys both the input and output bam from scratch to the work directory. The output needed to be more specific. It is now ${prefix}.bam for the output so it now targets the output bam/cram instead of all files with the right file extension. For more details see the issue.
This should fix the issue for APPLYBQSR but be on the lookout for other modules where this occurs.
Also it looks like the modules.json is getting updated, was there a schema change? Also the gatk bioconda version is updated to 4.6.1.0
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).