-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow_schema.json
177 lines (177 loc) · 5.87 KB
/
nextflow_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/qcflow-rnaseq/master/nextflow_schema.json",
"title": "qcflow-rnaseq pipeline parameters",
"description": "QC and alignemnt of short reads to reference genome.",
"type": "object",
"definitions": {
"input_output_options": {
"title": "Input/output options",
"type": "object",
"fa_icon": "fas fa-dna",
"properties": {
"workflow": {
"type": "string",
"description": "Preferred pipeline to run",
"enum": [
"genome-index",
"reads-qc",
"reads-qc-cont",
"trim",
"align",
"infer-strandedness"
]
},
"aligner": {
"type": "string",
"description": "Preferred aligner",
"enum": ["star", "star-plants", "star-snps", "hisat", "hisat-highmem"]
},
"output_dir": {
"type": "string",
"description": "Output directory"
},
"genome": {
"type": "string",
"description": "Reference genome",
"pattern": "^\\S+\\.fn?a(sta)?(\\.gz)?$$",
"format": "file-path"
},
"genes": {
"type": "string",
"description": "Reference annotation",
"format": "file-path"
},
"fastq_dir": {
"type": "string",
"description": "Input directory with fastq files"
}
},
"required": ["fastq_dir"]
},
"fastp_parameters": {
"title": "Fastp parameters",
"type": "object",
"description": "",
"default": "",
"properties": {
"adapters": {
"type": "string",
"description": "File containing adaters to trim"
},
"min_read_length": {
"type": "number",
"minimum": 50,
"description": "Minimum read length (-l in fastp)"
},
"qual_phred": {
"type": "number",
"description": "Phred score used for trimming (-q in fastp)",
"minimum": 10,
"maximum": 30
}
}
},
"star_index": {
"title": "STAR index",
"type": "object",
"description": "",
"default": "",
"properties": {
"sjOverhang": {
"type": "integer",
"description": "sjDbOverhang value to use"
}
}
},
"max_job_request_options": {
"title": "Max job request options",
"type": "object",
"fa_icon": "fab fa-acquisitions-incorporated",
"description": "Set the top limit for requested resources for any single job.",
"help_text": "If you are running on a smaller system, a pipeline step requesting more resources than are available may cause the Nextflow to stop the run with an error. These options allow you to cap the maximum resources requested by any single job so that the pipeline will run on your system.\n\nNote that you can not _increase_ the resources requested by any job using these options. For that you will need your own configuration file. See [the nf-core website](https://nf-co.re/usage/configuration) for details.",
"properties": {
"max_cpus": {
"type": "integer",
"description": "Maximum number of CPUs that can be requested for any single job.",
"fa_icon": "fas fa-microchip",
"hidden": true,
"help_text": "Use to set an upper-limit for the CPU requirement for each process. Should be an integer e.g. `--max_cpus 1`"
},
"max_memory": {
"type": "string",
"description": "Maximum amount of memory that can be requested for any single job.",
"fa_icon": "fas fa-memory",
"pattern": "^\\d+(\\.\\d+)?\\.?\\s*(K|M|G|T)?B$",
"hidden": true,
"help_text": "Use to set an upper-limit for the memory requirement for each process. Should be a string in the format integer-unit e.g. `--max_memory '8.GB'`"
}
}
},
"generic_options": {
"title": "Generic options",
"type": "object",
"fa_icon": "fas fa-file-import",
"description": "Less common options for the pipeline, typically set in a config file.",
"help_text": "These options are common to all nf-core pipelines and allow you to customise some of the core preferences for how the pipeline runs.\n\nTypically these options would be set in a Nextflow config file loaded for all pipeline runs, such as `~/.nextflow/config`.",
"properties": {
"help": {
"type": "boolean",
"description": "Display help text.",
"fa_icon": "fas fa-question-circle",
"hidden": true
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/input_output_options"
},
{
"$ref": "#/definitions/fastp_parameters"
},
{
"$ref": "#/definitions/star_index"
},
{
"$ref": "#/definitions/max_job_request_options"
},
{
"$ref": "#/definitions/generic_options"
}
],
"properties": {
"snps": {
"type": "string",
"description": "Vcf file (uncompressed) with snps to include to indexing. Must be the same regerence as genome"
},
"library_name": {
"type": "string",
"description": "String intervals to extract library name (ex. LIB1_name - 1,4 extracts LIB1)"
},
"index_dir": {
"type": "string",
"description": "Path to index (star or hisat)",
"format": "directory-path"
},
"hisat_prefix": {
"type": "string",
"description": "Prefix of hisat index"
},
"cdna": {
"type": "string",
"description": "Fasta file with cDNA sequences",
"format": "file-path"
},
"strandedness": {
"type": "string",
"description": "RNAseq library strandedness",
"enum": ["RF", "FR", "unstranded"]
},
"bbt_filters": {
"type": "string",
"default": "None"
}
}
}