comparison reldist.xml @ 34:dde39ba9c031 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
author iuc
date Mon, 29 Apr 2019 05:55:48 -0400
parents 4f7a5ccd2ae9
children 3e38c9b3214f
comparison
equal deleted inserted replaced
33:87ee588b3d45 34:dde39ba9c031
1 <tool id="bedtools_reldistbed" name="bedtools ReldistBed" version="@WRAPPER_VERSION@"> 1 <tool id="bedtools_reldistbed" name="bedtools ReldistBed" version="@TOOL_VERSION@">
2 <description>calculate the distribution of relative distances</description> 2 <description>calculate the distribution of relative distances</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements" /> 6 <expand macro="requirements" />
7 <expand macro="stdio" /> 7 <expand macro="stdio" />
8 <command> 8 <command><![CDATA[
9 <![CDATA[ 9 bedtools reldist
10 bedtools reldist 10 -a '$inputA'
11 -a '$inputA' 11 -b '$inputB'
12 -b '$inputB' 12 $detail
13 $detail 13 > '$output'
14 > '$output' 14 ]]></command>
15 ]]>
16 </command>
17 <inputs> 15 <inputs>
18 <param format="bam,@STD_BEDTOOLS_INPUTS@" name="inputA" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@/BAM file"/> 16 <param name="inputA" argument="-a" type="data" format="bam,@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@/BAM file"/>
19 <param format="@STD_BEDTOOLS_INPUTS@" name="inputB" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/> 17 <param name="inputB" argument="-b" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
20 <param name="detail" type="boolean" checked="false" truevalue="-detail" falsevalue="" 18 <param argument="-detail" type="boolean" truevalue="-detail" falsevalue="" checked="false"
21 label="Instead of a summary, report the relative distance for each interval in A" help="(-detail)" /> 19 label="Instead of a summary, report the relative distance for each interval in A" />
22 </inputs> 20 </inputs>
23 <outputs> 21 <outputs>
24 <data format_source="inputA" name="output" metadata_source="inputA" label="Relalative distance of ${inputA.name} and ${inputB.name}"/> 22 <data name="output" format_source="inputA" metadata_source="inputA" label="Relalative distance of ${inputA.name} and ${inputB.name}"/>
25 </outputs> 23 </outputs>
26 <tests> 24 <tests>
27 <test> 25 <test>
28 <param name="inputA" value="a.bed" ftype="bed" /> 26 <param name="inputA" value="a.bed" ftype="bed" />
29 <param name="inputB" value="a.bed" ftype="bed" /> 27 <param name="inputB" value="a.bed" ftype="bed" />
30 <output name="output" file="reldistBed_result1.bed" ftype="bed" /> 28 <output name="output" file="reldistBed_result1.bed" ftype="bed" />
31 </test> 29 </test>
32 </tests> 30 </tests>
33 <help> 31 <help><![CDATA[
34 <![CDATA[
35 **What it does** 32 **What it does**
36 33
37 Traditional approaches to summarizing the similarity between two sets of genomic intervals are based upon the number or proportion of intersecting intervals. However, such measures are largely blind to spatial correlations between the two sets where, dpesite consistent spacing or proximity, intersections are rare (for example, enhancers and transcription start sites rarely overlap, yet they are much closer to one another than two sets of random intervals). Favorov et al proposed a relative distance metric that describes distribution of relative distances between each interval in one set nd the two closest intervals in another set (see figure above). If there is no spatial correlation between the two sets, one would expect the relative distances to be uniformaly distributed among the relative distances ranging from 0 to 0.5. If, however, the intervals tend to be much closer than expected by chance, the distribution of observed relative distances would be shifted towards low relative distance values (e.g., the figure below). 34 Traditional approaches to summarizing the similarity between two sets of genomic intervals are based upon the number or proportion of intersecting intervals. However, such measures are largely blind to spatial correlations between the two sets where, dpesite consistent spacing or proximity, intersections are rare (for example, enhancers and transcription start sites rarely overlap, yet they are much closer to one another than two sets of random intervals). Favorov et al proposed a relative distance metric that describes distribution of relative distances between each interval in one set nd the two closest intervals in another set (see figure above). If there is no spatial correlation between the two sets, one would expect the relative distances to be uniformaly distributed among the relative distances ranging from 0 to 0.5. If, however, the intervals tend to be much closer than expected by chance, the distribution of observed relative distances would be shifted towards low relative distance values (e.g., the figure below).
38 35
39 .. image:: $PATH_TO_IMAGES/reldist-glyph.png 36 .. image:: $PATH_TO_IMAGES/reldist-glyph.png
40 37
41 .. class:: infomark 38 .. class:: infomark
42 39
43 @REFERENCES@ 40 @REFERENCES@
44 ]]> 41 ]]></help>
45 </help>
46 <expand macro="citations"> 42 <expand macro="citations">
47 <citation type="doi">10.1371/journal.pcbi.1002529</citation> 43 <citation type="doi">10.1371/journal.pcbi.1002529</citation>
48 </expand> 44 </expand>
49 </tool> 45 </tool>