Begin forwarded message:

From: galaxy-user-bounces@lists.bx.psu.edu
Date: August 25, 2010 5:44:32 PM EDT
To: galaxy-user-owner@lists.bx.psu.edu
Subject: Auto-discard notification

The attached message has been automatically discarded.
From: "Belinda M. Giardine" <giardine@bx.psu.edu>
Date: August 25, 2010 5:44:28 PM EDT
To: Galaxy-user@bx.psu.edu
Subject: finding file format of data item


I have a tool that can be run on multiple data formats.  But I need to run it differently depending on the format of the input dataset.  How can I get the input data format?

In the tools .xml file I have:

<param format="interval,lped" name="input1" type="data" label="SNPs">

and

#if $input1.metadata.format=="interval" ...

The if doesn't work, what should be there?

Thanks,
Belinda