Build pipeline: viash-hub.htrnaseq.main-mjsqg
Source commit: cb58990a33
Source message: Fix create_report build after R update (#52)
146 lines
6.5 KiB
JSON
146 lines
6.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"title": "generate_well_statistics",
|
|
"description": "Generate summary statistics from BAM files generated by STAR solo.",
|
|
"type": "object",
|
|
"definitions": {
|
|
|
|
|
|
|
|
"arguments" : {
|
|
"title": "Arguments",
|
|
"type": "object",
|
|
"description": "No description",
|
|
"properties": {
|
|
|
|
|
|
"input": {
|
|
"type":
|
|
"string",
|
|
"description": "Type: `file`, example: `input.bam`. The ",
|
|
"help_text": "Type: `file`, example: `input.bam`. The .bam file as returned by the mapping tool STAR."
|
|
|
|
}
|
|
|
|
|
|
,
|
|
"barcode": {
|
|
"type":
|
|
"string",
|
|
"description": "Type: `string`, required. The barcode for the well that is being processed",
|
|
"help_text": "Type: `string`, required. The barcode for the well that is being processed. Is only used to add a metadata\ncolumn to all output files.\n"
|
|
|
|
}
|
|
|
|
|
|
,
|
|
"well_id": {
|
|
"type":
|
|
"string",
|
|
"description": "Type: `string`, required. ID of this well",
|
|
"help_text": "Type: `string`, required. ID of this well. Only used to add a metadata column to the output files.\n"
|
|
|
|
}
|
|
|
|
|
|
,
|
|
"processedBAMFile": {
|
|
"type":
|
|
"string",
|
|
"description": "Type: `file`, default: `processedBamFile.txt`. Path to a ",
|
|
"help_text": "Type: `file`, default: `processedBamFile.txt`. Path to a .tsv file listing, per read in the BAM file,\nthe value for the \"CB\", \"UX\", \"GX\" and \"GN\" tag, together with the\nchromsome to which the read was mapped to.\n"
|
|
,
|
|
"default":"processedBamFile.txt"
|
|
}
|
|
|
|
|
|
,
|
|
"nrReadsNrGenesPerChrom": {
|
|
"type":
|
|
"string",
|
|
"description": "Type: `file`, default: `nrReadsNrGenesPerChrom.txt`. Path to an output file that contains a ",
|
|
"help_text": "Type: `file`, default: `nrReadsNrGenesPerChrom.txt`. Path to an output file that contains a .tsv formatted table describing\nper chromosome the number of reads that were mapped to that chromosome (NumberOfReads\ncolumn) and the number of genes on that chromosome that had at least one\nread mapped to it (NumberOfGenes).\n"
|
|
,
|
|
"default":"nrReadsNrGenesPerChrom.txt"
|
|
}
|
|
|
|
|
|
,
|
|
"nrReadsNrUMIsPerCB": {
|
|
"type":
|
|
"string",
|
|
"description": "Type: `file`, default: `nrReadsNrUMIsPerCB.txt`. Path to an output file that contains a ",
|
|
"help_text": "Type: `file`, default: `nrReadsNrUMIsPerCB.txt`. Path to an output file that contains a .tsv formatted table describing\nper barcode the number of UMI\u0027s (nrUMIs) and the total number of reads (NumberOfReads).\n"
|
|
,
|
|
"default":"nrReadsNrUMIsPerCB.txt"
|
|
}
|
|
|
|
|
|
,
|
|
"umiFreqTop": {
|
|
"type":
|
|
"string",
|
|
"description": "Type: `file`, default: `umiFreqTop100.txt`. Path to an output file that contains a ",
|
|
"help_text": "Type: `file`, default: `umiFreqTop100.txt`. Path to an output file that contains a .tsv formatted table describing\nper UMI (column UB) the frequency at which they occur in the reads (column\nN). Only the top 100 UMIs are included.\n"
|
|
,
|
|
"default":"umiFreqTop100.txt"
|
|
}
|
|
|
|
|
|
,
|
|
"threads": {
|
|
"type":
|
|
"integer",
|
|
"description": "Type: `integer`, default: `1`. Number of threads to use for decompressing BAM files",
|
|
"help_text": "Type: `integer`, default: `1`. Number of threads to use for decompressing BAM files.\n"
|
|
,
|
|
"default":1
|
|
}
|
|
|
|
|
|
}
|
|
},
|
|
|
|
|
|
"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/arguments"
|
|
},
|
|
|
|
{
|
|
"$ref": "#/definitions/nextflow input-output arguments"
|
|
}
|
|
]
|
|
}
|