Running SnpEff and VEP at once, also fixing CLI for annotators#555
Running SnpEff and VEP at once, also fixing CLI for annotators#555maxulysse merged 11 commits intoSciLifeLab:masterfrom szilvajuhos:master
Conversation
maxulysse
left a comment
There was a problem hiding this comment.
Seems safe enough, I approve
|
|
||
| def defineStepList() { | ||
| return [ | ||
| 'annotate' |
There was a problem hiding this comment.
We don't need this defineStepList function anymore.
Only one step is available at this point.
| 'bcftoolsStats' : 'Reports/BCFToolsStats', | ||
| 'snpeff' : 'Annotation/SnpEff', | ||
| 'vep' : 'Annotation/VEP', | ||
| 'merge' : 'Annotation/merged' |
There was a problem hiding this comment.
I believe that there is a merging error here.
The definition of the directory map happens once here, and once in the defineStepList.
| 'snpeff', | ||
| 'vep' | ||
| 'vep', | ||
| 'merge' |
There was a problem hiding this comment.
I prefer lists to be sorted, but that's not really important here ;-)
| chrY 1268800 1310381 CSF2RA | ||
| chrY 1462572 1537107 P2RY8 | ||
| chrY 2691179 2741309 CD99 | ||
| chr1 1785285 1891117 GNB1 |
There was a problem hiding this comment.
Why do we have so many changes in this file?
There was a problem hiding this comment.
Long story short: it is a quasi-panel, ever-expanding list of genes related to cancers.
| // we have to exchange the channels | ||
|
|
||
| if('merge' in tools) { | ||
| vcfForVep = snpEffOutputVCFs |
There was a problem hiding this comment.
So if I want to have snpEFF, VEP and merged VCF it's not possible?
Can't we use that?
vcfForVep = vcfForVep.mix(snpEffOutputVCFs)
There was a problem hiding this comment.
That will be a new feature if it is going to be needed at all. Testing takes time and I do not want to add stuff that is never going to be used or relatively easy to do with some scripting.
Running SnpEff an VEP at once, also fixing CLI for annotators
Resolving #547