comparison hicSumMatrices.xml @ 2:2bbe234ca6ce draft

planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 4d61b6bf2fed275ab38c226d0c4390b095a38251
author bgruening
date Thu, 02 Nov 2017 11:13:21 -0400
parents c4ee66c35eb6
children d387dacb6867
comparison
equal deleted inserted replaced
1:2fd2e6382d20 2:2bbe234ca6ce
3 <macros> 3 <macros>
4 <token name="@BINARY@">hicSumMatrices</token> 4 <token name="@BINARY@">hicSumMatrices</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> 8 <command detect_errors="exit_code"><![CDATA[
9 <![CDATA[ 9
10 #for $counter, $m in enumerate($matrices): 10 #for $counter, $m in enumerate($matrices):
11 ln -s '$m' ${counter}.npz.h5 && 11 ln -s '$m' ${counter}.npz.h5 &&
12 #end for 12 #end for
13 13
14 #set $m = '" "'.join([ '%s.npz.h5' % $counter for $counter, $matrix in enumerate($matrices) ]) 14 #set $m = '" "'.join([ '%s.npz.h5' % $counter for $counter, $matrix in enumerate($matrices) ])
15 hicSumMatrices 15 hicSumMatrices
16 --matrices "$m" 16 --matrices "$m"
17 --outFileName ./out.npz.h5 17 --outFileName ./out.npz.h5
18
19 ]]> 18 ]]>
20 </command> 19 </command>
21 <inputs> 20 <inputs>
22
23 <param argument="--matrices" type="data" format="h5" multiple="True" 21 <param argument="--matrices" type="data" format="h5" multiple="True"
24 label="Matrices to combine" help="Needs to have the same shape"/> 22 label="Matrices to combine" help="Needs to have the same shape"/>
25
26 </inputs> 23 </inputs>
27 <outputs> 24 <outputs>
28 <data name="outFileName" from_work_dir="out.npz.h5" format="h5"/> 25 <data name="outFileName" from_work_dir="out.npz.h5" format="h5"/>
29 </outputs> 26 </outputs>
30 <tests> 27 <tests>