Mercurial > repos > devteam > concat
annotate concat.xml @ 4:35a89f8cc96e draft
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit 58cb53d87440bd45e014fb37cddc276dc79b9d94
author | devteam |
---|---|
date | Mon, 25 Jun 2018 19:48:09 -0400 |
parents | 32e1c8dac438 |
children |
rev | line source |
---|---|
0 | 1 <tool id="gops_concat_1" name="Concatenate" version="1.0.1"> |
4
35a89f8cc96e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit 58cb53d87440bd45e014fb37cddc276dc79b9d94
devteam
parents:
3
diff
changeset
|
2 <description>two BED files</description> |
3
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
3 <macros> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
4 <import>macros.xml</import> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
5 </macros> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
6 <expand macro="requirements" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
7 <code file="operation_filter.py"/> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
8 <command><![CDATA[ |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
9 python '$__tool_directory__/gops_concat.py' |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
10 '$input1' |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
11 '$input2' |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
12 '$output' |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
13 -1 ${input1.metadata.chromCol},${input1.metadata.startCol},${input1.metadata.endCol},${input1.metadata.strandCol} |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
14 -2 ${input2.metadata.chromCol},${input2.metadata.startCol},${input2.metadata.endCol},${input2.metadata.strandCol} |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
15 $sameformat |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
16 ]]></command> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
17 <inputs> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
18 <param name="input1" type="data" format="interval" label="Concatenate" help="First dataset" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
19 <param name="input2" type="data" format="interval" label="With" help="Second dataset" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
20 <param name="sameformat" type="boolean" truevalue="--sameformat" falsevalue="" checked="true" label="Both datasets are in the same format?" help="If unchecked, Second dataset will be forced into the format of First dataset" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
21 </inputs> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
22 <outputs> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
23 <data name="output" format_source="input1" metadata_source="input1" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
24 </outputs> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
25 <tests> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
26 <test> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
27 <param name="input1" value="1.bed" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
28 <param name="input2" value="2.bed" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
29 <param name="sameformat" value="true" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
30 <output name="output" file="gops_concat_out1.bed" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
31 </test> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
32 <test> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
33 <param name="input1" value="1.bed" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
34 <param name="input2" value="1.interval" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
35 <param name="sameformat" value="false" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
36 <output name="output" file="gops_concat_out2.bed" /> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
37 </test> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
38 </tests> |
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
39 <help><![CDATA[ |
0 | 40 .. class:: infomark |
41 | |
42 **TIP:** If your dataset does not appear in the pulldown menu -> it is not in interval format. Use "edit attributes" to set chromosome, start, end, and strand columns. | |
43 | |
3
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
44 @SCREENCASTS@ |
0 | 45 |
46 **Syntax** | |
47 | |
48 - **Both datasets are exactly the same filetype** will preserve all extra fields in both files. Leaving this unchecked will force the second dataset to use the same column assignments for chrom, start, end and strand, but will fill extra fields with a period(.). In both cases, the output fields are truncated or padded with fields of periods to maintain a truly tabular output. | |
49 | |
50 ----- | |
51 | |
52 **Example** | |
53 | |
1 | 54 .. image:: gops_concatenate.gif |
3
32e1c8dac438
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
1
diff
changeset
|
55 ]]></help> |
1 | 56 </tool> |