Bläddra i källkod

Improve schema.json.

tags/v0.1.1
YJC 3 år sedan
förälder
incheckning
a875b5ac39
1 ändrade filer med 143 tillägg och 0 borttagningar
  1. +143
    -0
      schema.json

+ 143
- 0
schema.json Visa fil

{ {
"formMode": "single", "formMode": "single",
"fields": [ "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", "tmplType": "file",
"label": "D5 Read1 Files", "label": "D5 Read1 Files",
"model": "fastq_1_D5", "model": "fastq_1_D5",
"readOnly": false, "readOnly": false,
"multiple": true, "multiple": true,
"visibleVariable": "fastq_or_vcf",
"expectedValue": "fastq",
"filterType": "fastq|fastq.gz|fq|fq.gz", "filterType": "fastq|fastq.gz|fq|fq.gz",
"placeholder": "Select files for D5 read1.", "placeholder": "Select files for D5 read1.",
"config": { "config": {
"model": "fastq_2_D5", "model": "fastq_2_D5",
"readOnly": false, "readOnly": false,
"multiple": true, "multiple": true,
"visibleVariable": "fastq_or_vcf",
"expectedValue": "fastq",
"filterType": "fastq|fastq.gz|fq|fq.gz", "filterType": "fastq|fastq.gz|fq|fq.gz",
"placeholder": "Select files for D5 read2.", "placeholder": "Select files for D5 read2.",
"config": { "config": {
] ]
} }
}, },
{
"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", "tmplType": "file",
"label": "D6 Read1 Files", "label": "D6 Read1 Files",
"model": "fastq_1_D6", "model": "fastq_1_D6",
"readOnly": false, "readOnly": false,
"multiple": true, "multiple": true,
"visibleVariable": "fastq_or_vcf",
"expectedValue": "fastq",
"filterType": "fastq|fastq.gz|fq|fq.gz", "filterType": "fastq|fastq.gz|fq|fq.gz",
"placeholder": "Select files for D6 read1.", "placeholder": "Select files for D6 read1.",
"config": { "config": {
"model": "fastq_2_D6", "model": "fastq_2_D6",
"readOnly": false, "readOnly": false,
"multiple": true, "multiple": true,
"visibleVariable": "fastq_or_vcf",
"expectedValue": "fastq",
"filterType": "fastq|fastq.gz|fq|fq.gz", "filterType": "fastq|fastq.gz|fq|fq.gz",
"placeholder": "Select files for D6 read2.", "placeholder": "Select files for D6 read2.",
"config": { "config": {
] ]
} }
}, },
{
"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", "tmplType": "file",
"label": "F7 Read1 Files", "label": "F7 Read1 Files",
"model": "fastq_1_F7", "model": "fastq_1_F7",
"readOnly": false, "readOnly": false,
"multiple": true, "multiple": true,
"visibleVariable": "fastq_or_vcf",
"expectedValue": "fastq",
"filterType": "fastq|fastq.gz|fq|fq.gz", "filterType": "fastq|fastq.gz|fq|fq.gz",
"placeholder": "Select files for F7 read1.", "placeholder": "Select files for F7 read1.",
"config": { "config": {
"model": "fastq_2_F7", "model": "fastq_2_F7",
"readOnly": false, "readOnly": false,
"multiple": true, "multiple": true,
"visibleVariable": "fastq_or_vcf",
"expectedValue": "fastq",
"filterType": "fastq|fastq.gz|fq|fq.gz", "filterType": "fastq|fastq.gz|fq|fq.gz",
"placeholder": "Select files for F7 read2.", "placeholder": "Select files for F7 read2.",
"config": { "config": {
] ]
} }
}, },
{
"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", "tmplType": "file",
"label": "M8 Read1 Files", "label": "M8 Read1 Files",
"model": "fastq_1_M8", "model": "fastq_1_M8",
"readOnly": false, "readOnly": false,
"multiple": true, "multiple": true,
"visibleVariable": "fastq_or_vcf",
"expectedValue": "fastq",
"filterType": "fastq|fastq.gz|fq|fq.gz", "filterType": "fastq|fastq.gz|fq|fq.gz",
"placeholder": "Select files for M8 read1.", "placeholder": "Select files for M8 read1.",
"config": { "config": {
"model": "fastq_2_M8", "model": "fastq_2_M8",
"readOnly": false, "readOnly": false,
"multiple": true, "multiple": true,
"visibleVariable": "fastq_or_vcf",
"expectedValue": "fastq",
"filterType": "fastq|fastq.gz|fq|fq.gz", "filterType": "fastq|fastq.gz|fq|fq.gz",
"placeholder": "Select files for M8 read2.", "placeholder": "Select files for M8 read2.",
"config": { "config": {

Laddar…
Avbryt
Spara