Mercurial > repos > bgruening > hicexplorer_hicmergematrixbins
comparison hicMergeMatrixBins.xml @ 12:5b298225b9b4 draft
"planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 91a0182476a7fc26be7bef1677790518c4e88348-dirty"
author | bgruening |
---|---|
date | Mon, 16 Dec 2019 13:21:31 +0000 |
parents | 9f926a9d3f84 |
children | 4d8f5bb39a78 |
comparison
equal
deleted
inserted
replaced
11:9f926a9d3f84 | 12:5b298225b9b4 |
---|---|
4 <token name="@BINARY@">hicMergeMatrixBins</token> | 4 <token name="@BINARY@">hicMergeMatrixBins</token> |
5 <import>macros.xml</import> | 5 <import>macros.xml</import> |
6 </macros> | 6 </macros> |
7 <expand macro="requirements" /> | 7 <expand macro="requirements" /> |
8 <command detect_errors="exit_code"><![CDATA[ | 8 <command detect_errors="exit_code"><![CDATA[ |
9 ln -s '$matrix_h5_cooler' 'matrix.$matrix_h5_cooler.ext' && | 9 hicMergeMatrixBins |
10 @BINARY@ | 10 --matrix '$matrix_h5_cooler' |
11 --matrix 'matrix.$matrix_h5_cooler.ext' | |
12 --numBins $numBins | 11 --numBins $numBins |
13 $runningWindow | 12 $runningWindow |
14 --outFileName 'matrix.$matrix_h5_cooler.ext' | 13 --outFileName matrix.$outputFormat |
15 && mv 'matrix.$matrix_h5_cooler.ext' matrix | 14 && mv matrix.$outputFormat matrix |
16 | 15 |
17 ]]> | 16 ]]> |
18 </command> | 17 </command> |
19 <inputs> | 18 <inputs> |
20 <expand macro='matrix_h5_cooler_macro' /> | 19 <expand macro='matrix_h5_cooler_macro' /> |
21 | 20 |
22 <param argument="--numBins" type="integer" min="1" value="3" label="Number of bins to merge" /> | 21 <param argument="--numBins" type="integer" min="1" value="3" label="Number of bins to merge" /> |
23 <param argument="--runningWindow" type="boolean" falsevalue="" truevalue="--runningWindow" label="Set to merge for using a running window of length --numBins. Usually not set." /> | 22 <param argument="--runningWindow" type="boolean" falsevalue="" truevalue="--runningWindow" label="Set to merge for using a running window of length --numBins. Usually not set." /> |
23 <param name='outputFormat' type='select' label="Output file format"> | |
24 <option value='h5' selected='true'>HiCExplorer format</option> | |
25 <option value="cool">cool</option> | |
26 </param> | |
24 </inputs> | 27 </inputs> |
25 <outputs> | 28 <outputs> |
26 <data name="outFileName" from_work_dir="matrix" format="cool"> | 29 <data name="outFileName" from_work_dir="matrix" format="h5"> |
27 <change_format> | 30 <change_format> |
28 <when input_dataset="matrix_h5_cooler" attribute="ext" value="h5" format="h5"/> | 31 <when input="outputFormat" value="cool" format="cool" /> |
29 </change_format> | 32 </change_format> |
30 </data> | 33 </data> |
31 </outputs> | 34 </outputs> |
32 <tests> | 35 <tests> |
33 <test> | 36 <test> |
34 <param name="matrix_h5_cooler" value="small_test_matrix.h5"/> | 37 <param name="matrix_h5_cooler" value="small_test_matrix.h5"/> |
35 <param name="numBins" value="5" /> | 38 <param name="numBins" value="5" /> |
36 <output name="outFileName" ftype="h5"> | 39 <output name="outFileName" file="hicMergeMatrixBins_result1.npz.h5" ftype="h5" compare="sim_size" delta="24000" /> |
37 <assert_contents> | |
38 <has_h5_keys keys='intervals,matrix,nan_bins'/> | |
39 </assert_contents> | |
40 </output> | |
41 </test> | 40 </test> |
42 </tests> | 41 </tests> |
43 <help><![CDATA[ | 42 <help><![CDATA[ |
44 | 43 |
45 Change matrix resolution | 44 Change matrix resolution |