-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #154 from genomic-medicine-sweden/dev
Release 2.2.0
- Loading branch information
Showing
73 changed files
with
6,095 additions
and
1,790 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 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,63 @@ | ||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
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. | ||
---------------------------------------------------------------------------------------- | ||
*/ | ||
|
||
// | ||
// DOWNLOAD REFERENCES | ||
// | ||
|
||
process { | ||
|
||
withName: '.*DOWNLOAD_REFERENCES:FASTA_DOWNLOAD' { | ||
ext.when = { !params.fasta } | ||
publishDir = [ | ||
path: { "${params.outdir}/references" }, | ||
mode: params.publish_dir_mode, | ||
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }, | ||
enabled: params.save_reference | ||
] | ||
} | ||
|
||
withName: '.*DOWNLOAD_REFERENCES:GTF_DOWNLOAD' { | ||
ext.when = { !params.gtf } | ||
publishDir = [ | ||
path: { "${params.outdir}/references" }, | ||
mode: params.publish_dir_mode, | ||
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }, | ||
enabled: params.save_reference | ||
] | ||
} | ||
|
||
withName: '.*DOWNLOAD_REFERENCES:WGET_DOWNLOAD' { | ||
ext.when = { (!params.skip_download_vep && !params.vep_cache) } | ||
publishDir = [ | ||
enabled: false | ||
] | ||
} | ||
|
||
withName: '.*DOWNLOAD_REFERENCES:VEP_GNOMAD_DOWNLOAD' { | ||
ext.when = { !params.skip_download_gnomad } | ||
publishDir = [ | ||
enabled: false | ||
] | ||
} | ||
|
||
withName: '.*DOWNLOAD_REFERENCES:BUILD_VEP_CACHE' { | ||
ext.when = { (!params.skip_download_vep && !params.vep_cache) } | ||
publishDir = [ | ||
path: { "${params.outdir}/references" }, | ||
mode: params.publish_dir_mode, | ||
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }, | ||
enabled: params.save_reference | ||
] | ||
} | ||
|
||
} |
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
Oops, something went wrong.