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.

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