annotate plotCorrelation.xml @ 21:e97f5de6b2da draft

planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 3024062b63fdc502b46e4f328083493c2274182a
author bgruening
date Wed, 22 Aug 2018 16:30:22 -0400
parents 68c06ccce7bf
children 32e451def88c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
e97f5de6b2da planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 3024062b63fdc502b46e4f328083493c2274182a
bgruening
parents: 20
diff changeset
1 <tool id="deeptools_plot_correlation" name="plotCorrelation" version="@WRAPPER_VERSION@.0" profile="18.01">
12
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
2 <description>Create a heatmap or scatterplot of correlation scores between different samples </description>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
3 <macros>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
4 <token name="@BINARY@">plotCorrelation</token>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
5 <import>deepTools_macros.xml</import>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
6 </macros>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
7 <expand macro="requirements"/>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
8 <command>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
9 <![CDATA[
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
10 @BINARY@
19
4e8b35fd2173 planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents: 17
diff changeset
11 --corData '$corData'
4e8b35fd2173 planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents: 17
diff changeset
12 --plotFile '$outFileName'
4e8b35fd2173 planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents: 17
diff changeset
13 --corMethod '$corMethod'
4e8b35fd2173 planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents: 17
diff changeset
14 --whatToPlot '$plotting_type.whatToPlot'
12
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
15 #if str($plotting_type.whatToPlot) == 'heatmap':
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
16 @HEATMAP_OPTIONS@
14
d40bd147adf3 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents: 12
diff changeset
17 --plotWidth $plotting_type.plotWidth
d40bd147adf3 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents: 12
diff changeset
18 --plotHeight $plotting_type.plotHeight
12
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
19 #else:
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
20 --plotTitle '$plotting_type.plotTitle'
20
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
21 #if str($plotting_type.xRange) != '':
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
22 --xRange '$plotting_type.xRange'
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
23 #end if
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
24 #if str($plotting_type.yRange) != '':
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
25 --yRange '$plotting_type.yRange'
17
90d5df0a49bd planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents: 14
diff changeset
26 #end if
90d5df0a49bd planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents: 14
diff changeset
27 $plotting_type.log1p
12
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
28 #end if
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
29 $skipZeros
19
4e8b35fd2173 planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents: 17
diff changeset
30 --plotFileFormat '$outFileFormat'
12
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
31 $removeOutliers
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
32 #if $outFileCorMatrix:
19
4e8b35fd2173 planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents: 17
diff changeset
33 --outFileCorMatrix '$matrix'
12
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
34 #end if
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
35
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
36 ]]>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
37 </command>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
38 <inputs>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
39 <param name="corData" format="deeptools_coverage_matrix" type="data" label="Matrix file from the multiBamSummary tool"/>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
40 <expand macro="corMethod" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
41
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
42 <conditional name="plotting_type" >
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
43 <param argument="--whatToPlot" type="select" label="Plotting type">
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
44 <option value="heatmap" selected="True">Heatmap</option>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
45 <option value="scatterplot">Scatterplot</option>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
46 </param>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
47 <when value="heatmap">
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
48 <expand macro="heatmap_options" />
14
d40bd147adf3 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents: 12
diff changeset
49 <expand macro="plotWidthHeight" PLOTWIDTH="11.0" PLOTHEIGHT="9.5" />
12
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
50 </when>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
51 <when value="scatterplot">
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
52 <expand macro="plotTitle" />
20
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
53 <param argument="--xRange" type="text" value="" optional="true"
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
54 label="X axis range"
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
55 help="X axis range, the default scales these such that the full range of dots is displayed. The input should be two integers separated by a space." />
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
56 <param argument="--yRange" type="text" value="" optional="true"
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
57 label="Y axis range"
68c06ccce7bf planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 38cfe39e3b3c82bbc0c2013e3068bd71adc3a9cb
bgruening
parents: 19
diff changeset
58 help="Y axis range, the default scales these such that the full range of dots is displayed. The input should be two integers separated by a space." />
17
90d5df0a49bd planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents: 14
diff changeset
59 <param argument="--log1p" type="boolean" truevalue="--log1p" falsevalue=""
90d5df0a49bd planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents: 14
diff changeset
60 label="Log transform"
90d5df0a49bd planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents: 14
diff changeset
61 help="Plot the natural log of the scatter plot after adding 1. Note that this is ONLY for plotting, the correlation is unaffected." />
12
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
62 </when>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
63 </conditional>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
64
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
65 <expand macro="skipZeros" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
66
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
67 <expand macro="input_image_file_format" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
68
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
69 <param argument="--removeOutliers" type="boolean"
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
70 truevalue="--removeOutliers" falsevalue="" label="Remove regions with very large counts"
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
71 help="If set, bins with very large counts are removed. Bins
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
72 with abnormally high reads counts artificially
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
73 increase pearson correlation; that's why, by default,
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
74 plotCorrelation tries to remove outliers using the median
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
75 absolute deviation (MAD) method applying a threshold
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
76 of 200 to only consider extremely large deviations
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
77 from the median. ENCODE blacklist page (https://sites.
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
78 google.com/site/anshulkundaje/projects/blacklists)
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
79 contains useful information about regions with
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
80 unusually high counts."/>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
81
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
82 <param name="outFileCorMatrix" type="boolean" label="Save the matrix of values underlying the heatmap"/>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
83
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
84 </inputs>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
85 <outputs>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
86 <expand macro="output_image_file_format_not_nested" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
87 <data format="tabular" name="matrix" label="${tool.name} on ${on_string}: Correlation matrix">
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
88 <filter>outFileCorMatrix is True</filter>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
89 </data>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
90 </outputs>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
91 <tests>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
92 <test>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
93 <param name="corData" value="multiBamSummary_result1.npz" ftype="deeptools_coverage_matrix" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
94 <param name="outFileFormat" value="png" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
95 <param name="outFileCorMatrix" value="True" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
96 <output name="matrix" file="plotCorrelation_result1.tabular" ftype="tabular" />
17
90d5df0a49bd planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents: 14
diff changeset
97 <output name="outFileName" file="plotCorrelation_result1.png" ftype="png" compare="sim_size" delta="400" />
12
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
98 </test>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
99 <test>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
100 <param name="corData" value="multiBamSummary_result1.npz" ftype="deeptools_coverage_matrix" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
101 <param name="outFileFormat" value="png" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
102 <param name="whatToPlot" value="scatterplot" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
103 <param name="removeOutliers" value="True" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
104 <param name="plotTitle" value="Test Plot" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
105 <output name="outFileName" file="plotCorrelation_result2.png" ftype="png" compare="sim_size" delta="300" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
106 </test>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
107 </tests>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
108 <help>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
109 <![CDATA[
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
110 What it does
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
111 ------------
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
112
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
113 This tools takes the default output of ``multiBamSummary`` or ``multiBigwigSummary``, and computes the pairwise correlation among samples.
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
114 Results can be visualized as **scatterplots** or as a **heatmap** of correlation coefficients (see below for examples).
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
115
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
116 Theoretical Background
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
117 ----------------------
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
118
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
119 The result of the correlation computation is a **table of correlation coefficients** that indicates how "strong" the relationship between two samples is and it will consist of numbers between -1 and 1. (-1 indicates perfect anti-correlation, 1 perfect correlation.)
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
120
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
121 We offer two different functions for the correlation computation: *Pearson* or *Spearman*.
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
122
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
123 The *Pearson method* measures the **metric differences** between samples and is therefore influenced by outliers.
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
124 The *Spearman method* is based on **rankings**.
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
125
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
126 Output
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
127 ------
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
128
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
129 The default output is a **diagnostic plot** -- either a scatterplot or a clustered heatmap displaying the values for each pair-wise correlation (see below for example plots).
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
130
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
131 Optionally, you can also obtain a table of the pairwise correlation coefficients.
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
132
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
133 .. image:: $PATH_TO_IMAGES/plotCorrelation_output.png
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
134 :width: 600
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
135 :height: 271
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
136
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
137 Example plots
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
138 -------------
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
139
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
140 The following is the output of ``plotCorrelation`` with our test ChIP-Seq datasets (to be found under "Shared Data" --> "Data Library").
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
141
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
142 Average coverages were computed over 10 kb bins for chromosome X,
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
143 from bigWig files using ``multiBigwigSummary``. This was then used with ``plotCorrelation`` to make a heatmap of Spearman correlation coefficients.
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
144
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
145 .. image:: $PATH_TO_IMAGES/plotCorrelation_galaxy_bw_heatmap_output.png
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
146 :width: 600
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
147 :height: 518
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
148
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
149 The scatterplot could look like this:
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
150
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
151 .. image:: $PATH_TO_IMAGES/plotCorrelation_scatterplot_PearsonCorr_bigwigScores.png
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
152 :width: 600
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
153 :height: 600
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
154
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
155 -----
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
156
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
157 @REFERENCES@
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
158 ]]>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
159 </help>
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
160 <expand macro="citations" />
ed2767cdf4e8 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents: 9
diff changeset
161 </tool>