Skip to content

Commit 7caa903

Browse files
committed
Add patch for nfschema plugin
1 parent cdf73ea commit 7caa903

File tree

1 file changed

+45
-7
lines changed

1 file changed

+45
-7
lines changed

nextflow_schema.json

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@
1010
"type": "object",
1111
"fa_icon": "fas fa-terminal",
1212
"description": "Define where the pipeline should find input data and save output data.",
13-
"required": ["input", "sample", "outdir", "map_order"],
13+
"required": [
14+
"input",
15+
"sample",
16+
"outdir",
17+
"map_order"
18+
],
1419
"properties": {
1520
"input": {
1621
"type": "string",
@@ -50,7 +55,12 @@
5055
"description": "Type of longread data",
5156
"help_text": "Choose between {'hifi', 'clr', 'ont', 'illumina'}",
5257
"fa_icon": "fas fa-file-signature",
53-
"enum": ["hifi", "clr", "ont", "illumina"]
58+
"enum": [
59+
"hifi",
60+
"clr",
61+
"ont",
62+
"illumina"
63+
]
5464
},
5565
"cram": {
5666
"type": "array",
@@ -75,14 +85,21 @@
7585
"description": "HiC map scaffold order. Default to unsorted",
7686
"help_text": "How you want to display your hic map, sorted by length?",
7787
"fa_icon": "fas fa-file-signature",
78-
"enum": ["length", "unsorted"]
88+
"enum": [
89+
"length",
90+
"unsorted"
91+
]
7992
},
8093
"aligner": {
8194
"type": "string",
8295
"description": "Aligner for use {minimap2, bwamem2} in generating map",
8396
"help_text": "Pick between {minimap2, bwamem2, AUTO}. Defaults to 'minimap2'",
8497
"fa_icon": "fas fa-file-signature",
85-
"enum": ["bwamem2", "minimap2", "AUTO"]
98+
"enum": [
99+
"bwamem2",
100+
"minimap2",
101+
"AUTO"
102+
]
86103
},
87104
"run_hires": {
88105
"type": "boolean",
@@ -95,7 +112,11 @@
95112
"description": "Run Ultra resolution pretext maps",
96113
"help_text": "Switch for Ultra resolution pretextmap generation",
97114
"fa_icon": "fas fa-check",
98-
"enum": ["yes", "no", "force"]
115+
"enum": [
116+
"yes",
117+
"no",
118+
"force"
119+
]
99120
},
100121
"cram_chunk_size": {
101122
"type": "integer",
@@ -113,6 +134,13 @@
113134
"exists": true,
114135
"pattern": ".*\\.bam$"
115136
},
137+
"snapshot_order": {
138+
"type": "string",
139+
"format": "file-path",
140+
"description": "Order of scaffolds in the png",
141+
"help_text": "Order of scaffolds in the pretext snapshotpng",
142+
"fa_icon": "fas fa-sort"
143+
},
116144
"outdir": {
117145
"type": "string",
118146
"format": "directory-path",
@@ -216,7 +244,14 @@
216244
"description": "Method used to save pipeline results to output directory.",
217245
"help_text": "The Nextflow `publishDir` option specifies which intermediate files should be saved to the output directory. This option tells the pipeline what method should be used to move these files. See [Nextflow docs](https://www.nextflow.io/docs/latest/process.html#publishdir) for details.",
218246
"fa_icon": "fas fa-copy",
219-
"enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"],
247+
"enum": [
248+
"symlink",
249+
"rellink",
250+
"link",
251+
"copy",
252+
"copyNoFollow",
253+
"move"
254+
],
220255
"hidden": true
221256
},
222257
"email_on_fail": {
@@ -273,7 +308,10 @@
273308
"hidden": true
274309
},
275310
"help": {
276-
"type": ["boolean", "string"],
311+
"type": [
312+
"boolean",
313+
"string"
314+
],
277315
"description": "Display the help message."
278316
},
279317
"help_full": {

0 commit comments

Comments
 (0)