-
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
Fix intervals #524
Fix intervals #524
Conversation
do you know how it'll interact with the other modules that use
all group by |
Yeah they all need fixing. I have it done aprtially locally already but haven't had time to push the fixes yet. Also want to remove the querying for |
Issues with the new modules when merging? |
🤦♀️ yep messed up merging. |
😱 |
honestly not sure what happened, but oh well |
…se, intervals single, intervals multi, intervals merged
no_intervals: num_intervals == 1 | ||
STRELKA_SINGLE.out.vcf.branch{ | ||
intervals: it[0].num_intervals > 1 | ||
no_intervals: it[0].num_intervals <= 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
num_intervals
is 0
for params.no_intervals
?
Shouldn't it be 1
as for just one big interval?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quite a philosophical question. I was thinking of num_intervals as num_interval_files.
This does avoid the whole weird things about querying for interval file name for the VC workflows:
new_meta.id = num_intervals <= 1 ? meta.sample : meta.sample + "_" + intervals.baseName
new_meta.num_intervals = num_intervals
//If no interval file provided (0) then add empty list
intervals_new = num_intervals == 0 ? [] : intervals
```
OK there are still both cosmetic problems:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mutect2 for next PR?
Yes I think this is a separate issue topic wise + want to coordinate with @GCJMackenzie on this |
Follow up issue: #534 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<3
PR checklist
scrape_software_versions.py
nf-core lint .
).nextflow run . -profile test,docker
).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).