Re: [galaxy-dev] Parsing input format in galaxy tools

2014-02-14 Thread Nikos Sidiropoulos
Worked. Thanks Björn! 2014-02-14 19:41 GMT+01:00 Björn Grüning bjoern.gruen...@gmail.com: Hi Nikos, try $input.ext ... Cheers, Bjoern Hi all, I'm writing a tool in Galaxy and I need to parse the input file's format (bam, bed, etc) to pass it as a variable to the command.

Re: [galaxy-dev] Parsing input format in galaxy tools

2014-02-14 Thread Björn Grüning
Hi Nikos, try $input.ext ... Cheers, Bjoern Hi all, I'm writing a tool in Galaxy and I need to parse the input file's format (bam, bed, etc) to pass it as a variable to the command. Something like: command.sh $input ${input.format} $output Is there a way to get it?