-
Notifications
You must be signed in to change notification settings - Fork 420
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
vardictjava variant calling workflow #1582
base: dev
Are you sure you want to change the base?
Changes from all commits
a128127
4bd6abb
cb5e9d9
fa32ec4
a196521
fd8d68e
9f288c6
764469f
d68b73d
f46b69d
1ae54bd
66a2c28
108845e
c8d37ef
1d048d6
7bf9e60
92b7675
5f5a54f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Config file for defining DSL2 per module options and publishing paths | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Available keys to override module options: | ||
ext.args = Additional arguments appended to command in module. | ||
ext.args2 = Second set of arguments appended to command in module (multi-tool modules). | ||
ext.args3 = Third set of arguments appended to command in module (multi-tool modules). | ||
ext.prefix = File name prefix for output files. | ||
ext.when = When to run the module. | ||
---------------------------------------------------------------------------------------- | ||
*/ | ||
|
||
process{ | ||
withName: 'VARDICTJAVA' { | ||
ext.args = { "-c 1 -S 2 -E 3 -g 4 --nosv --deldupvar -Q 10 -F 0x700 -f 0.1 -N ${meta.sample}_${meta.patient}"} // | ||
ext.args2 = { "-f 0.1 -A -N ${meta.sample}_${meta.patient}" } | ||
ext.prefix = { meta.num_intervals <= 1 ? "${meta.id}.vardictjava" : "${meta.id}.vardictjava.${intervals.simpleName}" } | ||
ext.when = { params.tools && params.tools.split(',').contains('vardictjava') } | ||
publishDir = [ | ||
mode: params.publish_dir_mode, | ||
path: { "${params.outdir}/variant_calling/" }, | ||
pattern: "*{vcf.gz,vcf.gz.tbi}", | ||
saveAs: { meta.num_intervals > 1 ? null : "vardictjava/${meta.id}/${it}" } | ||
] | ||
} | ||
|
||
withName: 'MERGE_VARDICTJAVA' { | ||
ext.prefix = { "${meta.id}.vardictjava" } | ||
publishDir = [ | ||
mode: params.publish_dir_mode, | ||
path: { "${params.outdir}/variant_calling/vardictjava/${meta.id}/" }, | ||
pattern: "*{vcf.gz,vcf.gz.tbi}" | ||
] | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
can you indicate here in the help text for what vardict is used?