mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
This way we test that conversion to txt occurs via fasta, not the fasta to tabular converter.
23 lines
617 B
XML
23 lines
617 B
XML
<tool id="implicit_conversion_format_input" name="implicit_conversion with input format">
|
|
<command>
|
|
cut -f 1 '$input1' > '$output1'
|
|
</command>
|
|
<inputs>
|
|
<param type="data" format="txt" name="input1" label="Input 1" />
|
|
</inputs>
|
|
<outputs>
|
|
<data name="output1" format="input" />
|
|
</outputs>
|
|
<tests>
|
|
<!-- Test implicit conversion. -->
|
|
<test>
|
|
<param name="input1" value="1.fasta.gz" ftype="fasta.gz" />
|
|
<output name="output1" ftype="fasta">
|
|
<assert_contents>
|
|
<has_line line=">hg17" />
|
|
</assert_contents>
|
|
</output>
|
|
</test>
|
|
</tests>
|
|
</tool>
|