Files
CI c00bcda3f8 Build branch main with version main (f52978a)
Build pipeline: viash-hub.rnaseq.main-k4ttq

Source commit: f52978a0e2

Source message: Fix summarizedexperiment build (#42)
2025-05-06 20:05:48 +00:00

249 lines
9.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "merge_quant_results",
"description": "A sub-workflow to merge the counts obtained from salmon quant across all samples.",
"type": "object",
"definitions": {
"input" : {
"title": "Input",
"type": "object",
"description": "No description",
"properties": {
"salmon_quant_results": {
"type":
"string",
"description": "Type: List of `file`, multiple_sep: `\",\"`. ",
"help_text": "Type: List of `file`, multiple_sep: `\",\"`. "
}
,
"kallisto_quant_results": {
"type":
"string",
"description": "Type: List of `file`, multiple_sep: `\",\"`. ",
"help_text": "Type: List of `file`, multiple_sep: `\",\"`. "
}
,
"gtf": {
"type":
"string",
"description": "Type: `file`. ",
"help_text": "Type: `file`. "
}
,
"gtf_extra_attributes": {
"type":
"string",
"description": "Type: `string`, default: `gene_name`. ",
"help_text": "Type: `string`, default: `gene_name`. "
,
"default":"gene_name"
}
,
"gtf_group_features": {
"type":
"string",
"description": "Type: `string`, default: `gene_id`. ",
"help_text": "Type: `string`, default: `gene_id`. "
,
"default":"gene_id"
}
,
"quant_type": {
"type":
"string",
"description": "Type: `string`, default: `salmon`, choices: ``salmon`, `kallisto``. Quantification method used",
"help_text": "Type: `string`, default: `salmon`, choices: ``salmon`, `kallisto``. Quantification method used.",
"enum": ["salmon", "kallisto"]
,
"default":"salmon"
}
,
"versions": {
"type":
"string",
"description": "Type: `file`. ",
"help_text": "Type: `file`. "
}
}
},
"output" : {
"title": "Output",
"type": "object",
"description": "No description",
"properties": {
"tpm_gene": {
"type":
"string",
"description": "Type: `file`, default: `$id.$key.tpm_gene.tsv`, example: `gene_tpm.tsv`. ",
"help_text": "Type: `file`, default: `$id.$key.tpm_gene.tsv`, example: `gene_tpm.tsv`. "
,
"default":"$id.$key.tpm_gene.tsv"
}
,
"counts_gene": {
"type":
"string",
"description": "Type: `file`, default: `$id.$key.counts_gene.tsv`, example: `gene_counts.tsv`. ",
"help_text": "Type: `file`, default: `$id.$key.counts_gene.tsv`, example: `gene_counts.tsv`. "
,
"default":"$id.$key.counts_gene.tsv"
}
,
"counts_gene_length_scaled": {
"type":
"string",
"description": "Type: `file`, default: `$id.$key.counts_gene_length_scaled.tsv`, example: `gene_counts_length_scaled.tsv`. ",
"help_text": "Type: `file`, default: `$id.$key.counts_gene_length_scaled.tsv`, example: `gene_counts_length_scaled.tsv`. "
,
"default":"$id.$key.counts_gene_length_scaled.tsv"
}
,
"counts_gene_scaled": {
"type":
"string",
"description": "Type: `file`, default: `$id.$key.counts_gene_scaled.tsv`, example: `gene_counts_scaled.tsv`. ",
"help_text": "Type: `file`, default: `$id.$key.counts_gene_scaled.tsv`, example: `gene_counts_scaled.tsv`. "
,
"default":"$id.$key.counts_gene_scaled.tsv"
}
,
"tpm_transcript": {
"type":
"string",
"description": "Type: `file`, default: `$id.$key.tpm_transcript.tsv`, example: `transcript_tpm.tsv`. ",
"help_text": "Type: `file`, default: `$id.$key.tpm_transcript.tsv`, example: `transcript_tpm.tsv`. "
,
"default":"$id.$key.tpm_transcript.tsv"
}
,
"lengths_gene": {
"type":
"string",
"description": "Type: `file`, default: `$id.$key.lengths_gene.tsv`, example: `gene_length.tsv`. ",
"help_text": "Type: `file`, default: `$id.$key.lengths_gene.tsv`, example: `gene_length.tsv`. "
,
"default":"$id.$key.lengths_gene.tsv"
}
,
"counts_transcript": {
"type":
"string",
"description": "Type: `file`, default: `$id.$key.counts_transcript.tsv`, example: `transcript_counts.tsv`. ",
"help_text": "Type: `file`, default: `$id.$key.counts_transcript.tsv`, example: `transcript_counts.tsv`. "
,
"default":"$id.$key.counts_transcript.tsv"
}
,
"lengths_transcript": {
"type":
"string",
"description": "Type: `file`, default: `$id.$key.lengths_transcript.tsv`, example: `transcript_length.tsv`. ",
"help_text": "Type: `file`, default: `$id.$key.lengths_transcript.tsv`, example: `transcript_length.tsv`. "
,
"default":"$id.$key.lengths_transcript.tsv"
}
,
"quant_merged_summarizedexperiment": {
"type":
"string",
"description": "Type: `file`, default: `$id.$key.quant_merged_summarizedexperiment`, example: `quant_merged_summarizedexperiment`. ",
"help_text": "Type: `file`, default: `$id.$key.quant_merged_summarizedexperiment`, example: `quant_merged_summarizedexperiment`. "
,
"default":"$id.$key.quant_merged_summarizedexperiment"
}
}
},
"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/input"
},
{
"$ref": "#/definitions/output"
},
{
"$ref": "#/definitions/nextflow input-output arguments"
}
]
}