Mercurial > repos > bgruening > hicexplorer_hicsummatrices
comparison hicSumMatrices.xml @ 0:c4ee66c35eb6 draft
planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 2f347b0756d720114f037ed1ff9ba4836e1b3b04
author | bgruening |
---|---|
date | Thu, 30 Mar 2017 03:09:22 -0400 |
parents | |
children | 2bbe234ca6ce |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c4ee66c35eb6 |
---|---|
1 <tool id="hicexplorer_hicsummatrices" name="@BINARY@" version="@WRAPPER_VERSION@.0"> | |
2 <description>combines Hi-C matrices of the same size</description> | |
3 <macros> | |
4 <token name="@BINARY@">hicSumMatrices</token> | |
5 <import>macros.xml</import> | |
6 </macros> | |
7 <expand macro="requirements" /> | |
8 <command> | |
9 <![CDATA[ | |
10 #for $counter, $m in enumerate($matrices): | |
11 ln -s '$m' ${counter}.npz.h5 && | |
12 #end for | |
13 | |
14 #set $m = '" "'.join([ '%s.npz.h5' % $counter for $counter, $matrix in enumerate($matrices) ]) | |
15 hicSumMatrices | |
16 --matrices "$m" | |
17 --outFileName ./out.npz.h5 | |
18 | |
19 ]]> | |
20 </command> | |
21 <inputs> | |
22 | |
23 <param argument="--matrices" type="data" format="h5" multiple="True" | |
24 label="Matrices to combine" help="Needs to have the same shape"/> | |
25 | |
26 </inputs> | |
27 <outputs> | |
28 <data name="outFileName" from_work_dir="out.npz.h5" format="h5"/> | |
29 </outputs> | |
30 <tests> | |
31 <test> | |
32 <param name="matrices" value="hicCorrectMatrix_result1.npz.h5,hicCorrectMatrix_result1.npz.h5"/> | |
33 <output name="outFileName" file="hicSumMatrices_result1.npz.h5" ftype="h5" compare="sim_size" delta="70000"/> | |
34 </test> | |
35 </tests> | |
36 <help><![CDATA[ | |
37 | |
38 **What it does** | |
39 | |
40 Combines Hi-C matrices of the same size. | |
41 | |
42 ]]></help> | |
43 <expand macro="citations" /> | |
44 </tool> |