Re: [galaxy-dev] Tool needs a particular file extension -- now Datatype help

2016-10-24 Thread Gildas Le Corguillé
Hi Steve, Galaxy try to sniff the data to guess the appropriate datatype. For Binaries, if any datatype (sniffer) is found from https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/datatypes/binary.py , you

Re: [galaxy-dev] Tool needs a particular file extension -- now Datatype help

2016-10-22 Thread Peter Cock
Hi Steve, You are on the right track, but something in the WAV file has triggered one of Galaxy's security protections to try to block uploading of potentially dangerous files. There may be some settings here you can relax - I've not had to deal with this myself. Peter On Fri, Oct 21, 2016 at 8:

Re: [galaxy-dev] Tool needs a particular file extension -- now Datatype help

2016-10-21 Thread Steve Cassidy
Thanks all, it seems that my real problem is that the audio file (.wav) is not being identified as a valid datatype and ending up as a zero length text file. So, I need to start to explore the world of datatypes. Following the docs (https://wiki.galaxyproject.org/Admin/Datatypes/Adding%20Data

Re: [galaxy-dev] Tool needs a particular file extension

2016-10-21 Thread Peter Cock
Using a soft link for this is a common pattern, and should be followed with && (ideally using XML CDATA to avoid escaping everything like & etc), and quote the filenames just in case there are any spaces. e.g. https://github.com/galaxyproject/tools-iuc/blob/master/tools/trinity/run_de_analysis.xml

Re: [galaxy-dev] Tool needs a particular file extension

2016-10-21 Thread Léo Biscassi
Hi Steve, try do like this example [1] [1] https://github.com/leobiscassi/autodock_vina_tools/blob/dev/tools/prepare_ligand/prepare_ligand.xml Cheers, On Fri, Oct 21, 2016 at 2:48 PM Steve Cassidy wrote: > Hi, > I’m wrapping a tool that needs it’s input to have a known file extension > (an au