diff 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
line wrap: on
line diff
--- a/reldist.xml	Mon Dec 17 14:23:31 2018 -0500
+++ b/reldist.xml	Mon Apr 29 05:55:48 2019 -0400
@@ -1,27 +1,25 @@
-<tool id="bedtools_reldistbed" name="bedtools ReldistBed" version="@WRAPPER_VERSION@">
+<tool id="bedtools_reldistbed" name="bedtools ReldistBed" version="@TOOL_VERSION@">
     <description>calculate the distribution of relative distances</description>
     <macros>
         <import>macros.xml</import>
     </macros>
     <expand macro="requirements" />
     <expand macro="stdio" />
-    <command>
-<![CDATA[
-        bedtools reldist
-        -a '$inputA'
-        -b '$inputB'
-        $detail
-        > '$output'
-]]>
-    </command>
+    <command><![CDATA[
+bedtools reldist
+-a '$inputA'
+-b '$inputB'
+$detail
+> '$output'
+    ]]></command>
     <inputs>
-        <param format="bam,@STD_BEDTOOLS_INPUTS@" name="inputA" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@/BAM file"/>
-        <param format="@STD_BEDTOOLS_INPUTS@" name="inputB" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
-        <param name="detail" type="boolean" checked="false" truevalue="-detail" falsevalue=""
-            label="Instead of a summary, report the relative distance for each interval in A" help="(-detail)" />
+        <param name="inputA" argument="-a" type="data" format="bam,@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@/BAM file"/>
+        <param name="inputB" argument="-b" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
+        <param argument="-detail" type="boolean" truevalue="-detail" falsevalue="" checked="false"
+            label="Instead of a summary, report the relative distance for each interval in A" />
     </inputs>
     <outputs>
-        <data format_source="inputA" name="output" metadata_source="inputA" label="Relalative distance of ${inputA.name} and ${inputB.name}"/>
+        <data name="output" format_source="inputA" metadata_source="inputA" label="Relalative distance of ${inputA.name} and ${inputB.name}"/>
     </outputs>
     <tests>
         <test>
@@ -30,8 +28,7 @@
             <output name="output" file="reldistBed_result1.bed" ftype="bed" />
         </test>
     </tests>
-    <help>
-<![CDATA[
+    <help><![CDATA[
 **What it does**
 
 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).
@@ -41,8 +38,7 @@
 .. class:: infomark
 
 @REFERENCES@
-]]>
-    </help>
+    ]]></help>
     <expand macro="citations">
         <citation type="doi">10.1371/journal.pcbi.1002529</citation>
     </expand>