view trinityrnaseq_protocol/cat.xml @ 3:87c03e2aeba3 draft default tip

Uploaded
author gkumar09
date Sun, 18 Oct 2015 10:40:27 -0400
parents 1c37a8003755
children
line wrap: on
line source

<tool id="catbash" name="Concatenate datasets">
    <description>tail-to-head</description>
    <command interpreter="python">
        bash_command_executer.py cat
        $input1
        #for $q in $queries
            ${q.input2}
        #end for
        > $out_file1 
    </command>
    <inputs>
        <param name="input1" type="data" label="Concatenate Dataset"/>
        <repeat name="queries" title="Dataset">
            <param name="input2" type="data" label="Select" />
        </repeat>
    </inputs>
    <outputs>
        <data name="out_file1" format="input" metadata_source="input1"/>
    </outputs>
    <tests>
        <test>
            <param name="input1" value="1.bed"/>
            <param name="input2" value="2.bed"/>
            <output name="out_file1" file="cat_wrapper_out1.bed"/>
        </test>
        <!--TODO: if possible, enhance the underlying test code to handle this test
            the problem is multiple params with the same name "input2"
        <test>
            <param name="input1" value="1.bed"/>
            <param name="input2" value="2.bed"/>
            <param name="input2" value="3.bed"/>
            <output name="out_file1" file="cat_wrapper_out2.bed"/>
        </test>
        -->
    </tests>
    <help>

    no help

    </help>
</tool>