You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

168 lines
4.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. "rules":[{"type":"number","required":true,"message":"Please input a number."}]
  17. }
  18. },
  19. {
  20. "tmplType":"file",
  21. "label":"Read1 Files",
  22. "model":"read1",
  23. "readOnly":false,
  24. "multiple":true,
  25. "filterType":"fastq|fastq.gz|fq|fq.gz",
  26. "placeholder":"Select files for read1.",
  27. "config":{
  28. "rules":[
  29. {
  30. "type":"array",
  31. "required":true,
  32. "message":"Please select files for read1."
  33. }
  34. ]
  35. }
  36. },
  37. {
  38. "tmplType":"file",
  39. "label":"Read2 Files",
  40. "model":"read2",
  41. "readOnly":false,
  42. "multiple":true,
  43. "filterType":"fastq|fastq.gz|fq|fq.gz",
  44. "placeholder":"Select files for read2.",
  45. "config":{
  46. "rules":[
  47. {
  48. "type":"array",
  49. "required":true,
  50. "message":"Please select files for read2."
  51. }
  52. ]
  53. }
  54. },
  55. {
  56. "tmplType":"file",
  57. "label":"FastqScreen Conf File",
  58. "model":"fastq_screen_conf",
  59. "readOnly":false,
  60. "multiple":false,
  61. "filterType":"conf",
  62. "placeholder":"Select file for fastq screen.",
  63. "config":{
  64. "initialValue": "oss://pgx-reference-data/fastq_screen_reference/fastq_screen.conf",
  65. "rules":[{"required":true,"message":"Please select file for fastq screen."}]
  66. }
  67. },
  68. {
  69. "tmplType":"file",
  70. "label":"References of Fastq Screen",
  71. "model":"screen_ref_dir",
  72. "readOnly":false,
  73. "filterType":"",
  74. "multiple":false,
  75. "placeholder":"Select directory for Fastq Screen References.",
  76. "config":{
  77. "initialValue": "oss://pgx-reference-data/fastq_screen_reference/",
  78. "rules":[
  79. {
  80. "required":true,
  81. "message":"Select directory for Fastq Screen References."
  82. }
  83. ]
  84. }
  85. },
  86. {
  87. "tmplType":"file",
  88. "label":"Index Directory",
  89. "model":"idx",
  90. "readOnly":false,
  91. "filterType":"",
  92. "multiple":false,
  93. "placeholder":"Select directory for idx.",
  94. "config":{
  95. "initialValue": "oss://pgx-reference-data/reference/hisat2/grch38_snp_tran/",
  96. "rules":[{"required":true,"message":"Please select directory for idx."}]
  97. }
  98. },
  99. {
  100. "tmplType":"file",
  101. "label":"GTF File",
  102. "model":"gtf",
  103. "readOnly":false,
  104. "multiple":false,
  105. "filterType":"gtf",
  106. "placeholder":"Select file for gtf.",
  107. "config":{
  108. "initialValue": "oss://pgx-reference-data/reference/annotation/Homo_sapiens.GRCh38.93.gtf",
  109. "rules":[{"required":true,"message":"Please select file for gtf."}]
  110. }
  111. },
  112. {
  113. "tmplType":"input",
  114. "type":"string",
  115. "label":"Adapter Sequence",
  116. "name":"adapter_sequence",
  117. "placeholder":"Please enter adapter sequence.",
  118. "model":"adapter_sequence",
  119. "disabled":false,
  120. "min":1,
  121. "max":100,
  122. "config":{
  123. "initialValue":"AGATCGGAAGAGCACACGTCTGAACTCCAGTCA",
  124. "rules":[
  125. {
  126. "type":"string",
  127. "required":false,
  128. "message":"Please input an adapter sequence."
  129. }
  130. ]
  131. }
  132. },
  133. {
  134. "tmplType":"input",
  135. "type":"string",
  136. "label":"Adapter Sequence R2",
  137. "name":"adapter_sequence_r2",
  138. "placeholder":"Please enter adapter sequence.",
  139. "model":"adapter_sequence_r2",
  140. "disabled":false,
  141. "min":1,
  142. "max":100,
  143. "config":{
  144. "initialValue":"AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGT",
  145. "rules":[
  146. {
  147. "type":"string",
  148. "required":false,
  149. "message":"Please input an adapter sequence."
  150. }
  151. ]
  152. }
  153. },
  154. {
  155. "tmplType":"actions",
  156. "buttons":[
  157. {"type":"cancel","buttonType":"default","buttonLabel":"Previous Step"},
  158. {
  159. "type":"submit",
  160. "buttonType":"primary",
  161. "buttonLabel":"Next Step",
  162. "validate":true
  163. }
  164. ]
  165. }
  166. ]
  167. }