annotate dsCompareCurves.xml @ 1:a2022103f2a2 draft

Uploaded
author gtrichard
date Tue, 06 Aug 2019 16:48:33 -0400
parents cbeae0f83ff8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
1 <tool id="deepstats_compare_curves" name="dsCompareCurves" version="@WRAPPER_VERSION@.0" profile="18.01">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
2 <description>
1
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
3 compares multiple genomic scores at multiple regions sets by bootstraps and per-bin distribution test
0
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
4 </description>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
5 <macros>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
6 <token name="@BINARY@">dsCompareCurves</token>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
7 <import>deepStats_macros.xml</import>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
8 </macros>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
9 <expand macro="requirements" />
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
10 <command>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
11 <![CDATA[
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
12 @BINARY@
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
13 --input '$input'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
14 --output 'output'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
15 --comparison '$comparison'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
16 --signalName '$signalName'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
17 --scoreLabels '$nameLabels.scoreLabels'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
18 --regionLabels '$nameLabels.regionLabels'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
19
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
20 #if $scaleRegions.showScaleRegionsOpt == "yes":
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
21 --firstRegionName '$scaleRegions.firstRegionName'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
22 --secondRegionName '$scaleRegions.secondRegionName'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
23 #else
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
24 --firstRegionName '$scaleRegions.firstRegionName'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
25 #end if
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
26
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
27 --bootstraps '$statsOptions.bootstraps'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
28 --bootstrapsCI '$statsOptions.bootstrapsCI'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
29 --wilcoxThreshold '$statsOptions.wilcoxThreshold'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
30 --bootPlotShareY '$plotOptions.bootPlotShareY'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
31 --bootPlotRatio '$plotOptions.bootPlotRatio'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
32 --bootPlotWidth '$plotOptions.bootPlotWidth'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
33 --bootPlotHeight '$plotOptions.bootPlotHeight'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
34 --wilcoxPlotWidth '$plotOptions.wilcoxPlotWidth'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
35 --wilcoxPlotHeight '$plotOptions.wilcoxPlotHeight'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
36 --CPU '$advancedOptions.CPU'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
37
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
38 #if $fontOptions.showFontOptions == "yes":
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
39 --font '$fontOptions.font_file'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
40 #end if
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
41
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
42 #if $colorsOptions.showColorsOptions == "yes":
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
43 --bootPlotColors '$colorsOptions.bootPlotColors'
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
44 #end if
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
45 ]]>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
46 </command>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
47 <inputs>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
48 <param argument="--input" format="tabular" type="data"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
49 label="deepTools computeMatrix output file."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
50
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
51 <param argument="--comparison" type="select"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
52 label="What do you want to compare?">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
53 <option value="scores" selected="true">scores</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
54 <option value="regions">regions</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
55 </param>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
56
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
57 <param argument="--signalName" type="text" value= "Normalized ATAC-seq counts"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
58 label="Name of the genomic signal" help="Name given to the signal on the plots, \n can be added for linebreaks."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
59
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
60 <conditional name="scaleRegions">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
61 <param name="showScaleRegionsOpt" type="select" label="Which mode was used in deepTools computeMatrix?">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
62 <option value="reference-point" selected="true">reference-point</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
63 <option value="scale-regions">scale-regions</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
64 </param>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
65 <when value="scale-regions">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
66 <param argument="--firstRegionName" type="text" value="TSS" size="10"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
67 label="Label for the region start"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
68 help ="Label shown in the plot
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
69 for the start of the region. Default is TSS (transcription start site),
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
70 but could be changed to anything, e.g. &quot;peak start&quot;." />
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
71 <param argument="--secondRegionName" type="text" value="TES" size="10"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
72 label="Label for the region end"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
73 help ="Label shown in the plot
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
74 for the end of the region. Default is TES (transcription end site),
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
75 but could be changed to anything, e.g. &quot;peak end&quot;." />
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
76 </when>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
77 <when value="reference-point">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
78 <param argument="--firstRegionName" type="text" value="TSS"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
79 label="Label for the region start"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
80 help ="Label shown in the plot
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
81 for the start of the region. Default is TSS (transcription start site),
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
82 but could be changed to anything, e.g. &quot;peak start&quot;." />
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
83 </when>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
84 </conditional>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
85
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
86 <section name="nameLabels" title="Customize score and region labels" expanded="false">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
87 <param argument="--scoreLabels" optional="true" type="text" value= ""
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
88 label="Name of the scores" help="For plot display. It must be provided as text seperated
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
89 by semi-colons, i.e. 'Score A;Score B;Score C' as in the example.">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
90 <sanitizer>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
91 <valid initial="string.printable"/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
92 </sanitizer>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
93 </param>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
94
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
95 <param argument="--regionLabels" optional="true" type="text" value= ""
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
96 label="Name of the regions" help="For plot display. It must be provided as text seperated
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
97 by semi-colons, i.e. 'Regions A;Regions B;Regions C' as in the example.">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
98 <sanitizer>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
99 <valid initial="string.printable"/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
100 </sanitizer>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
101 </param>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
102 </section>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
103
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
104 <section name="statsOptions" title="Statistics options" expanded="false">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
105 <param argument="--bootstraps" type="integer" value="1000"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
106 label="--bootstraps" help="Number of bootstraps to perform. Default is 1000,
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
107 increasing this number will increase the computing time."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
108 <param argument="--bootstrapsCI" type="float" value="0.95"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
109 label="--bootstrapsCI" help="Bootstraps confidence interval. Default is 0.95,
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
110 increasing this will make the analysis more stringent by increasing the min and max of the shadowed area on the bootstrap plot."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
111 <param argument="--wilcoxThreshold" type="float" value="0.05"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
112 label="--wilcoxThreshold" help="Threshold used to define significant
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
113 bins on the Wilcoxon rank-sum test plot (grey box). Default is 0.05"/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
114 </section>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
115
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
116 <section name="plotOptions" title="Plotting options" expanded="false">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
117 <param argument="--bootPlotShareY" type="select" label="--bootPlotShareY">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
118 <option value="TRUE" selected="true">TRUE</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
119 <option value="FALSE">FALSE</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
120 </param>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
121 <param argument="--bootPlotRatio" type="float" value="0.85" label="--bootPlotRatio"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
122 help="Changes the aspect ratio of the plot. A value inferior to 1 results in a wide plot,
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
123 a value above 1 results in a narrow plot. Default: 0.85."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
124
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
125 <param argument="--bootPlotWidth" type="float" value="5.2" label="--bootPlotWidth"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
126 help="How large the bootstraps plot should be."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
127
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
128 <param argument="--bootPlotHeight" type="float" value="3.7" label="--bootPlotHeight"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
129 help="How tall the bootstraps plot should be."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
130
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
131 <param argument="--wilcoxPlotWidth" type="float" value="4.6" label="--wilcoxPlotWidth"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
132 help="How large the Wilcoxon rank-sum test plot should be."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
133
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
134 <param argument="--wilcoxPlotHeight" type="float" value="4.6" label="--wilcoxPlotHeight"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
135 help="How tall the Wilcoxon rank-sum test plot should be."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
136 </section>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
137
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
138 <section name="advancedOptions" title="Computing options" expanded="false">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
139 <param argument="--CPU" type="integer" value="4" label="--CPU"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
140 help="Number of CPU to use."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
141 </section>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
142
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
143 <conditional name="fontOptions">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
144 <param name="showFontOptions" type="select" label="Customize font?">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
145 <option value="No" selected="true">No</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
146 <option value="Yes">Yes</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
147 </param>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
148 <when value="No"/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
149 <when value="Yes">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
150 <param argument="--font" type="file" format="ttf" value=" " label="--font" optional="true"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
151 help="Font used for plotting, given a TTF file. Default is usually Helvetica."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
152 </when>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
153 </conditional>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
154
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
155 <conditional name="colorsOptions">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
156 <param name="showColorsOptions" type="select" label="Customize colors?">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
157 <option value="No" selected="true">No</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
158 <option value="Yes">Yes</option>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
159 </param>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
160 <when value="No"/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
161 <when value="Yes">
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
162 <param argument="--bootPlotColors" type="file" format="tabular" value=" " label="--bootPlotColors"
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
163 help="Change the bootstraps plot color palette to a user-provided one. The file must
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
164 be tab-delimited and contain for each line two HTML color codes ( #3366CC #769EF2 ).
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
165 The first column corresponds to the mean color, the second column corresponds to the
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
166 color of the bootstrap confidence interval shadowed area. The default color scale
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
167 contains 6 colors that are color blind friendly using the dichromat R package."/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
168 </when>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
169 </conditional>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
170
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
171 </inputs>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
172 <outputs>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
173 <data format="pdf" name="pdf1" label="${tool.name} on ${on_string}: Bootstrap Plot" from_work_dir="output_bootstraps.pdf"/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
174 <data format="pdf" name="pdf2" label="${tool.name} on ${on_string}: Wilcox Plot" from_work_dir="output_wilcoxon.pdf"/>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
175 </outputs>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
176 <tests>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
177 <test>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
178 </test>
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
179 </tests>
1
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
180 <help><![CDATA[
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
181
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
182 .. role:: raw-html(raw)
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
183 :format: html
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
184
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
185 .. image:: https://raw.githubusercontent.com/gtrichard/deepStats/master/docs/images/deepStats_logo.png
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
186 :width: 400
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
187
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
188 :raw-html:`<br />`
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
189
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
190 dsCompareCurves: Comparing multiple genomic scores at multiple regions sets
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
191 ===========================================================================
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
192
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
193
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
194 **dsCompareCurves** assesses if multiple genomics signals (ChIP-seq, ATAC-seq, etc as .bigwig files) are significantly different or not for multiple region sets (.bed files). ``dsCompareCurves`` uses bootstraps and corrected Wilcoxon Rank-sum tests to do so. This tool uses the output of deepTools ``computeMatrix --outFileNameMatrix``, that thus must be used prior to ``dsCompareCurves``. Eitherway the regions are compared for each signal (``--comparison regions``), or all the signals are compared for each region set (``--comparison scores``).
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
195
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
196
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
197 _______________
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
198
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
199
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
200 Example usage
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
201 -------------
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
202
0
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
203
1
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
204 Below you can find an example of regions comparison.
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
205
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
206 We consider two set of regions, conserved genes, and unconserved genes in Drosophila melanogaster. The want to know which histone marks from modENCODE are differentially enriched between these two regions sets.
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
207
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
208 Prior to ``dsCompareCurves``, we used **deepTools** ``computeMatrix scale-regions`` with the two bed files as regions, and the three histone marks bigwig tracks as scores. We also added the optional parameter ``outFileNameMatrix`` in order to get the output as a tab-delimited file (.txt).
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
209
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
210 The latter file is then used as input for the present tool in "regions", in order to compare the conserved and unconserved genes for each one of the three histone marks. You can find an image describing the output below using the said data set and the following galaxy parameters:
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
211
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
212 .. class:: bold
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
213
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
214 `Example parameters`_
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
215
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
216 .. _Example parameters: https://raw.githubusercontent.com/gtrichard/deepStats/master/docs/images/dsCompareCurves_galaxy.png
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
217
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
218 :raw-html:`<br />`
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
219
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
220 Output description
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
221 ++++++++++++++++++
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
222
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
223 .. image:: https://raw.githubusercontent.com/gtrichard/deepStats/master/docs/images/dsCompareCurves_doc.png
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
224 :width: 800
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
225
a2022103f2a2 Uploaded
gtrichard
parents: 0
diff changeset
226 ]]></help>
0
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
227 <expand macro="citations" />
cbeae0f83ff8 Uploaded
gtrichard
parents:
diff changeset
228 </tool>