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

307 行
7.3KB

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