So I've been able to create a tool wrapper for an R script and make it work in my local Galaxy instance. Next step is to ouput an R data structure (rds) file from this tool and implement a next R script that uses this rds file as input. While the outputting (to history) seems to work, using rds again as input fails. When I try to add the second tool which contains:
<inputs> <param name="inputRDS" type="rds" optional="false" format="rds" label="Input RDS"/> </inputs>
...Galaxy complains that it doesn't know the rds type. The following does work, but now the user is able to select any input data format, not just rds:
<param name="inputRDS" type="data" optional="false" format="rds" label="Input RDS" />
Since it probably has to do with adding datatypes, my question is:
How can I make sure the "rds" datatype can be used in galaxy tools? I've read the page below, but that seems rather complex to simply allow a new datatype.
https://wiki.galaxyproject.org/Admin/Datatypes/Adding%20Datatypes
I came across this in my search for existing R Data types. There should be an RData type in the nextish release of galaxy. https://github.com/galaxyproject/galaxy/pull/239