Pass high confidence BED file in the small variant analysis#311
Pass high confidence BED file in the small variant analysis#311georgiakes wants to merge 9 commits into
Conversation
|
I would like to confirm whether |
|
However, in another place in the pipeline documentation we say that the regions_bed is for defining the high confidence regions. The happy documentation , though, states that the confidence bed should be passed form -f. |
Hello, Passing regions_bed with -f was due to the errorious fix in the previous version. I confirm, we need to use -R in the pipeline to define regions file. |
I agree that is really confusing. Can you also please fix the documentation? regions_bed is not really defining confidence regions.. Better to add that note to -f (--false-positives bed) |
|
@georgiakes You should also update the subworkflow tests involving happy.. :/ |
|
Hello! I have updated the documentation for some of the BED file parameters. Since we updated the definition of Instead of using Do you agree with this approach? |
What you suggests makes me sense, but we should make this very clear to he user. Since, falsepositive_bed doesnt sound like high confidence. What would you think we also change the general input variable from falsepositive_bed to high_confidence_bed ? That will make it more clear? |
|
I agree! The name as it right now doesn't help. |
|
Okay, lets do that, But we have to be carefull with all the processes using regions and targets files.. For example, cnv part also uses those non intuitively. But this will be a good change to make all more understandable. |
kubranarci
left a comment
There was a problem hiding this comment.
It seems like benchmarking for vcfeval fails silently, that is why the snaphots are empty. I think it is due to the error in channel joining. I will take a deep look into it.
| "VcfFile [chromosomes=[chr21], sampleCount=1, variantCount=730, phased=false, phasedAutodetect=false]", | ||
| "a61625f97d21d3f4b9d5d0fc86d7094e" | ||
| ] | ||
|
|
| if (params.method.contains('rtgtools')){ | ||
|
|
||
| vcfeval_input_ch = input_ch | ||
| .join(high_confidence_bed.map) |
There was a problem hiding this comment.
I am not sure join works here, I think it should be with combined (as meta is different join wont work)
There was a problem hiding this comment.
there is also a typo here
| "VcfFile [chromosomes=[], sampleCount=1, variantCount=0, phased=true, phasedAutodetect=true]", | ||
| "d41d8cd98f00b204e9800998ecf8427e" | ||
| ] | ||
|
|
There was a problem hiding this comment.
this snapshots are not successful. seems like failed silently.
kubranarci
left a comment
There was a problem hiding this comment.
Thank you! that seems great now
|
Thanks! I have an additional thought though 😅 |
No problems :) I also have the similar concerns. I think we definitely need to enhance read me and input descriptions. For other tools, we are still using regions bed (which is evaluation-bed), as long as we make it clear that it is not high confidence bed it should be good. I also realised a bug in the pipeline (not related to your change actually), I was plaining to add those clarifications with that PR. |
|
@georgiakes hey are you going to merge this PR? I am thinking about starting to add aardvark to the pipeline, dont want to create conflicts for you. |
|
@kubranarci I think I will close is PR for now and create in another one with the different approach we discussed for the bed files. Feel fee to work on the aardvark. |
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).