Files
galaxy/tools/filters/catWrapper.xml
T

55 lines
1.8 KiB
XML

<tool id="cat1" name="Concatenate queries">
<description>tail-to-head</description>
<command>cat $input1 $input2 > $out_file1</command>
<inputs>
<param name="input1" type="data" label="Concatenate Query1"/>
<param name="input2" type="data" label="with Query2" />
</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="eq-cat.dat"/>
</test>
</tests>
<help>
.. class:: warningmark
**WARNING:** Be careful not to concatenate queries of different kinds (e.g., sequences with intervals). This tool does not check if the two queries being concatenated are in the same format.
-----
**Syntax**
Concatenate Query2 to the end of Query1, and print on the output file.
-----
**Example**
- Query1::
chrX 151087187 151087355 NM_000808_utr3_0_0_chrX_151087188_r 0 -
chrX 151572400 151572481 NM_018558_utr3_8_0_chrX_151572401_f 0 +
- Query2::
chr1 151242630 151242955 NM_005416_utr3_2_0_chr1_151242631_f 0 +
chr1 151271715 151271999 NM_003125_utr3_1_0_chr1_151271716_f 0 +
chr1 151278832 151279227 NM_006945_utr3_0_0_chr1_151278833_r 0 -
- Concatenate Query2 to the end of Query1. The result is::
chrX 151087187 151087355 NM_000808_utr3_0_0_chrX_151087188_r 0 -
chrX 151572400 151572481 NM_018558_utr3_8_0_chrX_151572401_f 0 +
chr1 151242630 151242955 NM_005416_utr3_2_0_chr1_151242631_f 0 +
chr1 151271715 151271999 NM_003125_utr3_1_0_chr1_151271716_f 0 +
chr1 151278832 151279227 NM_006945_utr3_0_0_chr1_151278833_r 0 -
</help>
</tool>