forked from mycobactopia-org/MTBseq-nf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow_schema.json
92 lines (92 loc) · 2.96 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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/MTBseq-nf/master/nextflow_schema.json",
"title": "MTBseq-nf pipeline parameters",
"description": "MTBSeq packaged as a Nextflow Workflow for usability and sensible defaults",
"type": "object",
"definitions": {
"input_output_options": {
"title": "Input/output options",
"type": "object",
"fa_icon": "fas fa-terminal",
"description": "Define where the pipeline should find input data and save output data.",
"properties": {
"reads": {
"type": "string"
},
"genomeIds": {
"type": "string"
},
"outdir": {
"type": "string",
"default": "results",
"fa_icon": "fas fa-folder-open"
},
"run_type": {
"type": "string"
},
"library_name": {
"type": "string",
"default": "illumina"
},
"local_location": {
"type": "string"
},
"gatk38_jar": {
"type": "string"
}
},
"required": [
"gatk38_jar"
]
},
"reference_genome_options": {
"title": "Reference genome options",
"type": "object",
"fa_icon": "fas fa-dna",
"properties": {
"mtb_reference_fasta": {
"type": "string"
}
}
},
"generic_options": {
"title": "Generic options",
"type": "object",
"fa_icon": "fas fa-file-import",
"help_text": "These options are common to all MTBseq processes.\n\nTypically these options would be set in a Nextflow config file loaded for all pipeline runs, such as `~/.nextflow/config`.",
"properties": {
"project_name": {
"type": "string",
"default": "prj"
},
"analysis_mode": {
"type": "string",
"default": "parallel"
},
"cohort_tsv": {
"type": "string",
"default": "samplesheet.tsv"
},
"ncbi_api_key": {
"type": "string"
},
"user": {
"type": "string",
"default": "alice"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/input_output_options"
},
{
"$ref": "#/definitions/reference_genome_options"
},
{
"$ref": "#/definitions/generic_options"
}
]
}