Mercurial > repos > bgruening > hicexplorer_hicsummatrices
view 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 |
line wrap: on
line source
<tool id="hicexplorer_hicsummatrices" name="@BINARY@" version="@WRAPPER_VERSION@.0"> <description>combines Hi-C matrices of the same size</description> <macros> <token name="@BINARY@">hicSumMatrices</token> <import>macros.xml</import> </macros> <expand macro="requirements" /> <command> <![CDATA[ #for $counter, $m in enumerate($matrices): ln -s '$m' ${counter}.npz.h5 && #end for #set $m = '" "'.join([ '%s.npz.h5' % $counter for $counter, $matrix in enumerate($matrices) ]) hicSumMatrices --matrices "$m" --outFileName ./out.npz.h5 ]]> </command> <inputs> <param argument="--matrices" type="data" format="h5" multiple="True" label="Matrices to combine" help="Needs to have the same shape"/> </inputs> <outputs> <data name="outFileName" from_work_dir="out.npz.h5" format="h5"/> </outputs> <tests> <test> <param name="matrices" value="hicCorrectMatrix_result1.npz.h5,hicCorrectMatrix_result1.npz.h5"/> <output name="outFileName" file="hicSumMatrices_result1.npz.h5" ftype="h5" compare="sim_size" delta="70000"/> </test> </tests> <help><![CDATA[ **What it does** Combines Hi-C matrices of the same size. ]]></help> <expand macro="citations" /> </tool>