Mercurial > repos > bgruening > hicexplorer_hicmergematrixbins
comparison hicMergeMatrixBins.xml @ 21:08a76d7a4bdb draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 8586409c5f329eaf75902eedc3d29a6e82560788
author | iuc |
---|---|
date | Mon, 01 Jul 2024 19:22:14 +0000 |
parents | 566cc39d8d04 |
children |
comparison
equal
deleted
inserted
replaced
20:9fb16042c466 | 21:08a76d7a4bdb |
---|---|
1 <tool id="hicexplorer_hicmergematrixbins" name="@BINARY@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> | 1 <tool id="hicexplorer_hicmergematrixbins" name="@BINARY@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
2 <description>merge adjacent bins from a Hi-C contact matrix to reduce its resolution</description> | 2 <description>merge adjacent bins from a Hi-C contact matrix to reduce its resolution</description> |
3 <macros> | 3 <macros> |
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> |
9 ln -s '$matrix_h5_cooler' 'matrix.$matrix_h5_cooler.ext' && | 9 ln -s '$matrix_h5_cooler' 'matrix.$matrix_h5_cooler.ext' && |
10 @BINARY@ | 10 @BINARY@ |
11 --matrix 'matrix.$matrix_h5_cooler.ext' | 11 --matrix 'matrix.$matrix_h5_cooler.ext' |
12 --numBins $numBins | 12 --numBins $numBins |
13 $runningWindow | 13 $runningWindow |
14 --outFileName 'matrix.$matrix_h5_cooler.ext' | 14 --outFileName 'out_matrix.$matrix_h5_cooler.ext' |
15 && mv 'matrix.$matrix_h5_cooler.ext' matrix | 15 && mv 'out_matrix.$matrix_h5_cooler.ext' matrix |
16 ]]> | 16 ]]> |
17 </command> | 17 </command> |
18 <inputs> | 18 <inputs> |
19 <expand macro='matrix_h5_cooler_macro' /> | 19 <expand macro="matrix_h5_cooler_macro" /> |
20 <param argument="--numBins" type="integer" min="1" value="3" label="Number of bins to merge" /> | 20 <param argument="--numBins" type="integer" min="1" value="3" label="Number of bins to merge" /> |
21 <param argument="--runningWindow" type="boolean" falsevalue="" truevalue="--runningWindow" label="Set to merge for using a running window of length --numBins. Usually not set." /> | 21 <param argument="--runningWindow" type="boolean" falsevalue="" truevalue="--runningWindow" label="Set to merge for using a running window of length --numBins. Usually not set." /> |
22 </inputs> | 22 </inputs> |
23 <outputs> | 23 <outputs> |
24 <data name="outFileName" from_work_dir="matrix" format="cool"> | 24 <data name="outFileName" from_work_dir="matrix" format="cool"> |
31 <test> | 31 <test> |
32 <param name="matrix_h5_cooler" value="small_test_matrix.h5" /> | 32 <param name="matrix_h5_cooler" value="small_test_matrix.h5" /> |
33 <param name="numBins" value="5" /> | 33 <param name="numBins" value="5" /> |
34 <output name="outFileName" ftype="h5"> | 34 <output name="outFileName" ftype="h5"> |
35 <assert_contents> | 35 <assert_contents> |
36 <has_h5_keys keys='intervals,matrix,nan_bins' /> | 36 <has_h5_keys keys="intervals,matrix,nan_bins" /> |
37 </assert_contents> | 37 </assert_contents> |
38 </output> | 38 </output> |
39 </test> | 39 </test> |
40 </tests> | 40 </tests> |
41 <help><![CDATA[ | 41 <help><![CDATA[ |