Files
openpipeline/target/nextflow/files/make_params/nextflow_schema.json
CI cd5554d22f Build branch main with version main (173327cc)
Build pipeline: vsh-ci-build-template-k4qzr

Source commit: 173327cc56

Source message: Cellranger multi conversion: fix combined AB + CB probe experiments (#1062)
2025-08-22 08:50:18 +00:00

84 lines
3.0 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "make_params",
"description": "Looks for files in a directory and turn it in a params file.",
"type": "object",
"$defs": {
"arguments": {
"title": "Arguments",
"type": "object",
"description": "No description",
"properties": {
"base_dir": {
"type": "string",
"format": "path",
"exists": true,
"description": "Base directory to search recursively",
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`, example: `\"/path/to/dir\"`. "
},
"pattern": {
"type": "string",
"description": "An optional regular expression",
"help_text": "Type: `string`, multiple: `False`, required, example: `\"*.fastq.gz\"`. "
},
"n_dirname_drop": {
"type": "integer",
"description": "For every matched file, the parent directory will be traversed N times.",
"help_text": "Type: `integer`, multiple: `False`, default: `0`. ",
"default": 0
},
"n_basename_id": {
"type": "integer",
"description": "The unique identifiers will consist of at least N dirnames.",
"help_text": "Type: `integer`, multiple: `False`, default: `0`. ",
"default": 0
},
"id_name": {
"type": "string",
"description": "The name for storing the identifier field in the yaml.",
"help_text": "Type: `string`, multiple: `False`, default: `\"id\"`. ",
"default": "id"
},
"path_name": {
"type": "string",
"description": "The name for storing the path field in the yaml.",
"help_text": "Type: `string`, multiple: `False`, default: `\"path\"`. ",
"default": "path"
},
"group_name": {
"type": "string",
"description": "Top level name for the group of entries.",
"help_text": "Type: `string`, multiple: `False`, example: `\"param_list\"`. "
},
"output": {
"type": "string",
"format": "path",
"description": "Output YAML file.",
"help_text": "Type: `file`, multiple: `False`, required, default: `\"$id.$key.output.yaml\"`, direction: `output`, example: `\"params.yaml\"`. ",
"default": "$id.$key.output.yaml"
}
}
},
"nextflow input-output arguments": {
"title": "Nextflow input-output arguments",
"type": "object",
"description": "Input/output parameters for Nextflow itself. Please note that both publishDir and publish_dir are supported but at least one has to be configured.",
"properties": {
"publish_dir": {
"type": "string",
"description": "Path to an output directory.",
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
}
}
}
},
"allOf": [
{
"$ref": "#/$defs/arguments"
},
{
"$ref": "#/$defs/nextflow input-output arguments"
}
]
}