annotate concat.xml @ 5:73ca13a7ec5f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/concat commit d7b1a60c0aecc46b7f625c3e32f882562b512fd9
author devteam
date Mon, 13 Jun 2022 16:21:39 +0000
parents 35a89f8cc96e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
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
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
40 .. class:: infomark
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
41
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
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.
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
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
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
45
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
46 **Syntax**
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
47
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
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.
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
49
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
50 -----
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
51
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
52 **Example**
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
53
1
855580142a12 Added tool image.
devteam <devteam@galaxyproject.org>
parents: 0
diff changeset
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
855580142a12 Added tool image.
devteam <devteam@galaxyproject.org>
parents: 0
diff changeset
56 </tool>