Skip to content

Commit

Permalink
Add Nextflow schema
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjtaylor committed Aug 3, 2023
1 parent eac252a commit c9025ef
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/./master/nextflow_schema.json",
"title": ". pipeline parameters",
"description": "",
"type": "object",
"definitions": {
"input_output_options": {
"title": "Input/output options",
"type": "object",
"fa_icon": "fas fa-terminal",
"description": "Define where the pipeline should find input data and save output data.",
"required": [
"input",
"outdir"
],
"properties": {
"input": {
"type": "string",
"format": "file-path",
"exists": true,
"mimetype": "text/csv",
"pattern": "^\\S+\\.csv$",
"description": "Path to comma-separated file containing information about the samples in the experiment.",
"help_text": "You will need to create a design file with information about the samples in your experiment before running the pipeline. Use this parameter to specify its location. It has to be a comma-separated file with 3 columns, and a header row.",
"fa_icon": "fas fa-file-csv"
},
"outdir": {
"type": "string",
"format": "directory-path",
"description": "The output directory where the results will be saved. You have to use absolute paths to storage on Cloud infrastructure.",
"fa_icon": "fas fa-folder-open"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/input_output_options"
}
],
"properties": {
"outsuffix": {
"type": "string",
"default": "_cleaned"
},
"rm_svs_label": {
"type": "string",
"default": "true"
},
"rm_ome_sa": {
"type": "string",
"default": "true"
}
}
}

0 comments on commit c9025ef

Please sign in to comment.