Mercurial > repos > iuc > bedtools
annotate reldist.xml @ 26:95a3b2c25bd1 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
author | iuc |
---|---|
date | Thu, 26 Apr 2018 17:02:46 -0400 |
parents | a8eabd2838f6 |
children | 4f7a5ccd2ae9 |
rev | line source |
---|---|
0 | 1 <tool id="bedtools_reldistbed" name="ReldistBed" version="@WRAPPER_VERSION@.0"> |
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 | 3 <macros> |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <expand macro="stdio" /> | |
8 <command> | |
1 | 9 <![CDATA[ |
0 | 10 bedtools reldist |
13
fadebae7e69b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 391d2d41095edb2badf70924d3636238453ee377
iuc
parents:
4
diff
changeset
|
11 -a '$inputA' |
fadebae7e69b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 391d2d41095edb2badf70924d3636238453ee377
iuc
parents:
4
diff
changeset
|
12 -b '$inputB' |
0 | 13 $detail |
13
fadebae7e69b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 391d2d41095edb2badf70924d3636238453ee377
iuc
parents:
4
diff
changeset
|
14 > '$output' |
1 | 15 ]]> |
0 | 16 </command> |
17 <inputs> | |
26
95a3b2c25bd1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents:
19
diff
changeset
|
18 <param format="bam,@STD_BEDTOOLS_INPUTS@" name="inputA" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@/BAM file"/> |
95a3b2c25bd1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents:
19
diff
changeset
|
19 <param format="@STD_BEDTOOLS_INPUTS@" name="inputB" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/> |
1 | 20 <param name="detail" type="boolean" checked="false" truevalue="-detail" falsevalue="" |
21 label="Instead of a summary, report the relative distance for each interval in A" help="(-detail)" /> | |
0 | 22 </inputs> |
23 <outputs> | |
1 | 24 <data format_source="inputA" name="output" metadata_source="inputA" label="Relalative distance of ${inputA.name} and ${inputB.name}"/> |
0 | 25 </outputs> |
1 | 26 <tests> |
27 <test> | |
19
a8eabd2838f6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 542ddc9e98cee5cc2a9e4caae945dee4b2c747b8
iuc
parents:
13
diff
changeset
|
28 <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
|
29 <param name="inputB" value="a.bed" ftype="bed" /> |
1 | 30 <output name="output" file="reldistBed_result1.bed" ftype="bed" /> |
31 </test> | |
32 </tests> | |
0 | 33 <help> |
1 | 34 <![CDATA[ |
0 | 35 **What it does** |
36 | |
1 | 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). |
0 | 38 |
39 .. image:: $PATH_TO_IMAGES/reldist-glyph.png | |
40 | |
41 .. class:: infomark | |
42 | |
43 @REFERENCES@ | |
1 | 44 ]]> |
0 | 45 </help> |
1 | 46 <expand macro="citations"> |
47 <citation type="doi">10.1371/journal.pcbi.1002529</citation> | |
48 </expand> | |
0 | 49 </tool> |