annotate scHicPlotConsensusMatrices.xml @ 1:259899fbb6ae draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 72e1e90ac05a32dbd6fc675073429c0086048b18"
author iuc
date Tue, 10 Mar 2020 15:09:29 -0400
parents 1a1e085c352e
children 95b1216e1e70
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
1 <tool id="schicexplorer_schicplotconsensusmatrices" name="@BINARY@" version="@WRAPPER_VERSION@.0">
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
2 <description>plot single-cell Hi-C interaction matrices cluster consensus matrices</description>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
3 <macros>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
4 <token name="@BINARY@">scHicPlotConsensusMatrices</token>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
5 <import>macros.xml</import>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
6 </macros>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
7 <expand macro="requirements" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
9 @BINARY@
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
10
1
259899fbb6ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 72e1e90ac05a32dbd6fc675073429c0086048b18"
iuc
parents: 0
diff changeset
11 --matrix $matrix_scooler
0
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
12 #if $chromosomes:
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
13 #set $chromosome = ' '.join([ '\'%s\'' % $chrom for $chrom in str($chromosomes).split(' ') ])
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
14 --chromosomes $chromosome
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
15 #end if
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
16
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
17 #if $colormap:
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
18 --colorMap $colormap
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
19 #end if
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
20 #if $dpi:
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
21 --dpi $dpi
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
22 #end if
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
23 --outFileName plot.$image_file_format
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
24
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
25 --threads @THREADS@
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
26
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
27 && mv plot.$image_file_format plot
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
28
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
29 ]]></command>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
30 <inputs>
1
259899fbb6ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 72e1e90ac05a32dbd6fc675073429c0086048b18"
iuc
parents: 0
diff changeset
31 <expand macro="matrix_scooler_macro"/>
0
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
32 <param name='chromosomes' type='text' label='List of chromosomes to consider' help='Please separate the chromosomes by space'/>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
33 <expand macro="colormap" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
34 <param name='dpi' type='integer' label='DPI for image' help='Change the default resolution of the plot.' optional='true'/>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
35
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
36 <param name="image_file_format" type="select" label="Image output format">
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
37 <option value="png" selected="True">png</option>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
38 <option value="svg">svg</option>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
39 <option value="pdf">pdf</option>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
40 </param>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
41
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
42 </inputs>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
43 <outputs>
1
259899fbb6ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 72e1e90ac05a32dbd6fc675073429c0086048b18"
iuc
parents: 0
diff changeset
44 <data name='output_plot' from_work_dir='plot' format='png' label='Consensus matrix plot on ${on_string}'>
0
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
45 <change_format>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
46 <when input="image_file_format" value="svg" format="svg" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
47 <when input="image_file_format" value="pdf" format="pdf" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
48 </change_format>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
49 </data>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
50 </outputs>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
51 <tests>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
52 <test>
1
259899fbb6ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 72e1e90ac05a32dbd6fc675073429c0086048b18"
iuc
parents: 0
diff changeset
53 <param name='matrix_scooler' value='scHicConsensusMatrices/consensus_matrix.scool' />
0
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
54 <param name="image_file_format" value="png" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
55 <param name="dpi" value="300" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
56 <output name="output_plot" file="scHicPlotConsensusMatrices/plot.png" ftype="png" compare="sim_size" delta="35000"/>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
57 </test>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
58 <test>
1
259899fbb6ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 72e1e90ac05a32dbd6fc675073429c0086048b18"
iuc
parents: 0
diff changeset
59 <param name='matrix_scooler' value='scHicConsensusMatrices/consensus_matrix.scool' />
0
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
60 <param name="image_file_format" value="png" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
61 <param name="dpi" value="300" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
62 <param name="chromosomes" value="chr1 chr2" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
63
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
64 <output name="output_plot" file="scHicPlotConsensusMatrices/plot_chr1_chr2.png" ftype="png" compare="sim_size" delta="35000"/>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
65 </test>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
66
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
67 </tests>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
68 <help><![CDATA[
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
69
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
70 Plot consensus matrices
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
71 =======================
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
72
1
259899fbb6ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 72e1e90ac05a32dbd6fc675073429c0086048b18"
iuc
parents: 0
diff changeset
73 scHicPlotConsensusMatrices plots the consensus (average) matrix of a cluster. This tool is useful to compare the single cell clusters.
0
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
74
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
75 .. image:: $PATH_TO_IMAGES/consensus_svl_spectral.png
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
76 :width: 50%
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
77
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
78 For more information about scHiCExplorer please consider our documentation on readthedocs.io_
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
79
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
80 .. _readthedocs.io: http://schicexplorer.readthedocs.io/
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
81 ]]></help>
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
82 <expand macro="citations" />
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
83
1a1e085c352e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/schicexplorer commit 2a80f777c0221752232882c0d43b55f2b1dcd223"
iuc
parents:
diff changeset
84 </tool>