comparison complement.xml @ 5:1377a23bc02a draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/complement commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
author devteam
date Thu, 22 Jun 2017 18:38:23 -0400
parents a3c7fd2ae338
children
comparison
equal deleted inserted replaced
4:1b2bfb9981b1 5:1377a23bc02a
1 <tool id="gops_complement_1" name="Complement" version="1.0.0"> 1 <tool id="gops_complement_1" name="Complement" version="1.0.0">
2 <description>intervals of a dataset</description> 2 <description>intervals of a dataset</description>
3 <requirements> 3 <macros>
4 <requirement type="package" version="0.7.1">bx-python</requirement> 4 <import>macros.xml</import>
5 <requirement type="package" version="1.0.0">galaxy-ops</requirement> 5 </macros>
6 </requirements> 6 <expand macro="requirements" />
7 <command interpreter="python">gops_complement.py $input1 $output -1 ${input1.metadata.chromCol},${input1.metadata.startCol},${input1.metadata.endCol},${input1.metadata.strandCol} -l ${chromInfo} $allchroms</command> 7 <code file="operation_filter.py"/>
8 <inputs> 8 <command><![CDATA[
9 <param format="interval" name="input1" type="data"> 9 python '$__tool_directory__/gops_complement.py'
10 <label>Complement regions of</label> 10 '$input1'
11 </param> 11 '$output'
12 <param name="allchroms" type="boolean" truevalue="--all" falsevalue="" label="Genome-wide complement"> 12 -1 ${input1.metadata.chromCol},${input1.metadata.startCol},${input1.metadata.endCol},${input1.metadata.strandCol}
13 </param> 13 -l '${chromInfo}'
14 </inputs> 14 $allchroms
15 <outputs> 15 ]]></command>
16 <data format="input" name="output" metadata_source="input1" /> 16 <inputs>
17 </outputs> 17 <param name="input1" type="data" format="interval" label="Complement regions of" />
18 <code file="operation_filter.py"/> 18 <param name="allchroms" type="boolean" truevalue="--all" falsevalue="" label="Genome-wide complement" />
19 <tests> 19 </inputs>
20 <test> 20 <outputs>
21 <param name="input1" value="1.bed" dbkey="hg17" /> 21 <data name="output" format_source="input1" metadata_source="input1" />
22 <param name="allchroms" value="true" /> 22 </outputs>
23 <output name="output" file="gops_complement_out.bed" /> 23 <tests>
24 </test> 24 <test>
25 <test> 25 <param name="input1" value="1.bed" dbkey="hg17" />
26 <param name="input1" value="2_mod.bed" ftype="interval" dbkey="hg17" /> 26 <param name="allchroms" value="true" />
27 <param name="allchroms" value="true" /> 27 <output name="output" file="gops_complement_out.bed" />
28 <output name="output" file="gops_complement_out_diffCols.dat" /> 28 </test>
29 </test> 29 <test>
30 <test> 30 <param name="input1" value="2_mod.bed" ftype="interval" dbkey="hg17" />
31 <param name="input1" value="gops_bigint.interval" dbkey="hg17" /> 31 <param name="allchroms" value="true" />
32 <param name="allchroms" value="true" /> 32 <output name="output" file="gops_complement_out_diffCols.dat" />
33 <output name="output" file="gops_complement_out2.bed" /> 33 </test>
34 </test> 34 <test>
35 </tests> 35 <param name="input1" value="gops_bigint.interval" dbkey="hg17" />
36 <help> 36 <param name="allchroms" value="true" />
37 37 <output name="output" file="gops_complement_out2.bed" />
38 </test>
39 </tests>
40 <help><![CDATA[
38 .. class:: infomark 41 .. class:: infomark
39 42
40 **TIP:** If your dataset does not appear in the pulldown menu, it means that it is not in interval format. Use "edit attributes" to set chromosome, start, end, and strand columns. 43 **TIP:** If your dataset does not appear in the pulldown menu, it means that it is not in interval format. Use "edit attributes" to set chromosome, start, end, and strand columns.
41 44
42 This operation complements the regions of a set of intervals. Regions are returned that represent the empty space in the input interval. 45 This operation complements the regions of a set of intervals. Regions are returned that represent the empty space in the input interval.
43 46
44 ----- 47 @SCREENCASTS@
45
46 **Screencasts!**
47
48 See Galaxy Interval Operation Screencasts_ (right click to open this link in another window).
49
50 .. _Screencasts: http://wiki.g2.bx.psu.edu/Learn/Interval%20Operations
51
52 -----
53 48
54 **Syntax** 49 **Syntax**
55 50
56 - **Genome-wide complement** will complement all chromosomes of the genome. Leaving this option unchecked will only complement chromosomes present in the dataset. 51 - **Genome-wide complement** will complement all chromosomes of the genome. Leaving this option unchecked will only complement chromosomes present in the dataset.
57 52
58 ----- 53 -----
59 54
60 **Example** 55 **Example**
61 56
62 .. image:: gops_complement.gif 57 .. image:: gops_complement.gif
63 58 ]]></help>
64 </help>
65 </tool> 59 </tool>