comparison hicPCA.xml @ 0:61165fbb020d draft

planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 80462804e4fd7deafbcf8e8c5283cc7a98fa7dd5
author bgruening
date Sat, 30 Dec 2017 09:14:06 -0500
parents
children 97c797606746
comparison
equal deleted inserted replaced
-1:000000000000 0:61165fbb020d
1 <tool id="hicexplorer_hicpca" name="@BINARY@" version="@WRAPPER_VERSION@.0">
2 <description>computes the principal components for A / B compartment analysis</description>
3 <macros>
4 <token name="@BINARY@">hicPCA</token>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements" />
8 <command detect_errors="exit_code"><![CDATA[
9
10 hicPCA --matrix '$matrix_h5_cooler'
11
12 #if $outputFormat == 'bigwig'
13 --outputFileName 'pca1.bigwig' 'pca2.bigwig'
14 --format bigwig
15 #elif $outputFormat == 'bedgraph'
16 --outputFileName 'pca1.bedgraph' 'pca2.bedgraph'
17 --format bedgraph
18 #end if
19
20 ]]>
21 </command>
22 <inputs>
23 <expand macro='matrix_h5_cooler_macro' />
24 <param name='outputFormat' type='select' label="Output file format">
25 <option value='bigwig'>bigwig</option>
26 <option value="bedgraph">bedgraph</option>
27 </param>
28
29 </inputs>
30 <outputs>
31
32 <data name="pca1_bw" from_work_dir="pca1.bigwig" format="bigwig">
33 <filter>outputFormat == 'bigwig'</filter>
34 </data>
35 <data name="pca2_bw" from_work_dir="pca2.bigwig" format="bigwig">
36 <filter>outputFormat == 'bigwig'</filter>
37 </data>
38
39 <data name="pca1_bedgraph" from_work_dir="pca1.bedgraph" format="bedgraph">
40 <filter>outputFormat == 'bedgraph'</filter>
41 </data>
42 <data name="pca2_bedgraph" from_work_dir="pca2.bedgraph" format="bedgraph">
43 <filter>outputFormat == 'bedgraph'</filter>
44 </data>
45
46 </outputs>
47 <tests>
48 <test>
49 <param name="matrix_h5_cooler" value="small_test_matrix_50kb_res.h5"/>
50 <param name="outputFormat" value="bedgraph" />
51 <output name="pca1_bedgraph" file="pca1.bedgraph" ftype="bedgraph" compare="sim_size"/>
52 <output name="pca2_bedgraph" file="pca2.bedgraph" ftype="bedgraph" compare="sim_size"/>
53 </test>
54 <test>
55 <param name="matrix_h5_cooler" value="small_test_matrix_50kb_res.h5"/>
56
57 <param name="outputFormat" value="bigwig" />
58 <output name="pca1_bw" file="pca1.bw" ftype="bigwig" compare="sim_size"/>
59 <output name="pca2_bw" file="pca2.bw" ftype="bigwig" compare="sim_size"/>
60 </test>
61 </tests>
62 <help><![CDATA[
63 Principal component analysis
64 ============================
65 `hicPCA` computes two eigenvector files based on the input matrix for an A / B compartment analysis.
66
67 Input
68 -----
69 - the matrix to be analysed
70
71 Parameters
72 __________
73 - Output file format: bigwig or bedgraph
74
75 Output
76 ------
77 Two files with the first and the second eigenvector.
78
79 | For more information about HiCExplorer please consider our documentation on readthedocs.io_
80
81 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html
82 ]]></help>
83 <expand macro="citations" />
84 </tool>