forked from RaqManzano/rnadnavar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added normalise workflow, some final fixes in variant calling subwork…
…flows.
- Loading branch information
1 parent
c1bdc0a
commit 375cb4e
Showing
24 changed files
with
476 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
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. | ||
---------------------------------------------------------------------------------------- | ||
*/ | ||
|
||
// VT | ||
|
||
process { // vt | ||
|
||
withName: 'VT_DECOMPOSE'{ | ||
ext.args = "" | ||
ext.prefix = { vcf.baseName - ".vcf.gz" + ".dec" } | ||
publishDir = [ | ||
[ | ||
mode: params.publish_dir_mode, | ||
path: { "${params.outdir}/reports/vt/${meta.id}" }, | ||
pattern: "*.dec.stats" | ||
], | ||
[ | ||
mode: params.publish_dir_mode, | ||
path: { "${params.outdir}/variant_calling/${meta.variantcaller}/${meta.id}" }, | ||
pattern: {"*{vcf.gz,vcf.gz.tbi}"} | ||
enabled: false | ||
] | ||
] | ||
} | ||
|
||
withName: 'VT_NORMALISE'{ | ||
ext.args = {"-n"} | ||
ext.prefix = { vcf.baseName - ".vcf.gz" + ".norm" } | ||
publishDir = [ | ||
[ | ||
mode: params.publish_dir_mode, | ||
path: { "${params.outdir}/variant_calling/${meta.variantcaller}/${meta.id}" }, | ||
pattern: "*{vcf.gz,vcf.gz.tbi}", | ||
], | ||
[ | ||
mode: params.publish_dir_mode, | ||
path: { "${params.outdir}/reports/vt/${meta.id}" }, | ||
pattern: {"*.stats"}, | ||
enabled: true | ||
] | ||
] | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.