-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if flowcell id matches for paired samples #1664
Conversation
While constructing the read group from paired fastq samples, perform a check to ensure that the id is the same for (the first reads) in fastq_1 and fastq_2. Exit out with an error otherwise and report the problematic sample and file paths.
|
@nf-core-bot fix linting 🙏 pretty please 🙏 |
@pmoris I updated your PR with the latest update in this function. |
Can you update the CHANGELOG |
No need to check for paired samples as sarek only handles paired samples Co-authored-by: Maxime U Garcia <[email protected]>
Check if flowcell id matches for read pair should throw error when flowcell id is found (instead of not found) AND it differs for the reads.
Changelog is updated! I also fixed the conditional (by removing the Lastly, what are your thoughts on updating the |
Why is the linter complaining? There is no trailing whitespace or non-multiple-of-4 padding as far as I can tell... |
I noticed this comment about checking the flowcell ID for paired samples while constructing GATK read groups. I was adapting the read group code for a custom pipeline and attempted a quick fix, so I thought I'd contribute it back to sarek.
Incidentally, while researching read groups I came across the following recommendations: https://support.sentieon.com/appnotes/read_groups/. Would it be worth updating some of the fields to match these guidelines?
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).