Skip to content

Commit

Permalink
updated schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheww95 committed Dec 11, 2023
1 parent 07cf9db commit d7fbcfb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ params {
report_ext = ".tsv"
report_tag = "QUAST"
min_contig_length = 1000
quast_contigs_field = "# contigs"
contigs_field = "# contigs"
// need to add a --min-contig args to set to 0 as at 500 currently add --report-all-metrics
// also need to see if a sam can be published from quast
args = { "--min-contig ${params.quast.min_contig_length} --report-all-metrics" }
Expand Down Expand Up @@ -841,7 +841,7 @@ params {
high_msg = "N50 value is high, this is likely a good thing if you have fewer contigs than expected."
}
nr_contigs {
path = [params.quast.report_tag, "0", params.quas.quast_contigs_field]
path = [params.quast.report_tag, "0", params.quast.contigs_field]
coerce_type = 'Integer'
compare_fields = ['min_nr_contigs', 'max_nr_contigs']
comp_type = "range"
Expand Down
5 changes: 5 additions & 0 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1890,6 +1890,11 @@
"type": "string",
"default": "--min-contig 0 --report-all-metrics",
"hidden": true
},
"quast.contigs_field": {
"type": "string",
"default": "# contigs",
"hidden": true
}
}
},
Expand Down

0 comments on commit d7fbcfb

Please sign in to comment.