Files
biobox/target/nextflow/seqtk/seqtk_sample/nextflow_schema.json
CI 02c1c9ebea Build branch main with version main (da414e7)
Build pipeline: viash-hub.biobox.main-7dwhr

Source commit: da414e72c6

Source message: Add star solo component (#62)

* add star solo component

* change arguments from camelCase to snake_case

* get rid of multiple_sep

* drop star_solo component and just add arguments to star_align_reads

* Update src/star/star_align_reads/script.py

Co-authored-by: Dries Schaumont <5946712+DriesSchaumont@users.noreply.github.com>

---------

Co-authored-by: Dries Schaumont <5946712+DriesSchaumont@users.noreply.github.com>
2024-07-29 08:14:56 +00:00

141 lines
4.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "seqtk_sample",
"description": "Subsamples sequences from FASTA/Q files.",
"type": "object",
"definitions": {
"inputs" : {
"title": "Inputs",
"type": "object",
"description": "No description",
"properties": {
"input": {
"type":
"string",
"description": "Type: `file`, required. The input FASTA/Q file",
"help_text": "Type: `file`, required. The input FASTA/Q file."
}
}
},
"outputs" : {
"title": "Outputs",
"type": "object",
"description": "No description",
"properties": {
"output": {
"type":
"string",
"description": "Type: `file`, required, default: `$id.$key.output.output`. The output FASTA/Q file",
"help_text": "Type: `file`, required, default: `$id.$key.output.output`. The output FASTA/Q file."
,
"default": "$id.$key.output.output"
}
}
},
"options" : {
"title": "Options",
"type": "object",
"description": "No description",
"properties": {
"seed": {
"type":
"integer",
"description": "Type: `integer`, example: `42`. Seed for random generator",
"help_text": "Type: `integer`, example: `42`. Seed for random generator."
}
,
"fraction_number": {
"type":
"number",
"description": "Type: `double`, required, example: `0.1`. Fraction or number of sequences to sample",
"help_text": "Type: `double`, required, example: `0.1`. Fraction or number of sequences to sample."
}
,
"two_pass_mode": {
"type":
"boolean",
"description": "Type: `boolean_true`, default: `false`. Twice as slow but with much reduced memory",
"help_text": "Type: `boolean_true`, default: `false`. Twice as slow but with much reduced memory"
,
"default": "False"
}
}
},
"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": "Type: `string`, required, example: `output/`. Path to an output directory",
"help_text": "Type: `string`, required, example: `output/`. Path to an output directory."
}
,
"param_list": {
"type":
"string",
"description": "Type: `string`, example: `my_params.yaml`. Allows inputting multiple parameter sets to initialise a Nextflow channel",
"help_text": "Type: `string`, example: `my_params.yaml`. Allows inputting multiple parameter sets to initialise a Nextflow channel. A `param_list` can either be a list of maps, a csv file, a json file, a yaml file, or simply a yaml blob.\n\n* A list of maps (as-is) where the keys of each map corresponds to the arguments of the pipeline. Example: in a `nextflow.config` file: `param_list: [ [\u0027id\u0027: \u0027foo\u0027, \u0027input\u0027: \u0027foo.txt\u0027], [\u0027id\u0027: \u0027bar\u0027, \u0027input\u0027: \u0027bar.txt\u0027] ]`.\n* A csv file should have column names which correspond to the different arguments of this pipeline. Example: `--param_list data.csv` with columns `id,input`.\n* A json or a yaml file should be a list of maps, each of which has keys corresponding to the arguments of the pipeline. Example: `--param_list data.json` with contents `[ {\u0027id\u0027: \u0027foo\u0027, \u0027input\u0027: \u0027foo.txt\u0027}, {\u0027id\u0027: \u0027bar\u0027, \u0027input\u0027: \u0027bar.txt\u0027} ]`.\n* A yaml blob can also be passed directly as a string. Example: `--param_list \"[ {\u0027id\u0027: \u0027foo\u0027, \u0027input\u0027: \u0027foo.txt\u0027}, {\u0027id\u0027: \u0027bar\u0027, \u0027input\u0027: \u0027bar.txt\u0027} ]\"`.\n\nWhen passing a csv, json or yaml file, relative path names are relativized to the location of the parameter file. No relativation is performed when `param_list` is a list of maps (as-is) or a yaml blob.",
"hidden": true
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/inputs"
},
{
"$ref": "#/definitions/outputs"
},
{
"$ref": "#/definitions/options"
},
{
"$ref": "#/definitions/nextflow input-output arguments"
}
]
}