|
|
@@ -0,0 +1,68 @@ |
|
|
|
{ |
|
|
|
"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":10, |
|
|
|
"config":{ |
|
|
|
"rules":[{"type":"number","required":true,"message":"Please input a number."}] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType":"file", |
|
|
|
"label":"Read1 Files", |
|
|
|
"model":"read1", |
|
|
|
"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":"file", |
|
|
|
"label":"Read2 Files", |
|
|
|
"model":"read2", |
|
|
|
"readOnly":false, |
|
|
|
"multiple":true, |
|
|
|
"filterType":"fastq|fastq.gz|fq|fq.gz", |
|
|
|
"placeholder":"Select files for read2.", |
|
|
|
"config":{ |
|
|
|
"rules":[ |
|
|
|
{ |
|
|
|
"type":"array", |
|
|
|
"required":true, |
|
|
|
"message":"Please select files for read2." |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"tmplType":"actions", |
|
|
|
"buttons":[ |
|
|
|
{"type":"cancel","buttonType":"default","buttonLabel":"Previous Step"}, |
|
|
|
{ |
|
|
|
"type":"submit", |
|
|
|
"buttonType":"primary", |
|
|
|
"buttonLabel":"Next Step", |
|
|
|
"validate":true |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
] |
|
|
|
} |