Mercurial > repos > bgruening > deeptools_plot_correlation
annotate plotCorrelation.xml @ 10:a5daff8fbee8 draft
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0eeb2e1a184186ba5ac044136e71b943e2af0f09
author | bgruening |
---|---|
date | Mon, 05 Dec 2016 08:11:06 -0500 |
parents | cdde99ce71c8 |
children | ed2767cdf4e8 |
rev | line source |
---|---|
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
1 <tool id="deeptools_plot_correlation" name="plotCorrelation" version="@WRAPPER_VERSION@.0"> |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
2 <description>Create a heatmap or scatterplot of correlation scores between different samples </description> |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
3 <macros> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
4 <token name="@BINARY@">plotCorrelation</token> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
5 <import>deepTools_macros.xml</import> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
6 </macros> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
8 <command> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
9 <![CDATA[ |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
10 @BINARY@ |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
11 --corData "$corData" |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
12 --plotFile "$outFileName" |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
13 --corMethod "$corMethod" |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
14 --whatToPlot "$plotting_type.whatToPlot" |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
15 #if str($plotting_type.whatToPlot) == 'heatmap': |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
16 @HEATMAP_OPTIONS@ |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
17 #else: |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
18 --plotTitle '$plotting_type.plotTitle' |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
19 #end if |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
20 $skipZeros |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
21 --plotFileFormat "$outFileFormat" |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
22 $removeOutliers |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
23 #if $outFileCorMatrix: |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
24 --outFileCorMatrix "$matrix" |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
25 #end if |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
26 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
27 ]]> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
28 </command> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
29 <inputs> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
30 <param name="corData" format="deeptools_coverage_matrix" type="data" label="Matrix file from the multiBamSummary tool"/> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
31 <expand macro="corMethod" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
32 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
33 <conditional name="plotting_type" > |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
34 <param argument="--whatToPlot" type="select" label="Plotting type"> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
35 <option value="heatmap" selected="True">Heatmap</option> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
36 <option value="scatterplot">Scatterplot</option> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
37 </param> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
38 <when value="heatmap"> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
39 <expand macro="heatmap_options" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
40 </when> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
41 <when value="scatterplot"> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
42 <expand macro="plotTitle" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
43 </when> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
44 </conditional> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
45 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
46 <expand macro="skipZeros" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
47 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
48 <expand macro="input_image_file_format" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
49 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
50 <param argument="--removeOutliers" type="boolean" |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
51 truevalue="--removeOutliers" falsevalue="" label="Remove regions with very large counts" |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
52 help="If set, bins with very large counts are removed. Bins |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
53 with abnormally high reads counts artificially |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
54 increase pearson correlation; that's why, by default, |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
55 plotCorrelation tries to remove outliers using the median |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
56 absolute deviation (MAD) method applying a threshold |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
57 of 200 to only consider extremely large deviations |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
58 from the median. ENCODE blacklist page (https://sites. |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
59 google.com/site/anshulkundaje/projects/blacklists) |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
60 contains useful information about regions with |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
61 unusually high counts."/> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
62 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
63 <param name="outFileCorMatrix" type="boolean" label="Save the matrix of values underlying the heatmap"/> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
64 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
65 </inputs> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
66 <outputs> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
67 <expand macro="output_image_file_format_not_nested" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
68 <data format="tabular" name="matrix" label="${tool.name} on ${on_string}: Correlation matrix"> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
69 <filter>outFileCorMatrix is True</filter> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
70 </data> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
71 </outputs> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
72 <tests> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
73 <test> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
74 <param name="corData" value="multiBamSummary_result1.npz" ftype="deeptools_coverage_matrix" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
75 <param name="outFileFormat" value="png" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
76 <param name="outFileCorMatrix" value="True" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
77 <output name="matrix" file="plotCorrelation_result1.tabular" ftype="tabular" /> |
3
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
78 <output name="outFileName" file="plotCorrelation_result1.png" ftype="png" compare="sim_size" delta="300" /> |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
79 </test> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
80 <test> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
81 <param name="corData" value="multiBamSummary_result1.npz" ftype="deeptools_coverage_matrix" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
82 <param name="outFileFormat" value="png" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
83 <param name="whatToPlot" value="scatterplot" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
84 <param name="removeOutliers" value="True" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
85 <param name="plotTitle" value="Test Plot" /> |
9
cdde99ce71c8
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2f53e1ab939f99201f72ef1a900cb9c542e3f484
bgruening
parents:
3
diff
changeset
|
86 <output name="outFileName" file="plotCorrelation_result2.png" ftype="png" compare="sim_size" delta="300" /> |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
87 </test> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
88 </tests> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
89 <help> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
90 <![CDATA[ |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
91 What it does |
3
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
92 ------------ |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
93 |
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
94 This tools takes the default output of ``multiBamSummary`` or ``multiBigwigSummary``, and computes the pairwise correlation among samples. |
3
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
95 Results can be visualized as **scatterplots** or as a **heatmap** of correlation coefficients (see below for examples). |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
96 |
3
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
97 Theoretical Background |
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
98 ---------------------- |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
99 |
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
100 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.) |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
101 |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
102 We offer two different functions for the correlation computation: *Pearson* or *Spearman*. |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
103 |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
104 The *Pearson method* measures the **metric differences** between samples and is therefore influenced by outliers. |
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
105 The *Spearman method* is based on **rankings**. |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
106 |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
107 Output |
3
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
108 ------ |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
109 |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
110 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). |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
111 |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
112 Optionally, you can also obtain a table of the pairwise correlation coefficients. |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
113 |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
114 .. image:: $PATH_TO_IMAGES/plotCorrelation_output.png |
3
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
115 :width: 600 |
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
116 :height: 271 |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
117 |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
118 Example plots |
3
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
119 ------------- |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
120 |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
121 The following is the output of ``plotCorrelation`` with our test ChIP-Seq datasets (to be found under "Shared Data" --> "Data Library"). |
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
122 |
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
123 Average coverages were computed over 10 kb bins for chromosome X, |
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
124 from bigWig files using ``multiBigwigSummary``. This was then used with ``plotCorrelation`` to make a heatmap of Spearman correlation coefficients. |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
125 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
126 .. image:: $PATH_TO_IMAGES/plotCorrelation_galaxy_bw_heatmap_output.png |
3
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
127 :width: 600 |
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
128 :height: 518 |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
129 |
1
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
130 The scatterplot could look like this: |
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
131 |
0ed13872209b
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit fef8b344925620444d93d8159c0b2731a5777920
bgruening
parents:
0
diff
changeset
|
132 .. image:: $PATH_TO_IMAGES/plotCorrelation_scatterplot_PearsonCorr_bigwigScores.png |
3
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
133 :width: 600 |
df65a17fb5d1
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
bgruening
parents:
2
diff
changeset
|
134 :height: 600 |
0
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
135 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
136 ----- |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
137 |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
138 @REFERENCES@ |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
139 ]]> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
140 </help> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
141 <expand macro="citations" /> |
bfa132aacee6
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
bgruening
parents:
diff
changeset
|
142 </tool> |