tail-to-head
catWrapper.py
$out_file1
$input1
#for $q in $queries
${q.input2}
#end for
.. class:: warningmark
**WARNING:** Be careful not to concatenate queries of different kinds (e.g., sequences with intervals). This tool does not check if the queries being concatenated are in the same format.
-----
**What it does**
Concatenates queries
-----
**Example**
Concatenating Query::
chrX 151087187 151087355 A 0 -
chrX 151572400 151572481 B 0 +
with Query1::
chr1 151242630 151242955 X 0 +
chr1 151271715 151271999 Y 0 +
chr1 151278832 151279227 Z 0 -
and with Query2::
chr2 100000030 200000955 P 0 +
chr2 100000015 200000999 Q 0 +
will result in the following::
chrX 151087187 151087355 A 0 -
chrX 151572400 151572481 B 0 +
chr1 151242630 151242955 X 0 +
chr1 151271715 151271999 Y 0 +
chr1 151278832 151279227 Z 0 -
chr2 100000030 200000955 P 0 +
chr2 100000015 200000999 Q 0 +