Mercurial > repos > bgruening > deeptools_plot_correlation
comparison plotCorrelation.xml @ 9:59ca699c7b77 draft
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b'a4965adc865b4c85b35ed205bc10821edc104f20'
| author | bgruening |
|---|---|
| date | Tue, 19 Jan 2016 10:08:48 -0500 |
| parents | a48149b2cb5e |
| children | cc0acb70ded3 |
comparison
equal
deleted
inserted
replaced
| 8:a48149b2cb5e | 9:59ca699c7b77 |
|---|---|
| 25 #end if | 25 #end if |
| 26 | 26 |
| 27 ]]> | 27 ]]> |
| 28 </command> | 28 </command> |
| 29 <inputs> | 29 <inputs> |
| 30 <param name="corData" format="deeptools_coverage_matrix" type="data" label="Matrix file from the bamCorrelate tool"/> | 30 <param name="corData" format="deeptools_coverage_matrix" type="data" label="Matrix file from the multiBamCoverage tool"/> |
| 31 <expand macro="corMethod" /> | 31 <expand macro="corMethod" /> |
| 32 | 32 |
| 33 <conditional name="plotting_type" > | 33 <conditional name="plotting_type" > |
| 34 <param argument="--whatToPlot" type="select" label="Plotting type"> | 34 <param argument="--whatToPlot" type="select" label="Plotting type"> |
| 35 <option value="heatmap" selected="True">Heatmap</option> | 35 <option value="heatmap" selected="True">Heatmap</option> |
| 50 <param argument="--removeOutliers" type="boolean" | 50 <param argument="--removeOutliers" type="boolean" |
| 51 truevalue="--removeOutliers" falsevalue="" label="Remove regions with very large counts" | 51 truevalue="--removeOutliers" falsevalue="" label="Remove regions with very large counts" |
| 52 help="If set, bins with very large counts are removed. Bins | 52 help="If set, bins with very large counts are removed. Bins |
| 53 with abnormally high reads counts artificially | 53 with abnormally high reads counts artificially |
| 54 increase pearson correlation; that's why, by default, | 54 increase pearson correlation; that's why, by default, |
| 55 bamCorrelate tries to remove outliers using the median | 55 plotCorrelation tries to remove outliers using the median |
| 56 absolute deviation (MAD) method applying a threshold | 56 absolute deviation (MAD) method applying a threshold |
| 57 of 200 to only consider extremely large deviations | 57 of 200 to only consider extremely large deviations |
| 58 from the median. ENCODE blacklist page (https://sites. | 58 from the median. ENCODE blacklist page (https://sites. |
| 59 google.com/site/anshulkundaje/projects/blacklists) | 59 google.com/site/anshulkundaje/projects/blacklists) |
| 60 contains useful information about regions with | 60 contains useful information about regions with |
| 69 <filter>outFileCorMatrix is True</filter> | 69 <filter>outFileCorMatrix is True</filter> |
| 70 </data> | 70 </data> |
| 71 </outputs> | 71 </outputs> |
| 72 <tests> | 72 <tests> |
| 73 <test> | 73 <test> |
| 74 <param name="corData" value="bamCorrelate_result1.npz" ftype="deeptools_coverage_matrix" /> | 74 <param name="corData" value="multiBamCoverage_result1.npz" ftype="deeptools_coverage_matrix" /> |
| 75 <param name="outFileFormat" value="png" /> | 75 <param name="outFileFormat" value="png" /> |
| 76 <param name="outFileCorMatrix" value="True" /> | 76 <param name="outFileCorMatrix" value="True" /> |
| 77 <output name="matrix" file="plotCorrelation_result1.tabular" ftype="tabular" /> | 77 <output name="matrix" file="plotCorrelation_result1.tabular" ftype="tabular" /> |
| 78 <output name="outFileName" file="plotCorrelation_result1.png" ftype="png" compare="sim_size" delta="100" /> | 78 <output name="outFileName" file="plotCorrelation_result1.png" ftype="png" compare="sim_size" delta="100" /> |
| 79 </test> | 79 </test> |
| 80 <test> | 80 <test> |
| 81 <param name="corData" value="bamCorrelate_result1.npz" ftype="deeptools_coverage_matrix" /> | 81 <param name="corData" value="multiBamCoverage_result1.npz" ftype="deeptools_coverage_matrix" /> |
| 82 <param name="outFileFormat" value="png" /> | 82 <param name="outFileFormat" value="png" /> |
| 83 <param name="whatToPlot" value="scatterplot" /> | 83 <param name="whatToPlot" value="scatterplot" /> |
| 84 <param name="removeOutliers" value="True" /> | 84 <param name="removeOutliers" value="True" /> |
| 85 <param name="plotTitle" value="Test Plot" /> | 85 <param name="plotTitle" value="Test Plot" /> |
| 86 <output name="outFileName" file="plotCorrelation_result2.png" ftpye="png" compare="sim_size" delta="100" /> | 86 <output name="outFileName" file="plotCorrelation_result2.png" ftpye="png" compare="sim_size" delta="100" /> |
| 91 **What it does** | 91 **What it does** |
| 92 | 92 |
| 93 This tools takes a compressed matrix of scores (such as read coverages) for a number of genomic regions | 93 This tools takes a compressed matrix of scores (such as read coverages) for a number of genomic regions |
| 94 and different samples. It can visualize the correlation among samples as scatterplots or as | 94 and different samples. It can visualize the correlation among samples as scatterplots or as |
| 95 a heatmap of correlation coefficients. Further output files are optional. | 95 a heatmap of correlation coefficients. Further output files are optional. |
| 96 The compressed input matrices are easily generated using the "bamCorrelate" and "bigwigCorrelate" tools. | 96 The compressed input matrices are easily generated using the "multiBamCoverage" and "multiBigwigSummary" tools. |
| 97 | 97 |
| 98 | 98 |
| 99 .. image:: $PATH_TO_IMAGES/QC_bamCorrelate_humanSamples.png | 99 .. image:: $PATH_TO_IMAGES/QC_multiBamCoverage_humanSamples.png |
| 100 :alt: Heatmap of RNA Polymerase II ChIP-seq | 100 :alt: Heatmap of RNA Polymerase II ChIP-seq |
| 101 | 101 |
| 102 | 102 |
| 103 You can find more details on plotCorrelation here http://deeptools.readthedocs.org/en/release-1.6/content/tools/plotCorrelation.html | 103 You can find more details on plotCorrelation here http://deeptools.readthedocs.org/en/master/content/tools/plotCorrelation.html |
| 104 | 104 |
| 105 | 105 |
| 106 **Output files**: | 106 **Output files**: |
| 107 | 107 |
| 108 - **diagnostic plot**: Either a scatterplot or clustered heatmap (select above) displaying the values for each pair-wise correlation, | 108 - **diagnostic plot**: Either a scatterplot or clustered heatmap (select above) displaying the values for each pair-wise correlation, |
| 110 - data matrix (optional): if you want to analyze or plot the correlation values using a different program, e.g. R, this matrix can be used | 110 - data matrix (optional): if you want to analyze or plot the correlation values using a different program, e.g. R, this matrix can be used |
| 111 | 111 |
| 112 **Output with test dataset**: | 112 **Output with test dataset**: |
| 113 | 113 |
| 114 The following is the output of plotCorrelation with our test ChIP-Seq datasets. Average coverages were computed over 10kb bins for chromosome X, | 114 The following is the output of plotCorrelation with our test ChIP-Seq datasets. Average coverages were computed over 10kb bins for chromosome X, |
| 115 from bigwig files using bigwigCorrelate. The output was used by plotCorrelation to make a heatmap of spearman correlation between samples. | 115 from bigwig files using multiBigwigSummary. The output was used by plotCorrelation to make a heatmap of spearman correlation between samples. |
| 116 | 116 |
| 117 .. image:: $PATH_TO_IMAGES/plotCorrelation_galaxy_bw_heatmap_output.png | 117 .. image:: $PATH_TO_IMAGES/plotCorrelation_galaxy_bw_heatmap_output.png |
| 118 | 118 |
| 119 | 119 |
| 120 ----- | 120 ----- |
