|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
"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": { |
|
|
|
|
|
"rules": [{ |
|
|
|
|
|
"type": "number", |
|
|
|
|
|
"required": true, |
|
|
|
|
|
"message": "Please input a number." |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"tmplType": "file", |
|
|
|
|
|
"label": "Read1 Files", |
|
|
|
|
|
"model": "raw_fastq", |
|
|
|
|
|
"name": "raw_fastq", |
|
|
|
|
|
"readOnly": false, |
|
|
|
|
|
"multiple": true, |
|
|
|
|
|
"filterType": "fastq|fastq.gz|fq|fq.gz", |
|
|
|
|
|
"placeholder": "Select files for read1.", |
|
|
|
|
|
"config": { |
|
|
|
|
|
"rules": [{ |
|
|
|
|
|
"type": "array", |
|
|
|
|
|
"required": true, |
|
|
|
|
|
"message": "Please select files for read1." |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"tmplType": "input", |
|
|
|
|
|
"type": "string", |
|
|
|
|
|
"label": "Adapter Seq", |
|
|
|
|
|
"name": "adapter_seq", |
|
|
|
|
|
"placeholder": "Please enter adapter sequence.", |
|
|
|
|
|
"model": "adapter_seq", |
|
|
|
|
|
"config": { |
|
|
|
|
|
"initialValue": "none", |
|
|
|
|
|
"rules": [{ |
|
|
|
|
|
"type": "string", |
|
|
|
|
|
"required": true, |
|
|
|
|
|
"message": "Please enter adapter sequence." |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"tmplType": "input", |
|
|
|
|
|
"type": "number", |
|
|
|
|
|
"label": "RandomBase In Adapter", |
|
|
|
|
|
"name": "randomBase_in_adapter", |
|
|
|
|
|
"placeholder": "Identify and remove random barcodes of this number of nucleotides.", |
|
|
|
|
|
"model": "randomBase_in_adapter", |
|
|
|
|
|
"config": { |
|
|
|
|
|
"initialValue": 0, |
|
|
|
|
|
"rules": [{ |
|
|
|
|
|
"type": "number", |
|
|
|
|
|
"required": true, |
|
|
|
|
|
"message": "Please input a number." |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"tmplType": "actions", |
|
|
|
|
|
"buttons": [{ |
|
|
|
|
|
"type": "cancel", |
|
|
|
|
|
"buttonType": "default", |
|
|
|
|
|
"buttonLabel": "Previous Step" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "submit", |
|
|
|
|
|
"buttonType": "primary", |
|
|
|
|
|
"buttonLabel": "Next Step", |
|
|
|
|
|
"validate": true |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
} |