annotate reldist.xml @ 35:b28e0cfa7ba1 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
author iuc
date Fri, 06 Sep 2019 14:29:59 -0400
parents dde39ba9c031
children 3e38c9b3214f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
1 <tool id="bedtools_reldistbed" name="bedtools ReldistBed" version="@TOOL_VERSION@">
4
607c0576c6ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents: 1
diff changeset
2 <description>calculate the distribution of relative distances</description>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
3 <macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
5 </macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
6 <expand macro="requirements" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
7 <expand macro="stdio" />
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
8 <command><![CDATA[
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
9 bedtools reldist
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
10 -a '$inputA'
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
11 -b '$inputB'
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
12 $detail
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
13 > '$output'
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
14 ]]></command>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
15 <inputs>
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
16 <param name="inputA" argument="-a" type="data" format="bam,@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@/BAM file"/>
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
17 <param name="inputB" argument="-b" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
18 <param argument="-detail" type="boolean" truevalue="-detail" falsevalue="" checked="false"
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
19 label="Instead of a summary, report the relative distance for each interval in A" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
20 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
21 <outputs>
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
22 <data name="output" format_source="inputA" metadata_source="inputA" label="Relalative distance of ${inputA.name} and ${inputB.name}"/>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
23 </outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
24 <tests>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
25 <test>
19
a8eabd2838f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 542ddc9e98cee5cc2a9e4caae945dee4b2c747b8
iuc
parents: 13
diff changeset
26 <param name="inputA" value="a.bed" ftype="bed" />
a8eabd2838f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 542ddc9e98cee5cc2a9e4caae945dee4b2c747b8
iuc
parents: 13
diff changeset
27 <param name="inputB" value="a.bed" ftype="bed" />
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
28 <output name="output" file="reldistBed_result1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
29 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
30 </tests>
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
31 <help><![CDATA[
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
32 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
33
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
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).
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
35
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
36 .. image:: $PATH_TO_IMAGES/reldist-glyph.png
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
37
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
38 .. class:: infomark
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
39
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
40 @REFERENCES@
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
41 ]]></help>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
42 <expand macro="citations">
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
43 <citation type="doi">10.1371/journal.pcbi.1002529</citation>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
44 </expand>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
45 </tool>