|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 |
- {
- "formMode": "batch",
- "fields": [
- {
- "tmplType": "sample_id",
- "type": "number",
- "label": "Sample ID",
- "name": "sample_id",
- "question": "How many samples? For auto generating sample id.",
- "placeholder": "How many samples? For auto generating sample id.",
- "model": "sample_id",
- "disabled": false,
- "min": 1,
- "max": 100,
- "config": {
- "initialValue": 1,
- "rules": [
- {
- "type": "number",
- "required": true,
- "message": "Please input a number."
- }
- ]
- }
- },
- {
- "tmplType": "radio",
- "label": "Platform?",
- "model": "pl",
- "options": [
- {
- "label": "BGI",
- "value": "BGI"
- },
- {
- "label": "ILLUMINA",
- "value": "ILLUMINA"
- }
- ],
- "config": {
- "rules": [
- {
- "type": "string",
- "required": true,
- "message": "Please select a platform."
- }
- ]
- }
- },
- {
- "tmplType": "file",
- "label": "Bed File",
- "model": "bed",
- "readOnly": false,
- "multiple": false,
- "filterType": ".bed",
- "question": "A bed file for your wes data.",
- "placeholder": "A bed file for your wes data.",
- "config": {
- "rules": [
- {
- "required": true,
- "message": "Please select a bed file."
- }
- ]
- }
- },
- {
- "tmplType": "radio",
- "label": "FASTQ/VCF File?",
- "model": "fastq_or_vcf",
- "options": [
- {
- "label": "FASTQ",
- "value": "fastq"
- },
- {
- "label": "VCF",
- "value": "vcf"
- }
- ],
- "config": {
- "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": "_R[12].fastq.gz|_R[12].fq.gz",
- "placeholder": "Select files for D5 read1.",
- "config": {
- "rules": [
- {
- "type": "array",
- "required": true,
- "message": "Please select files for D5 read1."
- }
- ]
- }
- },
- {
- "tmplType": "file",
- "label": "D5 Read2 Files",
- "model": "fastq_2_D5",
- "readOnly": false,
- "multiple": true,
- "visibleVariable": "fastq_or_vcf",
- "expectedValue": "fastq",
- "filterType": "_R[12].fastq.gz|_R[12].fq.gz",
- "placeholder": "Select files for D5 read2.",
- "config": {
- "rules": [
- {
- "type": "array",
- "required": true,
- "message": "Please select files for D5 read2."
- }
- ]
- }
- },
- {
- "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": "_R[12].fastq.gz|_R[12].fq.gz",
- "placeholder": "Select files for D6 read1.",
- "config": {
- "rules": [
- {
- "type": "array",
- "required": true,
- "message": "Please select files for D6 read1."
- }
- ]
- }
- },
- {
- "tmplType": "file",
- "label": "D6 Read2 Files",
- "model": "fastq_2_D6",
- "readOnly": false,
- "multiple": true,
- "visibleVariable": "fastq_or_vcf",
- "expectedValue": "fastq",
- "filterType": "_R[12].fastq.gz|_R[12].fq.gz",
- "placeholder": "Select files for D6 read2.",
- "config": {
- "rules": [
- {
- "type": "array",
- "required": true,
- "message": "Please select files for D6 read2."
- }
- ]
- }
- },
- {
- "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": "_R[12].fastq.gz|_R[12].fq.gz",
- "placeholder": "Select files for F7 read1.",
- "config": {
- "rules": [
- {
- "type": "array",
- "required": true,
- "message": "Please select files for F7 read1."
- }
- ]
- }
- },
- {
- "tmplType": "file",
- "label": "F7 Read2 Files",
- "model": "fastq_2_F7",
- "readOnly": false,
- "multiple": true,
- "visibleVariable": "fastq_or_vcf",
- "expectedValue": "fastq",
- "filterType": "_R[12].fastq.gz|_R[12].fq.gz",
- "placeholder": "Select files for F7 read2.",
- "config": {
- "rules": [
- {
- "type": "array",
- "required": true,
- "message": "Please select files for F7 read2."
- }
- ]
- }
- },
- {
- "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": "_R[12].fastq.gz|_R[12].fq.gz",
- "placeholder": "Select files for M8 read1.",
- "config": {
- "rules": [
- {
- "type": "array",
- "required": true,
- "message": "Please select files for M8 read1."
- }
- ]
- }
- },
- {
- "tmplType": "file",
- "label": "M8 Read2 Files",
- "model": "fastq_2_M8",
- "readOnly": false,
- "multiple": true,
- "visibleVariable": "fastq_or_vcf",
- "expectedValue": "fastq",
- "filterType": "_R[12].fastq.gz|_R[12].fq.gz",
- "placeholder": "Select files for M8 read2.",
- "config": {
- "rules": [
- {
- "type": "array",
- "required": true,
- "message": "Please select files for M8 read2."
- }
- ]
- }
- },
- {
- "tmplType": "actions",
- "buttons": [
- {
- "type": "cancel",
- "buttonType": "default",
- "buttonLabel": "Previous Step"
- },
- {
- "type": "submit",
- "buttonType": "primary",
- "buttonLabel": "Next Step",
- "validate": true
- }
- ]
- }
- ]
- }
|