diff --git a/nextflow_schema.json b/nextflow_schema.json index 394b2a1..6852b8c 100644 --- a/nextflow_schema.json +++ b/nextflow_schema.json @@ -10,7 +10,10 @@ "type": "object", "fa_icon": "fas fa-terminal", "description": "Define where the pipeline should find input data and save output data.", - "required": ["input", "outdir"], + "required": [ + "input", + "outdir" + ], "properties": { "input": { "type": "string", @@ -40,6 +43,18 @@ } } }, + "additional_parameters": { + "title": "Additional Parameters", + "type": "object", + "description": "IRIDA-Next Parameters", + "default": "", + "properties": { + "rename_with_samplename": { + "type": "boolean", + "default": true + } + } + }, "institutional_config_options": { "title": "Institutional config options", "type": "object", @@ -133,7 +148,14 @@ "description": "Method used to save pipeline results to output directory.", "help_text": "The Nextflow `publishDir` option specifies which intermediate files should be saved to the output directory. This option tells the pipeline what method should be used to move these files. See [Nextflow docs](https://www.nextflow.io/docs/latest/process.html#publishdir) for details.", "fa_icon": "fas fa-copy", - "enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"], + "enum": [ + "symlink", + "rellink", + "link", + "copy", + "copyNoFollow", + "move" + ], "hidden": true }, "email_on_fail": { @@ -205,6 +227,9 @@ { "$ref": "#/definitions/input_output_options" }, + { + "$ref": "#/definitions/additional_parameters" + }, { "$ref": "#/definitions/institutional_config_options" }, @@ -214,11 +239,5 @@ { "$ref": "#/definitions/generic_options" } - ], - "properties": { - "rename_with_samplename": { - "type": "boolean", - "default": true - } - } + ] }