comparison hicTransform.xml @ 4:d5bf6e7d3800 draft

planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit eec0a4d5a7c5ba4ec0fbd2ead8280c3d143bb9d8
author iuc
date Fri, 27 Apr 2018 03:34:37 -0400
parents 303558d3bc11
children 09ae55eb26fa
comparison
equal deleted inserted replaced
3:303558d3bc11 4:d5bf6e7d3800
1 <tool id="hicexplorer_hictransform" name="@BINARY@" version="@WRAPPER_VERSION@.0"> 1 <tool id="hicexplorer_hictransform" name="@BINARY@" version="@WRAPPER_VERSION@.0">
2 <description>transforms a matrix to a obs_exp, pearson and covariance matrix</description> 2 <description>transform a matrix to obs/exp, pearson and covariance matrices</description>
3 <macros> 3 <macros>
4 <token name="@BINARY@">hicTransform</token> 4 <token name="@BINARY@">hicTransform</token>
5 <import>macros.xml</import> 5 <import>macros.xml</import>
6 </macros> 6 </macros>
7 <expand macro="requirements" /> 7 <expand macro="requirements" />
23 <option value="cool">cool</option> 23 <option value="cool">cool</option>
24 </param> 24 </param>
25 25
26 </inputs> 26 </inputs>
27 <outputs> 27 <outputs>
28 <data name="obs_exp" from_work_dir="obs_exp_matrix" format="h5"> 28 <data name="obs_exp" from_work_dir="obs_exp_matrix" format="h5" label="${tool.name} on ${matrix_h5_cooler.name} [${on_string}]: Observed/Expected matrix">
29 <change_format> 29 <change_format>
30 <when input="outputFormat" value="cool" format="cool" /> 30 <when input="outputFormat" value="cool" format="cool"/>
31 </change_format> 31 </change_format>
32 </data> 32 </data>
33 <data name="pearson" from_work_dir="pearson_matrix" format="h5"> 33 <data name="pearson" from_work_dir="pearson_matrix" format="h5" label="${tool.name} on ${matrix_h5_cooler.name} [${on_string}]: Pearson matrix">
34 <change_format> 34 <change_format>
35 <when input="outputFormat" value="cool" format="cool" /> 35 <when input="outputFormat" value="cool" format="cool"/>
36 </change_format> 36 </change_format>
37 </data> 37 </data>
38 <data name="covariance" from_work_dir="covariance_matrix" format="h5"> 38 <data name="covariance" from_work_dir="covariance_matrix" format="h5" label="${tool.name} on ${matrix_h5_cooler.name} [${on_string}]: Covariance matrix">
39 <change_format> 39 <change_format>
40 <when input="outputFormat" value="cool" format="cool" /> 40 <when input="outputFormat" value="cool" format="cool"/>
41 </change_format> 41 </change_format>
42 </data> 42 </data>
43 43
44 </outputs> 44 </outputs>
45 <tests> 45 <tests>
59 </test> 59 </test>
60 </tests> 60 </tests>
61 <help><![CDATA[ 61 <help><![CDATA[
62 Transformation of matrix for plotting 62 Transformation of matrix for plotting
63 ===================================== 63 =====================================
64 `hicTransform` computes three matrices: an observed/expected matrix based on it a
65 pearson correlation matrix and based on it a covariance matrix. These three matrices
66 can be used with `hicPlotMatrix` for an A / B compartment analysis.
67 64
68 Input 65 **hicTransform** computes three matrices based on one Hi-C contact matrix as input based on the methods determined by `Lieberman-Aiden et al. (2009)`_:
69 -----
70 - the matrix to be transformed
71 66
72 Parameters 67 - An **observed/expected matrix** obtained "by dividing each entry in the contact matrix by the genome-wide average contact probability for loci at that genomic distance" (`Lieberman-Aiden et al. (2009)`_). This transformation allows to better assess long range interactions.
73 __________ 68 - A **Pearson correlation matrix** obtained by computing the Pearson correlation between each bin based on observed/expected values. This matrix transformation allows to better identify the bins that are entering in contact together, or not, at long ranges, and thus helps defining compartments in the nucleus (``hicPCA``).
74 - Output file format: h5 or cool 69 - A **covariance matrix**, which is used as a basis for the Principal Component Analysis (PCA) to compute the eigenvectors outputed by **hicTransform**.
70
71 These three matrices can be used with ``hicPlotMatrix`` or ``hicPlotTADs`` for a visualization of the A / B compartment analysis.
72
73 _________________
75 74
76 Output 75 Output
77 ------ 76 ------
78 - observed/expected matrix 77
79 - pearson correlation matrix 78 From one Hi-C contact matrix, **hicTransform** outputs the observed/expected, Pearson correlation and covariance matrices.
80 - covariance matrix. 79
80 _________________
81 81
82 | For more information about HiCExplorer please consider our documentation on readthedocs.io_ 82 | For more information about HiCExplorer please consider our documentation on readthedocs.io_
83 83
84 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html 84 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html
85 .. _`Lieberman-Aiden et al. (2009)`: https://dx.doi.org/10.1126%2Fscience.1181369
85 ]]></help> 86 ]]></help>
86 <expand macro="citations" /> 87 <expand macro="citations" />
87 </tool> 88 </tool>