I'm looking into adding a custom tool into Galaxy that makes a HTTP request to an API end point, parses the response , and dynamically generates a form for the user. I want to do this using JavaScript and not serverside scripting languages like Python or Perl.
Is this something that could be done? I looked at the Add Custom Tool page, but it only talks about Perl/Python scripts. The front-end that user interacts with has to be defined using XML file ... I want to instead give my own HTML+CSS+JS file.
The form I'm generating dynamically allows users to generate data which can be used for further analysis. While I can't tell you exactly what it is (yet), a pseudo workflow could be:
- User comes on custom Galaxy instance
- Acquires data using the custom tool.
- The tool acquires form structure from the API
- Generates some genomic data, Galaxy would keep this in history
- User can perform some other analysis using the output in (4) ... i.e. say compute GC content, as a basic example.
Hi, I am trying to implement a similar thing and looking for some answers. Did you manage to make it work?