Skip to content
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

add_dysgu_sarek #1590

Open
wants to merge 19 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions conf/modules/dysgu.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
----------------------------------------------------------------------------------------
*/

// DYSGU

process {
if (params.tools && params.tools.split(',').contains('dysgu')) {
withName: 'DYSGU_GERMLINE' {
poddarharsh15 marked this conversation as resolved.
Show resolved Hide resolved
ext.args = { params.wes ? "--exome" : '' }
ext.prefix = { "${meta.id}.dysgu" }
publishDir = [
mode: params.publish_dir_mode,
path: { "${params.outdir}/variant_calling/dysgu/${meta.id}" },
pattern: "*{dysgu}.{vcf.gz,vcf.gz.tbi}"
]
}
}
}
5 changes: 5 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@
"installed_by": ["modules"],
"patch": "modules/nf-core/dragmap/hashtable/dragmap-hashtable.diff"
},
"dysgu": {
"branch": "master",
"git_sha": "c27498285a0beca2239b395cf88129c586a837fc",
"installed_by": ["modules"]
},
"ensemblvep/download": {
"branch": "master",
"git_sha": "3db4f8488315cd7d7cf3fcb64251f6603210e831",
Expand Down
7 changes: 7 additions & 0 deletions modules/nf-core/dysgu/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 55 additions & 0 deletions modules/nf-core/dysgu/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 68 additions & 0 deletions modules/nf-core/dysgu/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 96 additions & 0 deletions modules/nf-core/dysgu/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 75 additions & 0 deletions modules/nf-core/dysgu/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions modules/nf-core/dysgu/tests/nextflow.config

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions modules/nf-core/dysgu/tests/tags.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
},
"cf_ploidy": {
"type": "string",
"default": "2",
"default": 2,
maxulysse marked this conversation as resolved.
Show resolved Hide resolved
"fa_icon": "fas fa-bacon",
"help_text": "In case of doubt, you can set different values and Control-FREEC will select the one that explains most observed CNAs Example: ploidy=2 , ploidy=2,3,4. For more details, see the [manual](http://boevalab.inf.ethz.ch/FREEC/tutorial.html).",
"description": "Genome ploidy used by ControlFREEC",
Expand Down Expand Up @@ -1061,7 +1061,8 @@
"fa_icon": "far fa-check-circle",
"description": "Validation of parameters in lenient more.",
"hidden": true,
"help_text": "Allows string values that are parseable as numbers or booleans. For further information see [JSONSchema docs](https://github.com/everit-org/json-schema#lenient-mode)."
"help_text": "Allows string values that are parseable as numbers or booleans. For further information see [JSONSchema docs](https://github.com/everit-org/json-schema#lenient-mode).",
"default": true
maxulysse marked this conversation as resolved.
Show resolved Hide resolved
},
"hook_url": {
"type": "string",
Expand Down
Loading