comparison hicCompareMatrices.xml @ 13:3ee5332bf57c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
author iuc
date Wed, 18 Oct 2023 13:30:44 +0000
parents 80abd5e2922a
children e03780179ee5
comparison
equal deleted inserted replaced
12:826a6ac07f93 13:3ee5332bf57c
11 11
12 @BINARY@ 12 @BINARY@
13 --matrices 'matrix1.$matrix1.ext' 'matrix2.$matrix2.ext' 13 --matrices 'matrix1.$matrix1.ext' 'matrix2.$matrix2.ext'
14 --operation $operation 14 --operation $operation
15 --outFileName 'matrix.$matrix1.ext' 15 --outFileName 'matrix.$matrix1.ext'
16 16 $noNorm
17 && mv 'matrix.$matrix1.ext' matrix 17 && mv 'matrix.$matrix1.ext' matrix
18 ]]> 18 ]]>
19 </command> 19 </command>
20 <inputs> 20 <inputs>
21 <param name='matrix1' type="data" format="h5,cool" label="First matrix" /> 21 <param name="matrix1" type="data" format="h5,cool" label="First matrix" />
22 <param name='matrix2' type="data" format="h5,cool" label="Second matrix to compare against the first" /> 22 <param name="matrix2" type="data" format="h5,cool" label="Second matrix to compare against the first" />
23 23
24 <param name='operation' type='select' label="Operation to be used for the comparison"> 24 <param name="operation" type="select" label="Operation to be used for the comparison">
25 <option value='diff'>diff</option> 25 <option value="diff">diff</option>
26 <option value="ratio">ratio</option> 26 <option value="ratio">ratio</option>
27 <option value="log2ratio">log2ratio</option> 27 <option value="log2ratio">log2ratio</option>
28 </param> 28 </param>
29 <param name="noNorm" type="boolean" truevalue="--noNorm" falsevalue="" checked="False" label="No normalization" help="Do not apply normalisation before computing the operation" />
30
29 </inputs> 31 </inputs>
30 <outputs> 32 <outputs>
31 <data name="outFileName" from_work_dir="matrix" format="cool" label="${tool.name} MATRIX on ${on_string}"> 33 <data name="outFileName" from_work_dir="matrix" format="cool" label="${tool.name} MATRIX on ${on_string}">
32 <change_format> 34 <change_format>
33 <when input_dataset="matrix1" attribute="ext" value="h5" format="h5" /> 35 <when input_dataset="matrix1" attribute="ext" value="h5" format="h5" />
36 </outputs> 38 </outputs>
37 <tests> 39 <tests>
38 <test> 40 <test>
39 <param name="matrix1" value="small_test_matrix.h5" /> 41 <param name="matrix1" value="small_test_matrix.h5" />
40 <param name="matrix2" value="small_test_matrix.h5" /> 42 <param name="matrix2" value="small_test_matrix.h5" />
41 <param name="operation" value='log2ratio' /> 43 <param name="operation" value="log2ratio" />
42 <output name="outFileName" ftype="h5"> 44 <output name="outFileName" ftype="h5">
43 <assert_contents> 45 <assert_contents>
44 <has_h5_keys keys='intervals,matrix' /> 46 <has_h5_keys keys="intervals,matrix" />
45 </assert_contents> 47 </assert_contents>
46 </output> 48 </output>
47 </test> 49 </test>
48 50
49 </tests> 51 </tests>