Re: [galaxy-dev] tool datatypes

2018-08-17 Thread Peter Cock
Hi Matthias, If you look at the HTML composite datatype, there is a master file (HTML), and an arbitrary number of arbitrarily named child files like images. The BLAST database datatype follows this, but we have used a simple text file as the master file (just the stdout from makeblastdb) in

Re: [galaxy-dev] tool datatypes

2018-08-17 Thread Matthias Bernt
Hi, thanks for your support. This helps. I have thought a bit about composite data types. And have additional questions. In my case the additional data is essentially a folder (w subfolders). The contents of the folder vary (it depends on the input of the programs that generate them). So

Re: [galaxy-dev] tool datatypes

2018-08-17 Thread Peter Cock
This is probably a John Chilton question, as the Planemo lead. The way I do it is to "manually" install the datatype into a Galaxy test instance (adding entries to the datatypes_conf.xml and Python files to Galaxy's internal library), and then call ``planemo test`` pointing at this test instance.

Re: [galaxy-dev] tool datatypes

2018-08-16 Thread Matthias Bernt
Dear Peter, you are right. I hope that this will be much less in the end (I'm still learning about the package). The main question still remains, how do I get `planemo test` to include the data types defined in the xml file? Best, Matthias Am 16/08/18 18:32 schrieb Peter Cock : >

Re: [galaxy-dev] tool datatypes

2018-08-16 Thread Matthias Bernt
Hi Peter, I hope that subclassing simple data types will be sufficient. More details: I'm currently trying to (auto)wrap the checkm suite https://github.com/Ecogenomics/CheckM. Current state here: https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/checkm. These tools often

Re: [galaxy-dev] tool datatypes

2018-08-16 Thread Peter Cock
More details might help - are you just defining the new datatype as a subclass in the XML, or do you need to include Python code (e.g. for a sniffer)? If you want to see some examples of datatypes using Python code which are available via the Tool Shed, here are two: