Reorganize bed files for small variant analysis - #319
Conversation
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 4.0.3. For more documentation on how to update your pipeline, please see the Synchronisation documentation. |
|
|
@kubranarci I think I like the idea of handling the bed files like this but I understand that is might make the code more complicated. I would like your input in that :) |
…into high-conf-for-small-analysis
I kind of like it as it is quite simple and smooth solution. But, I also have some concerns of being apart from the benchmarking terms. I concern people might expect to find regular terms in the pipeline like Otherwise, I think codewise it is all good. |
|
I realize now that we completely disregard using -R and -T together in happy (if together intersection is being used). |
|
I think my approach here would be following the standard names that benchmarking tools use: (-R) regions_bedfile (happy,sompy,rtgtools,aardvark,and others) The main reason is as I think people might need to use -R and -f, or -T and -R, or -T and -F together. (I chatted with gemini and got some use cases.. ): |
|
I understand. The issue we had, though, with the confident_call_regions was that it might be confusing to the user. We will basically ask to put a confidence bed for happy and sompy to confident_call_regions and then the same file in -e for rtgtools but if someone runs any other tool, one has to put it on regions_bed. |
|
I understand the the different nomenclature between the tools doesn't help at all and using regions_bed for passing the -f argument on happy is confusing That is why I would also propose to rename our parameters avoid any confusion. |
|
Also, I think I'm not against the idea of creating 2 targets bed file parameters. One called |
It is confusing indeed :D I think we have to make it clear that confident_call_regions (happy,sompy) is -e (evaluation-region) for (rtgtools) and they dont exist in other tools. We will be fixing using confident-calls as -R (that was the main aim of this PR) (in happy, sompy and rtgtools) I think nomenclature for regions-bed is same for all tools, there is no confusion there. |
❌ nf-test failed with latest Nextflow versionNote Tests with Nextflow's latest version failed but it will not cause a CI workflow failure.
See the full run for details. |
|
Should we maybe set high_conf to true since that was the default up until now? |
it makes sense yes. |
There was a problem hiding this comment.
thanks for the detailed explanation! looks amazing.
| tagged_variants = channel.empty() | ||
| summary_reports = channel.empty() | ||
| tagged_variants = channel.empty() | ||
| falsepositive_bed = channel.empty() |
There was a problem hiding this comment.
I feel like falsepositive_bed should be [[],[]]
kubranarci
left a comment
There was a problem hiding this comment.
Logic seems nice, but I am not sure if happy and sompy works properly. Did you perform small germline and somatic tests? then probably you would need to update the snapshots (might be producing the same results so I am not sure)
I'm running the tests right now. |
|
you need to renew HAPPY_BENCHMARK subworkflow snapshot :) |
I have updated the happy module to include the updated version.
Also, I have changed the bed handling to match the new usage documentation
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).