Files
galaxy/test/functional/tools/inheritance_simple.xml
T

34 lines
1.2 KiB
XML

<tool id="inheritance_simple" name="inheritance_simple" version="1.0.0">
<description>(demonstrates subtypes are usable for parent format)</description>
<command>
cat '$input1' > '$out_file1'
</command>
<inputs>
<param name="input1" type="data" label="Copy FASTQ" format="fastq" />
</inputs>
<outputs>
<data name="out_file1" format_source="input1" metadata_source="input1"/>
</outputs>
<tests>
<test>
<param name="input1" value="1.fastqsanger.gz"/>
<!-- should be converted to fastqsanger, so output should be fastqsanger -->
<output name="out_file1" ftype="fastqsanger">
<assert_contents>
<has_line line="@1831_573_1004/1"/>
</assert_contents>
</output>
</test>
<test>
<param name="input1" value="1.fastqsanger" ftype="fastqsanger" />
<output name="out_file1" file="1.fastqsanger" ftype="fastqsanger" />
</test>
<test>
<param name="input1" value="1.fastqsolexa" ftype="fastqsolexa" />
<output name="out_file1" file="1.fastqsolexa" ftype="fastqsolexa" />
</test>
</tests>
<help>
</help>
</tool>