$filename.ext

 

From: galaxy-dev-bounces@lists.bx.psu.edu [mailto:galaxy-dev-bounces@lists.bx.psu.edu] On Behalf Of Simon Gladman
Sent: Friday, 19 October 2012 4:38 PM
To: galaxy-dev@lists.bx.psu.edu
Subject: Re: [galaxy-dev] Retreiving a library data type in <command>

 

oops, clicked send too early..

On 19 October 2012 16:33, Simon Gladman <simon.gladman@monash.edu> wrote:

Hi all,

 

Have searched mailing list to no avail. Therefore:

 

How can I get a data library's data_type in the <command> tagset?

 

Example:

 

<command>

    dosomething.pl

        filename.data_type

   </command>

   <inputs>

      <param type='data' format='fasta,fastq,sam,bam' name='filename' label='a data set from imported datasets...'/>

    </inputs>

 

So is the file of type: fasta, fastq, sam or bam and how can I get that into the <command> tag?

 

Thanks in advance,

 

Simon Gladman.