annotate dsCompareCurves.xml @ 7:ef6b589a3715 draft default tip

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