選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

308 行
7.4KB

  1. {
  2. "formMode": "single",
  3. "fields": [
  4. {
  5. "tmplType": "sample_id",
  6. "type": "number",
  7. "label": "Batch ID",
  8. "name": "sample_id",
  9. "question": "How many batches? For auto generating batch id.",
  10. "placeholder": "How many batches? For auto generating batch id.",
  11. "model": "sample_id",
  12. "disabled": true,
  13. "min": 1,
  14. "max": 1,
  15. "config": {
  16. "initialValue": 1,
  17. "rules": [
  18. {
  19. "type": "number",
  20. "required": true,
  21. "message": "Please input a number."
  22. }
  23. ]
  24. }
  25. },
  26. {
  27. "tmplType": "radio",
  28. "label": "FASTQ/VCF File?",
  29. "model": "fastq_or_vcf",
  30. "options": [
  31. {
  32. "label": "FASTQ",
  33. "value": "fastq"
  34. },
  35. {
  36. "label": "VCF",
  37. "value": "vcf"
  38. }
  39. ],
  40. "config": {
  41. "initialValue": "fastq",
  42. "rules": [
  43. {
  44. "type": "string",
  45. "required": true,
  46. "message": "Please select a file type."
  47. }
  48. ]
  49. }
  50. },
  51. {
  52. "tmplType": "file",
  53. "label": "D5 VCF Files",
  54. "model": "vcf_D5",
  55. "readOnly": false,
  56. "multiple": true,
  57. "visibleVariable": "fastq_or_vcf",
  58. "expectedValue": "vcf",
  59. "filterType": "vcf",
  60. "placeholder": "Select files for D5 vcf.",
  61. "config": {
  62. "rules": [
  63. {
  64. "type": "array",
  65. "required": true,
  66. "message": "Please select files for D5 vcf."
  67. }
  68. ]
  69. }
  70. },
  71. {
  72. "tmplType": "file",
  73. "label": "D5 Read1 Files",
  74. "model": "fastq_1_D5",
  75. "readOnly": false,
  76. "multiple": true,
  77. "visibleVariable": "fastq_or_vcf",
  78. "expectedValue": "fastq",
  79. "filterType": "fastq|fastq.gz|fq|fq.gz",
  80. "placeholder": "Select files for D5 read1.",
  81. "config": {
  82. "rules": [
  83. {
  84. "type": "array",
  85. "required": true,
  86. "message": "Please select files for D5 read1."
  87. }
  88. ]
  89. }
  90. },
  91. {
  92. "tmplType": "file",
  93. "label": "D5 Read2 Files",
  94. "model": "fastq_2_D5",
  95. "readOnly": false,
  96. "multiple": true,
  97. "visibleVariable": "fastq_or_vcf",
  98. "expectedValue": "fastq",
  99. "filterType": "fastq|fastq.gz|fq|fq.gz",
  100. "placeholder": "Select files for D5 read2.",
  101. "config": {
  102. "rules": [
  103. {
  104. "type": "array",
  105. "required": true,
  106. "message": "Please select files for D5 read2."
  107. }
  108. ]
  109. }
  110. },
  111. {
  112. "tmplType": "file",
  113. "label": "D6 VCF Files",
  114. "model": "vcf_D6",
  115. "readOnly": false,
  116. "multiple": true,
  117. "visibleVariable": "fastq_or_vcf",
  118. "expectedValue": "vcf",
  119. "filterType": "vcf",
  120. "placeholder": "Select files for D6 vcf.",
  121. "config": {
  122. "rules": [
  123. {
  124. "type": "array",
  125. "required": true,
  126. "message": "Please select files for D6 vcf."
  127. }
  128. ]
  129. }
  130. },
  131. {
  132. "tmplType": "file",
  133. "label": "D6 Read1 Files",
  134. "model": "fastq_1_D6",
  135. "readOnly": false,
  136. "multiple": true,
  137. "visibleVariable": "fastq_or_vcf",
  138. "expectedValue": "fastq",
  139. "filterType": "fastq|fastq.gz|fq|fq.gz",
  140. "placeholder": "Select files for D6 read1.",
  141. "config": {
  142. "rules": [
  143. {
  144. "type": "array",
  145. "required": true,
  146. "message": "Please select files for D6 read1."
  147. }
  148. ]
  149. }
  150. },
  151. {
  152. "tmplType": "file",
  153. "label": "D6 Read2 Files",
  154. "model": "fastq_2_D6",
  155. "readOnly": false,
  156. "multiple": true,
  157. "visibleVariable": "fastq_or_vcf",
  158. "expectedValue": "fastq",
  159. "filterType": "fastq|fastq.gz|fq|fq.gz",
  160. "placeholder": "Select files for D6 read2.",
  161. "config": {
  162. "rules": [
  163. {
  164. "type": "array",
  165. "required": true,
  166. "message": "Please select files for D6 read2."
  167. }
  168. ]
  169. }
  170. },
  171. {
  172. "tmplType": "file",
  173. "label": "F7 VCF Files",
  174. "model": "vcf_F7",
  175. "readOnly": false,
  176. "multiple": true,
  177. "visibleVariable": "fastq_or_vcf",
  178. "expectedValue": "vcf",
  179. "filterType": "vcf",
  180. "placeholder": "Select files for F7 vcf.",
  181. "config": {
  182. "rules": [
  183. {
  184. "type": "array",
  185. "required": true,
  186. "message": "Please select files for F7 vcf."
  187. }
  188. ]
  189. }
  190. },
  191. {
  192. "tmplType": "file",
  193. "label": "F7 Read1 Files",
  194. "model": "fastq_1_F7",
  195. "readOnly": false,
  196. "multiple": true,
  197. "visibleVariable": "fastq_or_vcf",
  198. "expectedValue": "fastq",
  199. "filterType": "fastq|fastq.gz|fq|fq.gz",
  200. "placeholder": "Select files for F7 read1.",
  201. "config": {
  202. "rules": [
  203. {
  204. "type": "array",
  205. "required": true,
  206. "message": "Please select files for F7 read1."
  207. }
  208. ]
  209. }
  210. },
  211. {
  212. "tmplType": "file",
  213. "label": "F7 Read2 Files",
  214. "model": "fastq_2_F7",
  215. "readOnly": false,
  216. "multiple": true,
  217. "visibleVariable": "fastq_or_vcf",
  218. "expectedValue": "fastq",
  219. "filterType": "fastq|fastq.gz|fq|fq.gz",
  220. "placeholder": "Select files for F7 read2.",
  221. "config": {
  222. "rules": [
  223. {
  224. "type": "array",
  225. "required": true,
  226. "message": "Please select files for F7 read2."
  227. }
  228. ]
  229. }
  230. },
  231. {
  232. "tmplType": "file",
  233. "label": "M8 VCF Files",
  234. "model": "vcf_M8",
  235. "readOnly": false,
  236. "multiple": true,
  237. "visibleVariable": "fastq_or_vcf",
  238. "expectedValue": "vcf",
  239. "filterType": "vcf",
  240. "placeholder": "Select files for M8 vcf.",
  241. "config": {
  242. "rules": [
  243. {
  244. "type": "array",
  245. "required": true,
  246. "message": "Please select files for M8 vcf."
  247. }
  248. ]
  249. }
  250. },
  251. {
  252. "tmplType": "file",
  253. "label": "M8 Read1 Files",
  254. "model": "fastq_1_M8",
  255. "readOnly": false,
  256. "multiple": true,
  257. "visibleVariable": "fastq_or_vcf",
  258. "expectedValue": "fastq",
  259. "filterType": "fastq|fastq.gz|fq|fq.gz",
  260. "placeholder": "Select files for M8 read1.",
  261. "config": {
  262. "rules": [
  263. {
  264. "type": "array",
  265. "required": true,
  266. "message": "Please select files for M8 read1."
  267. }
  268. ]
  269. }
  270. },
  271. {
  272. "tmplType": "file",
  273. "label": "M8 Read2 Files",
  274. "model": "fastq_2_M8",
  275. "readOnly": false,
  276. "multiple": true,
  277. "visibleVariable": "fastq_or_vcf",
  278. "expectedValue": "fastq",
  279. "filterType": "fastq|fastq.gz|fq|fq.gz",
  280. "placeholder": "Select files for M8 read2.",
  281. "config": {
  282. "rules": [
  283. {
  284. "type": "array",
  285. "required": true,
  286. "message": "Please select files for M8 read2."
  287. }
  288. ]
  289. }
  290. },
  291. {
  292. "tmplType": "actions",
  293. "buttons": [
  294. {
  295. "type": "cancel",
  296. "buttonType": "default",
  297. "buttonLabel": "Previous Step"
  298. },
  299. {
  300. "type": "submit",
  301. "buttonType": "primary",
  302. "buttonLabel": "Next Step",
  303. "validate": true
  304. }
  305. ]
  306. }
  307. ]
  308. }