-
Notifications
You must be signed in to change notification settings - Fork 7
Running SnpEff and VEP at once, also fixing CLI for annotators #555
Conversation
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.
Seems safe enough, I approve
annotate.nf
Outdated
|
||
def defineStepList() { | ||
return [ | ||
'annotate' |
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.
We don't need this defineStepList
function anymore.
Only one step is available at this point.
annotate.nf
Outdated
'bcftoolsStats' : 'Reports/BCFToolsStats', | ||
'snpeff' : 'Annotation/SnpEff', | ||
'vep' : 'Annotation/VEP', | ||
'merge' : 'Annotation/merged' |
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.
I believe that there is a merging error here.
The definition of the directory map happens once here, and once in the defineStepList
.
@@ -222,7 +241,8 @@ def defineDirectoryMap() { | |||
def defineToolList() { | |||
return [ | |||
'snpeff', | |||
'vep' | |||
'vep', | |||
'merge' |
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.
I prefer lists to be sorted, but that's not really important here ;-)
@@ -1165,3 +1160,307 @@ chrY 1187549 1212750 CRLF2 | |||
chrY 1268800 1310381 CSF2RA | |||
chrY 1462572 1537107 P2RY8 | |||
chrY 2691179 2741309 CD99 | |||
chr1 1785285 1891117 GNB1 |
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.
Why do we have so many changes in this file?
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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