view hicSumMatrices.xml @ 1:2fd2e6382d20 draft

planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 07491a9ed4870989c9a603b27a4b89173832700f
author bgruening
date Mon, 03 Apr 2017 07:27:50 -0400
parents c4ee66c35eb6
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>