comparison hicTransform.xml @ 0:369f6cb43a86 draft

planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 80462804e4fd7deafbcf8e8c5283cc7a98fa7dd5
author bgruening
date Sat, 30 Dec 2017 09:19:19 -0500
parents
children 3106dcd651f5
comparison
equal deleted inserted replaced
-1:000000000000 0:369f6cb43a86
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>
3 <macros>
4 <token name="@BINARY@">hicTransform</token>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements" />
8 <command detect_errors="exit_code"><![CDATA[
9
10
11 hicTransform --matrix '$matrix_h5_cooler'
12 --method all
13
14 #if $outputFormat == 'h5'
15 --outFileName matrix.h5
16 #elif $outputFormat == 'cool'
17 --outFileName matrix.cool
18 #end if
19
20 ]]>
21 </command>
22 <inputs>
23 <expand macro='matrix_h5_cooler_macro' />
24 <param name='outputFormat' type='select' label="Output file format">
25 <option value='h5'>HiCExplorer format</option>
26 <option value="cool">cool</option>
27 </param>
28
29 </inputs>
30 <outputs>
31 <data name="obs_exp_h5" from_work_dir="obs_exp_matrix.h5" format="h5">
32 <filter>outputFormat == 'h5'</filter>
33 </data>
34 <data name="pearson_h5" from_work_dir="pearson_matrix.h5" format="h5">
35 <filter>outputFormat == 'h5'</filter>
36 </data>
37 <data name="covariance_h5" from_work_dir="covariance_matrix.h5" format="h5">
38 <filter>outputFormat == 'h5'</filter>
39 </data>
40 <data name="obs_exp_cool" from_work_dir="obs_exp_matrix.cool" format="cool">
41 <filter>outputFormat == 'cool'</filter>
42 </data>
43 <data name="pearson_cool" from_work_dir="pearson_matrix.cool" format="cool">
44 <filter>outputFormat == 'cool'</filter>
45 </data>
46 <data name="covariance_cool" from_work_dir="covariance_matrix.cool" format="cool">
47 <filter>outputFormat == 'cool'</filter>
48 </data>
49
50 </outputs>
51 <tests>
52 <test>
53 <param name="matrix_h5_cooler" value="small_test_matrix_50kb_res.h5"/>
54 <param name="outputFormat" value="h5" />
55 <output name="obs_exp_h5" file="obs_exp_small_50kb.h5" ftype="h5" compare="sim_size"/>
56 <output name="pearson_h5" file="pearson_small_50kb.h5" ftype="h5" compare="sim_size"/>
57 <output name="covariance_h5" file="covariance_small_50kb.h5" ftype="h5" compare="sim_size"/>
58 </test>
59 <test>
60 <param name="matrix_h5_cooler" value="small_test_matrix_50kb_res.h5"/>
61 <param name="outputFormat" value="cool" />
62 <output name="obs_exp_cool" file="obs_exp_small_50kb.cool" ftype="cool" compare="sim_size"/>
63 <output name="pearson_cool" file="pearson_small_50kb.cool" ftype="cool" compare="sim_size"/>
64 <output name="covariance_cool" file="covariance_small_50kb.cool" ftype="cool" compare="sim_size"/>
65 </test>
66 </tests>
67 <help><![CDATA[
68 Transformation of matrix for plotting
69 =====================================
70 `hicTransform` computes three matrices: an observed/expected matrix based on it a
71 pearson correlation matrix and based on it a covariance matrix. These three matrices
72 can be used with `hicPlotMatrix` for an A / B compartment analysis.
73
74 Input
75 -----
76 - the matrix to be transformed
77
78 Parameters
79 __________
80 - Output file format: h5 or cool
81
82 Output
83 ------
84 - observed/expected matrix
85 - pearson correlation matrix
86 - covariance matrix.
87
88 | For more information about HiCExplorer please consider our documentation on readthedocs.io_
89
90 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html
91 ]]></help>
92 <expand macro="citations" />
93 </tool>