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?

Bests,
Nikos