Skip to content

Commit 1a7a571

Browse files
Merge pull request #704 from FriederikeHanssen/fix_schema
freec ploidy number -> String
2 parents 89d1574 + ce4b0a8 commit 1a7a571

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2323
- [#681](https://github.com/nf-core/sarek/pull/681) - Fixed intermediate files published cf [#680](https://github.com/nf-core/sarek/issues/680)
2424
- [#688](https://github.com/nf-core/sarek/pull/688) - Fixed VEP plugins issue cf [#687](https://github.com/nf-core/sarek/issues/687)
2525
- [#689](https://github.com/nf-core/sarek/pull/689) - Fixed when clause for non `BWA mem` building mapping indexes
26+
- [#704](https://github.com/nf-core/sarek/pull/704) - Fixed `cf_ploidy` to string instead of number
2627

2728
### Deprecated
2829

nextflow.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ params {
5555
ascat_min_counts = 10 // default value for ASCAT
5656
ascat_min_map_qual = 35 // default value for ASCAT
5757
ascat_purity = null // default value for ASCAT
58-
cf_ploidy = 2 // default value for Control-FREEC
58+
cf_ploidy = "2" // default value for Control-FREEC
5959
cf_coeff = 0.05 // default value for Control-FREEC
6060
cf_contamination = 0 // default value for Control-FREEC
6161
cf_contamination_adjustment = false // by default we are not using this in Control-FREEC
@@ -101,7 +101,7 @@ params {
101101
help = false
102102
validate_params = true
103103
show_hidden_params = false
104-
schema_ignore_params = 'genomes,snpeff_version,vep_version'
104+
schema_ignore_params = 'genomes,snpeff_version,vep_version,cf_ploidy'
105105
enable_conda = false
106106

107107
// Config options

nextflow_schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@
316316
"help_text": "Details, see [ControlFREEC manual](http://boevalab.inf.ethz.ch/FREEC/tutorial.html)."
317317
},
318318
"cf_ploidy": {
319-
"type": "integer",
320-
"default": 2,
319+
"type": "string",
320+
"default": "2",
321321
"fa_icon": "fas fa-bacon",
322322
"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).",
323323
"description": "Genome ploidy used by ControlFREEC",

0 commit comments

Comments
 (0)