|
|
@@ -1,12 +1,81 @@ |
|
|
|
{ |
|
|
|
"formMode": "single", |
|
|
|
"fields": [ |
|
|
|
{ |
|
|
|
"tmplType": "sample_id", |
|
|
|
"type": "number", |
|
|
|
"label": "Batch ID", |
|
|
|
"name": "sample_id", |
|
|
|
"question": "How many batches? For auto generating batch id.", |
|
|
|
"placeholder": "How many batches? For auto generating batch id.", |
|
|
|
"model": "sample_id", |
|
|
|
"disabled": true, |
|
|
|
"min": 1, |
|
|
|
"max": 1, |
|
|
|
"config": { |
|
|
|
"initialValue": 1, |
|
|
|
"rules": [ |
|
|
|
{ |
|
|
|
"type": "number", |
|
|
|
"required": true, |
|
|
|
"message": "Please input a number." |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType": "radio", |
|
|
|
"label": "FASTQ/VCF File?", |
|
|
|
"model": "fastq_or_vcf", |
|
|
|
"options": [ |
|
|
|
{ |
|
|
|
"label": "FASTQ", |
|
|
|
"value": "fastq" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"label": "VCF", |
|
|
|
"value": "vcf" |
|
|
|
} |
|
|
|
], |
|
|
|
"config": { |
|
|
|
"initialValue": "fastq", |
|
|
|
"rules": [ |
|
|
|
{ |
|
|
|
"type": "string", |
|
|
|
"required": true, |
|
|
|
"message": "Please select a file type." |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType": "file", |
|
|
|
"label": "D5 VCF Files", |
|
|
|
"model": "vcf_D5", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "vcf", |
|
|
|
"filterType": "vcf", |
|
|
|
"placeholder": "Select files for D5 vcf.", |
|
|
|
"config": { |
|
|
|
"rules": [ |
|
|
|
{ |
|
|
|
"type": "array", |
|
|
|
"required": true, |
|
|
|
"message": "Please select files for D5 vcf." |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType": "file", |
|
|
|
"label": "D5 Read1 Files", |
|
|
|
"model": "fastq_1_D5", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "fastq", |
|
|
|
"filterType": "fastq|fastq.gz|fq|fq.gz", |
|
|
|
"placeholder": "Select files for D5 read1.", |
|
|
|
"config": { |
|
|
@@ -25,6 +94,8 @@ |
|
|
|
"model": "fastq_2_D5", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "fastq", |
|
|
|
"filterType": "fastq|fastq.gz|fq|fq.gz", |
|
|
|
"placeholder": "Select files for D5 read2.", |
|
|
|
"config": { |
|
|
@@ -37,12 +108,34 @@ |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType": "file", |
|
|
|
"label": "D6 VCF Files", |
|
|
|
"model": "vcf_D6", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "vcf", |
|
|
|
"filterType": "vcf", |
|
|
|
"placeholder": "Select files for D6 vcf.", |
|
|
|
"config": { |
|
|
|
"rules": [ |
|
|
|
{ |
|
|
|
"type": "array", |
|
|
|
"required": true, |
|
|
|
"message": "Please select files for D6 vcf." |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType": "file", |
|
|
|
"label": "D6 Read1 Files", |
|
|
|
"model": "fastq_1_D6", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "fastq", |
|
|
|
"filterType": "fastq|fastq.gz|fq|fq.gz", |
|
|
|
"placeholder": "Select files for D6 read1.", |
|
|
|
"config": { |
|
|
@@ -61,6 +154,8 @@ |
|
|
|
"model": "fastq_2_D6", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "fastq", |
|
|
|
"filterType": "fastq|fastq.gz|fq|fq.gz", |
|
|
|
"placeholder": "Select files for D6 read2.", |
|
|
|
"config": { |
|
|
@@ -73,12 +168,34 @@ |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType": "file", |
|
|
|
"label": "F7 VCF Files", |
|
|
|
"model": "vcf_F7", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "vcf", |
|
|
|
"filterType": "vcf", |
|
|
|
"placeholder": "Select files for F7 vcf.", |
|
|
|
"config": { |
|
|
|
"rules": [ |
|
|
|
{ |
|
|
|
"type": "array", |
|
|
|
"required": true, |
|
|
|
"message": "Please select files for F7 vcf." |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType": "file", |
|
|
|
"label": "F7 Read1 Files", |
|
|
|
"model": "fastq_1_F7", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "fastq", |
|
|
|
"filterType": "fastq|fastq.gz|fq|fq.gz", |
|
|
|
"placeholder": "Select files for F7 read1.", |
|
|
|
"config": { |
|
|
@@ -97,6 +214,8 @@ |
|
|
|
"model": "fastq_2_F7", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "fastq", |
|
|
|
"filterType": "fastq|fastq.gz|fq|fq.gz", |
|
|
|
"placeholder": "Select files for F7 read2.", |
|
|
|
"config": { |
|
|
@@ -109,12 +228,34 @@ |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType": "file", |
|
|
|
"label": "M8 VCF Files", |
|
|
|
"model": "vcf_M8", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "vcf", |
|
|
|
"filterType": "vcf", |
|
|
|
"placeholder": "Select files for M8 vcf.", |
|
|
|
"config": { |
|
|
|
"rules": [ |
|
|
|
{ |
|
|
|
"type": "array", |
|
|
|
"required": true, |
|
|
|
"message": "Please select files for M8 vcf." |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType": "file", |
|
|
|
"label": "M8 Read1 Files", |
|
|
|
"model": "fastq_1_M8", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "fastq", |
|
|
|
"filterType": "fastq|fastq.gz|fq|fq.gz", |
|
|
|
"placeholder": "Select files for M8 read1.", |
|
|
|
"config": { |
|
|
@@ -133,6 +274,8 @@ |
|
|
|
"model": "fastq_2_M8", |
|
|
|
"readOnly": false, |
|
|
|
"multiple": true, |
|
|
|
"visibleVariable": "fastq_or_vcf", |
|
|
|
"expectedValue": "fastq", |
|
|
|
"filterType": "fastq|fastq.gz|fq|fq.gz", |
|
|
|
"placeholder": "Select files for M8 read2.", |
|
|
|
"config": { |