annotate hicCompareMatrices.xml @ 0:a0ab04565c73 draft

planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
author bgruening
date Wed, 07 Mar 2018 03:37:57 -0500
parents
children 08e157ceda6f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
1 <tool id="hicexplorer_hiccomparematrices" name="@BINARY@" version="@WRAPPER_VERSION@.0">
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
2 <description>normalize and compare two HiC matricies</description>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
3 <macros>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
4 <token name="@BINARY@">hicCompareMatrices</token>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
5 <import>macros.xml</import>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
6 </macros>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
7 <expand macro="requirements" />
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
9
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
10 @BINARY@
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
11 --matrices '$matrix1' '$matrix2'
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
12 --operation $operation
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
13 --outFileName matrix.$outputFormat
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
14
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
15 && mv matrix.$outputFormat matrix
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
16 ]]>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
17 </command>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
18 <inputs>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
19 <param name='matrix1' type="data" format="h5,cool"
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
20 label="First matrix"/>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
21 <param name='matrix2' type="data" format="h5,cool"
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
22 label="Second matrix to compare against the first"/>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
23
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
24 <param name='operation' type='select' label="Operation to be used for the comparison">
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
25 <option value='diff'>diff</option>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
26 <option value="ratio">ratio</option>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
27 <option value="log2ratio">log2ratio</option>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
28 </param>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
29 <param name='outputFormat' type='select' label="Output file format">
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
30 <option value='h5'>HiCExplorer format</option>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
31 <option value="cool">cool</option>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
32 </param>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
33 </inputs>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
34 <outputs>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
35 <data name="outFileName" from_work_dir="matrix" format="h5" label="${tool.name} MATRIX on ${on_string}">
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
36 <change_format>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
37 <when input="outputFormat" value="cool" format="cool" />
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
38 </change_format>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
39 </data>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
40 </outputs>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
41 <tests>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
42 <test>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
43 <param name="matrix1" value="small_test_matrix.h5"/>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
44 <param name="matrix2" value="small_test_matrix.h5"/>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
45 <param name="operation" value='log2ratio' />
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
46 <param name="outputFormat" value="h5" />
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
47 <output name="outFileName" file="compare_matrices_log2ratio.h5" ftype="h5" compare="sim_size" delta='2000'/>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
48 </test>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
49 <test>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
50 <param name="matrix1" value="pearson_small_50kb.cool"/>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
51 <param name="matrix2" value="pearson_small_50kb.cool"/>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
52 <param name="operation" value='ratio' />
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
53 <param name="outputFormat" value="cool" />
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
54 <output name="outFileName" file="compare_matrices_pearson_ratio.cool" ftype="cool" compare="sim_size" delta='2000'/>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
55 </test>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
56
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
57 </tests>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
58 <help><![CDATA[
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
59 Comparison of HiC matrices
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
60 ==========================
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
61 `hicCompareMatrices` takes two matrices, normalizes them and appliesthe given operation. To
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
62 normalize the matrices each element is divided by sum of the matrix.
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
63
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
64 Input
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
65 -----
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
66 - the matricies to be compared
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
67
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
68
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
69
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
70 | For more information about HiCExplorer please consider our documentation on readthedocs.io_
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
71
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
72 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
73 ]]></help>
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
74 <expand macro="citations" />
a0ab04565c73 planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 0456f085bac2c88b8cbddfcf12b02776d2a0d457
bgruening
parents:
diff changeset
75 </tool>