tripal_blast.routing.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # @file
  2. # Tripal BLAST routes definition.
  3. # This route is for single all-in-one BLAST user interface.
  4. # Choices of query type, protein or nucleotide, outlined in this page.
  5. tripal_blast.blast_ui:
  6. path: 'blast'
  7. defaults:
  8. _title: 'Tripal BLAST'
  9. _controller: '\Drupal\tripal_blast\Controller\TripalBlastUIController::ui'
  10. requirements:
  11. _permission: 'administer tripal'
  12. # Routes below are for two main query types BLAST shown in the UI.
  13. # NUCLEOTIDE
  14. tripal_blast.nucleotide:
  15. path: 'blast/nucleotide'
  16. defaults:
  17. _title: 'Tripal BLAST: Nucleotide Query'
  18. # @TODO _form: '\Drupal\tripal_blast\Form\TripalBlast'
  19. requirements:
  20. _permission: 'administer tripal'
  21. # PROTEIN
  22. tripal_blast.protein:
  23. path: 'blast/protein'
  24. defaults:
  25. _title: 'Tripal BLAST: Protein Query'
  26. # @TODO _form: '\Drupal\tripal_blast\Form\TripalBlast'
  27. requirements:
  28. _permission: 'administer tripal'
  29. # Routes below are for BLAST programs.
  30. # 1. NUCLEOTIDE PROGRAM
  31. tripal_blast.nucleotide_nucleotide:
  32. path: 'blast/nucleotide/nucleotide'
  33. defaults:
  34. _title: 'Tripal BLAST: BLASTn'
  35. # @TODO _form: '\Drupal\tripal_blast\Form\TripalBlast'
  36. requirements:
  37. _permission: 'administer tripal'
  38. tripal_blast.nucleotide_protein:
  39. path: 'blast/nucleotide/protein'
  40. defaults:
  41. _title: 'Tripal BLAST: BLASTx'
  42. # @TODO _form: '\Drupal\tripal_blast\Form\TripalBlast'
  43. requirements:
  44. _permission: 'administer tripal'
  45. # 2. PROTEIN PROGRAM
  46. tripal_blast.protein_nucleotide:
  47. path: 'blast/protein/nucleotide'
  48. defaults:
  49. _title: 'Tripal BLAST: tBLASTn'
  50. # @TODO _form: '\Drupal\tripal_blast\Form\TripalBlast'
  51. requirements:
  52. _permission: 'administer tripal'
  53. tripal_blast.protein_protein:
  54. path: 'blast/protein/protein'
  55. defaults:
  56. _title: 'Tripal BLAST: BLASTp'
  57. # @TODO _form: '\Drupal\tripal_blast\Form\TripalBlast'
  58. requirements:
  59. _permission: 'administer tripal'
  60. # Routes below are for configuration and help.
  61. # Uses tabs @see tripal_blast.link.task.yml.
  62. tripal_blast.configuration:
  63. path: '/admin/tripal/extension/tripal_blast/configuration'
  64. defaults:
  65. _title: 'Tripal Blast: Configuration'
  66. _form: '\Drupal\tripal_blast\Form\TripalBlastConfigurationForm'
  67. requirements:
  68. _permission: 'administer tripal'
  69. tripal_blast.help:
  70. path: '/admin/tripal/extension/tripal_blast/configuration/help'
  71. defaults:
  72. _title: 'Tripal Blast: Help'
  73. _controller: '\Drupal\tripal_blast\Controller\TripalBlastHelpController::help'
  74. requirements:
  75. _permission: 'administer tripal'
  76. # Route set below defines routes for the management of
  77. # configuration entity (list, add, edit and delete).
  78. entity.tripal_blast.blast_database:
  79. path: '/admin/tripal/extension/tripal_blast/configuration/tripalblastdatabase'
  80. defaults:
  81. _entity_list: 'tripalblastdatabase'
  82. _title: 'Tripal BLAST Query Database'
  83. requirements:
  84. _permission: 'administer tripal'
  85. entity.tripal_blast.blast_database.add:
  86. path: '/admin/tripal/extension/tripal_blast/configuration/tripalblastdatabase/add'
  87. defaults:
  88. _entity_form: 'tripalblastdatabase.add'
  89. _title: 'Tripal BLAST Add Query Database'
  90. requirements:
  91. _permission: 'administer tripal'
  92. entity.tripalblastdatabase.edit_form:
  93. path: '/admin/tripal/extension/tripal_blast/configuration/tripalblastdatabase/edit/{tripalblastdatabase}'
  94. defaults:
  95. _entity_form: 'tripalblastdatabase.edit'
  96. _title: 'Tripal BLAST Edit Query Database'
  97. requirements:
  98. _permission: 'administer tripal'
  99. entity.tripalblastdatabase.delete_form:
  100. path: '/admin/tripal/extension/tripal_blast/configuration/tripalblastdatabase/{tripalblastdatabase}/delete'
  101. defaults:
  102. _entity_form: 'tripalblastdatabase.delete'
  103. _title: 'Tripal BLAST Delete Query Database'
  104. requirements:
  105. _permission: 'administer tripal'