Mercurial > repos > bgruening > deeptools_plot_correlation
comparison plotCorrelation.xml @ 0:b0050909cf03 draft
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit e1fd513c18e0d5b53071d99f539ac3509ced01aa-dirty
| author | bgruening |
|---|---|
| date | Wed, 16 Dec 2015 16:39:47 -0500 |
| parents | |
| children | c5634baf9bf9 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:b0050909cf03 |
|---|---|
| 1 <tool id="deeptools_plot_correlation" name="plotCorrelation" version="@WRAPPER_VERSION@.0"> | |
| 2 <description>creates a heatmap for a score associated to genomic regions</description> | |
| 3 <macros> | |
| 4 <token name="@BINARY@">plotCorrelation</token> | |
| 5 <import>deepTools_macros.xml</import> | |
| 6 </macros> | |
| 7 <expand macro="requirements"/> | |
| 8 <command> | |
| 9 <![CDATA[ | |
| 10 @BINARY@ | |
| 11 --corData "$corData" | |
| 12 --plotFile "$outFileName" | |
| 13 --corMethod "$corMethod" | |
| 14 --whatToPlot "$whatToPlot" | |
| 15 $skipZeros | |
| 16 --plotFileFormat "$outFileFormat" | |
| 17 $removeOutliers | |
| 18 --outFileCorMatrix "$matrix" | |
| 19 @HEATMAP_OPTIONS@ | |
| 20 | |
| 21 ]]> | |
| 22 </command> | |
| 23 <inputs> | |
| 24 <param name="corData" format="deeptools_coverage_matrix" type="data" label="Matrix file from the bamCorrelate tool"/> | |
| 25 <expand macro="corMethod" /> | |
| 26 | |
| 27 <param argument="--whatToPlot" type="select" label="Plotting type"> | |
| 28 <option value="heatmap" selected="True">Spearman</option> | |
| 29 <option value="scatterplot">Pearson</option> | |
| 30 </param> | |
| 31 | |
| 32 <expand macro="skipZeros" /> | |
| 33 | |
| 34 <expand macro="image_file_format" /> | |
| 35 | |
| 36 <param argument="--removeOutliers" type="boolean" | |
| 37 truevalue="--removeOutliers" falsevalue="" label="Remove regions with very large counts" | |
| 38 help="If set, bins with very large counts are removed. Bins | |
| 39 with abnormally high reads counts artificially | |
| 40 increase pearson correlation; that's why, by default, | |
| 41 bamCorrelate tries to remove outliers using the median | |
| 42 absolute deviation (MAD) method applying a threshold | |
| 43 of 200 to only consider extremely large deviations | |
| 44 from the median. ENCODE blacklist page (https://sites. | |
| 45 google.com/site/anshulkundaje/projects/blacklists) | |
| 46 contains useful information about regions with | |
| 47 unusually high counts."/> | |
| 48 | |
| 49 <param name="outFileCorMatrix" type="boolean" label="Save the matrix of values underlying the heatmap"/> | |
| 50 <expand macro="heatmap_options" /> | |
| 51 | |
| 52 </inputs> | |
| 53 <outputs> | |
| 54 <expand macro="output_image_file_format" /> | |
| 55 <data format="tabular" name="matrix" label="${tool.name} on ${on_string}: Correlation matrix"> | |
| 56 <filter>outFileCorMatrix is True</filter> | |
| 57 </data> | |
| 58 </outputs> | |
| 59 <tests> | |
| 60 <test> | |
| 61 <param name="corData" value="bamCorrelate_result1.npz" ftype="deeptools_coverage_matrix" /> | |
| 62 <param name="outFileFormat" value="png" /> | |
| 63 <param name="outFileCorMatrix" value="True" /> | |
| 64 <output name="matrix" file="plotCorrelation_result1.tabular" ftype="tabular" /> | |
| 65 <output name="outFileName" file="plotCorrelation_result1.png" ftype="png" compare="sim_size" delta="100" /> | |
| 66 </test> | |
| 67 <test> | |
| 68 <param name="corData" value="bamCorrelate_result1.npz" ftype="deeptools_coverage_matrix" /> | |
| 69 <param name="outFileFormat" value="png" /> | |
| 70 <param name="whatToPlot" value="scatterplot" /> | |
| 71 <param name="removeOutliers" value="True" /> | |
| 72 <param name="plotTitle" value="Test Plot" /> | |
| 73 <output name="outFileName" file="plotCorrelation_result2.png" compare="sim_size" delta="100" /> | |
| 74 </test> | |
| 75 </tests> | |
| 76 <help> | |
| 77 <![CDATA[ | |
| 78 **What it does** | |
| 79 | |
| 80 Tool for visualizing a correlation using either bamCorrelate or | |
| 81 bigwigCorrelate. Pearson or Spearman methods are available to compute correlation | |
| 82 coefficients. Results can be saved into a heat map image or as multiple | |
| 83 scatter plots. Further output files are optional. | |
| 84 | |
| 85 ----- | |
| 86 | |
| 87 @REFERENCES@ | |
| 88 ]]> | |
| 89 </help> | |
| 90 <expand macro="citations" /> | |
| 91 </tool> |
