Skip to content

Commit

Permalink
add params to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
FriederikeHanssen committed Jul 19, 2022
1 parent c5ab1a1 commit ea17f5d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#651](https://github.com/nf-core/sarek/pull/651) - Added TIDDIT_SOMATIC subworkflow
- [#653](https://github.com/nf-core/sarek/pull/653) - Coherent results subfolder structure between preprocessing, variantcalling and reporting
- [#659](https://github.com/nf-core/sarek/pull/659) - Update usage.md docu section on `How to run ASCAT with WES`
- [#663](https://github.com/nf-core/sarek/pull/663) - Add separate parameters for `ASCAT` and `ControlFREEC` back in

### Fixed

Expand Down
5 changes: 3 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ params {

// Variant Calling
only_paired_variant_calling = false //if true, skips germline variant calling for normal-paired samples
ploidy = 2 //null (in ascat, test this works) // Use default value, you can use 2,3,4
ascat_ploidy = null // default value for ASCAT
ascat_min_base_qual = 20 // default value for ASCAT
ascat_min_counts = 10 // default value for ASCAT
ascat_min_map_qual = 35 // default value for ASCAT
ascat_purity = null // Use default value
ascat_purity = null // default value for ASCAT
cf_ploidy = 2 // default value for Control-FREEC
cf_coeff = 0.05 // default value for Control-FREEC
cf_contamination = 0 // default value for Control-FREEC
cf_contamination_adjustment = false // by default we are not using this in Control-FREEC
Expand Down
23 changes: 15 additions & 8 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,6 @@
"description": "If true, skips germline variant calling for matched normal to tumor sample. Normal samples without matched tumor will still be processed through germline variant calling tools.",
"help_text": "This can speed up computation for somatic variant calling with matched normal samples. If false, all normal samples are processed as well through the germline variantcalling tools. If true, only somatic variant calling is done."
},
"ploidy": {
"type": "number",
"fa_icon": "fas fa-bacon",
"default": 2,
"description": "Genome ploidy used by ASCAT and ControlFREEC",
"hidden": true,
"help_text": "ControLFREEC: In case of doubt, you can set different values and Control-FREEC will select the one that explains most observed CNAs\n Example: ploidy=2 , ploidy=2,3,4\n\nASCAT: optional argument to override ASCAT optimization and supply psi parameter\n(expert parameter, don\u2019t adapt unless you know what you\u2019re doing). See [here](https://raw.githubusercontent.com/VanLoo-lab/ascat/master/man/ASCAT-manual.pdf)"
},
"ascat_min_base_qual": {
"type": "number",
"default": 20,
Expand All @@ -264,6 +256,13 @@
"hidden": true,
"help_text": "For more details, see [here](https://raw.githubusercontent.com/VanLoo-lab/ascat/master/man/ASCAT-manual.pdf)."
},
"ascat_ploidy": {
"type": "string",
"default": null,
"fa_icon": "fas fa-bacon",
"help_text": "ASCAT: optional argument to override ASCAT optimization and supply psi parameter (expert parameter, don\u2019t adapt unless you know what you\u2019re doing). See [here](https://raw.githubusercontent.com/VanLoo-lab/ascat/master/man/ASCAT-manual.pdf)",
"hidden": true
},
"ascat_purity": {
"type": "number",
"fa_icon": "fas fa-broom",
Expand Down Expand Up @@ -310,6 +309,14 @@
"description": "Minimal read coverage for a position to be considered in BAF analysis.",
"help_text": "Details, see [ControlFREEC manual](http://boevalab.inf.ethz.ch/FREEC/tutorial.html)."
},
"cf_ploidy": {
"type": "integer",
"default": 2,
"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",
"hidden": true
},
"cf_window": {
"type": "number",
"fa_icon": "fas fa-window-maximize",
Expand Down

0 comments on commit ea17f5d

Please sign in to comment.