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.

87 lines
2.7KB

  1. {
  2. "formMode": "batch",
  3. "fields": [{
  4. "tmplType": "sample_id",
  5. "type": "number",
  6. "label": "Sample ID",
  7. "name": "sample_id",
  8. "question": "How many samples? For auto generating sample id.",
  9. "placeholder": "How many samples? For auto generating sample id.",
  10. "model": "sample_id",
  11. "disabled": false,
  12. "min": 1,
  13. "max": 100,
  14. "config": {
  15. "rules": [{
  16. "type": "number",
  17. "required": true,
  18. "message": "Please input a number."
  19. }]
  20. }
  21. },
  22. {
  23. "tmplType": "file",
  24. "label": "Read1 Files",
  25. "model": "raw_fastq",
  26. "name": "raw_fastq",
  27. "readOnly": false,
  28. "multiple": true,
  29. "filterType": "fastq|fastq.gz|fq|fq.gz",
  30. "placeholder": "Select files for read1.",
  31. "config": {
  32. "rules": [{
  33. "type": "array",
  34. "required": true,
  35. "message": "Please select files for read1."
  36. }]
  37. }
  38. },
  39. {
  40. "tmplType": "input",
  41. "type": "string",
  42. "label": "Adapter Seq",
  43. "name": "adapter_seq",
  44. "placeholder": "Please enter adapter sequence.",
  45. "model": "adapter_seq",
  46. "config": {
  47. "initialValue": "none",
  48. "rules": [{
  49. "type": "string",
  50. "required": true,
  51. "message": "Please enter adapter sequence."
  52. }]
  53. }
  54. },
  55. {
  56. "tmplType": "input_number",
  57. "type": "number",
  58. "label": "RandomBase In Adapter",
  59. "name": "randomBase_in_adapter",
  60. "placeholder": "Identify and remove random barcodes of this number of nucleotides.",
  61. "model": "randomBase_in_adapter",
  62. "config": {
  63. "initialValue": 0,
  64. "rules": [{
  65. "type": "number",
  66. "required": true,
  67. "message": "Please input a number."
  68. }]
  69. }
  70. },
  71. {
  72. "tmplType": "actions",
  73. "buttons": [{
  74. "type": "cancel",
  75. "buttonType": "default",
  76. "buttonLabel": "Previous Step"
  77. },
  78. {
  79. "type": "submit",
  80. "buttonType": "primary",
  81. "buttonLabel": "Next Step",
  82. "validate": true
  83. }
  84. ]
  85. }
  86. ]
  87. }