-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathnextflow_schema.json
executable file
·110 lines (110 loc) · 4.12 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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/openvar/NextFlow_RD_Genomic_VQR/main/nextflow_schema.json",
"title": "Nextflow pipeline parameters",
"description": "This pipeline uses Nextflow and processes exome or genome data. The JSON Schema was built using the nf-core pipeline schema builder.",
"type": "object",
"definitions": {
"inputs_outputs": {
"title": "inputs_outputs",
"type": "object",
"description": "",
"default": "",
"properties": {
"platform": {
"type": "string",
"description": "Platform used to generate the data",
"default": "local",
"enum": ["local", "cloud"]
},
"samplesheet": {
"type": "string",
"description": "Samplesheet in tsv format",
"default": "samplesheet",
"format": "file-path"
},
"genome_index_files": {
"type": "string",
"description": "Genome index files directory",
"format": "directory-path"
},
"qsrVcfs": {
"type": "string",
"description": "Quality Score Recalibration files directory",
"format": "directory-path"
},
"genome_file": {
"type": "string",
"description": "Genome fasta file",
"default": "genome.fasta",
"format": "file-path"
},
"outdir": {
"type": "string",
"description": "local output directory",
"default": "./results",
"format": "directory-path"
},
"aligner": {
"type": "string",
"description": "Aligner to use (bwa-mem or bwa-aln)",
"default": "bwa-mem",
"enum": ["bwa-mem", "bwa-aln"]
},
"fastqc": {
"type": "boolean",
"description": "Flag to indicate if FASTQC should be performed",
"default": false
},
"index_genome": {
"type": "boolean",
"description": "Index the genome if not already done",
"default": false
},
"degraded_dna": {
"type": "boolean",
"description": "Flag to indicate if degraded DNA analysis should be performed",
"default": false
},
"bqsr": {
"type": "boolean",
"description": "Flag to indicate if Base Quality Score Recalibration should be performed",
"default": false
},
"variant_recalibration": {
"type": "boolean",
"description": "Flag to indicate if variant recalibration should be performed",
"default": false
},
"identity_analysis": {
"type": "boolean",
"description": "Flag to indicate if identity analysis should be performed",
"default": false
}
},
"required": [
"platform",
"samplesheet",
"genome_index_files",
"index_genome",
"genome_file",
"qsrVcfs",
"outdir",
"aligner",
"bqsr",
"fastqc",
"variant_recalibration",
"identity_analysis",
"degraded_dna",
"max_memory",
"max_time",
"max_cpus"
]
}
},
"allOf": [
{
"$ref": "#/definitions/inputs_outputs"
}
]
}