comparison scHicAdjustMatrix.xml @ 1:799a9fe1265c 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:13:23 -0400
parents fad89d56674a
children 2e773e00ceb0
comparison
equal deleted inserted replaced
0:fad89d56674a 1:799a9fe1265c
6 </macros> 6 </macros>
7 <expand macro="requirements" /> 7 <expand macro="requirements" />
8 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
9 @BINARY@ 9 @BINARY@
10 10
11 --matrix '$matrix_mcooler' 11 --matrix '$matrix_scooler'
12 --action $action_selector 12 --action $action_selector
13 #if $chromosomes: 13 #if $chromosomes:
14 #set $chromosome = ' '.join([ '\'%s\'' % $chrom for $chrom in str($chromosomes).split(' ') ]) 14 #set $chromosome = ' '.join([ '\'%s\'' % $chrom for $chrom in str($chromosomes).split(' ') ])
15 --chromosomes $chromosome 15 --chromosomes $chromosome
16 #end if 16 #end if
17 17
18 18
19 --outFileName adjusted_matrix.mcool 19 --outFileName adjusted_matrix.scool
20 20
21 --threads @THREADS@ 21 --threads @THREADS@
22 22
23 23
24 24
25 ]]></command> 25 ]]></command>
26 <inputs> 26 <inputs>
27 27
28 <expand macro="matrix_mcooler_macro"/> 28 <expand macro="matrix_scooler_macro"/>
29 <param name="action_selector" type="select" label="Action to take apply on matrices:"> 29 <param name="action_selector" type="select" label="Action to take apply on matrices:">
30 <option value="keep" selected="True">Keep the listed chromosomes</option> 30 <option value="keep" selected="True">Keep the listed chromosomes</option>
31 <option value="remove" >Remove the listed chromosomes</option> 31 <option value="remove" >Remove the listed chromosomes</option>
32 </param> 32 </param>
33 <param name='chromosomes' type='text' label='List of chromosomes to consider' help='Please separate the chromosomes by space'/> 33 <param name='chromosomes' type='text' label='List of chromosomes to consider' help='Please separate the chromosomes by space'/>
34 </inputs> 34 </inputs>
35 <outputs> 35 <outputs>
36 <data name="outFileName" from_work_dir="adjusted_matrix.mcool" format="mcool" label="${tool.name} on ${on_string}: merged matrix"/> 36 <data name="outFileName" from_work_dir="adjusted_matrix.scool" format="scool" label="${tool.name} on ${on_string}: Adjusted matrix"/>
37 </outputs> 37 </outputs>
38 <tests> 38 <tests>
39 <test> 39 <test>
40 <param name='matrix_mcooler' value='test_matrix.mcool' /> 40 <param name='matrix_scooler' value='test_matrix.scool' />
41 <param name='clusterMethod_selector' value='keep' /> 41 <param name='clusterMethod_selector' value='keep' />
42 <param name='chromosomes' value='chr1 chr2 chr3 chr4 chr5 chr6 chr7 chr8 chr9 chr10 chr11 chr12 chr13 chr14 chr15 chr16 chr17 chr18 chr19 chrX' /> 42 <param name='chromosomes' value='chr1 chr2 chr3 chr4 chr5 chr6 chr7 chr8 chr9 chr10 chr11 chr12 chr13 chr14 chr15 chr16 chr17 chr18 chr19 chrX' />
43 <output name="outFileName" ftype="mcool"> 43 <output name="outFileName" ftype="scool">
44 <assert_contents> 44 <assert_contents>
45 <has_h5_keys keys='Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz, Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/bins, 45 <has_h5_keys keys='Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz, Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/bins,
46 Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/bins/chrom, Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/bins/end, 46 Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/bins/chrom, Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/bins/end,
47 Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/bins/start, Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/chroms, 47 Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/bins/start, Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/chroms,
48 Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/chroms/length, Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/chroms/name, 48 Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/chroms/length, Diploid_1_CGTACTAG_AAGGAGTA_R1fastqgz/chroms/name,
199 <help><![CDATA[ 199 <help><![CDATA[
200 200
201 Adjust all matrices 201 Adjust all matrices
202 =================== 202 ===================
203 203
204 scHicAdjustMatrix is a tool to keep or remove a list of chromosomes of all Hi-C matrices stored in the mcool file. 204 scHicAdjustMatrix is a tool to keep or remove a list of chromosomes of all Hi-C matrices stored in the scool file.
205 205
206 For more information about scHiCExplorer please consider our documentation on readthedocs.io_ 206 For more information about scHiCExplorer please consider our documentation on readthedocs.io_
207 207
208 .. _readthedocs.io: http://schicexplorer.readthedocs.io/ 208 .. _readthedocs.io: http://schicexplorer.readthedocs.io/
209 ]]></help> 209 ]]></help>