annotate hicHyperoptDetectLoops.xml @ 0:dde6b320a34b draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
author bgruening
date Tue, 16 Mar 2021 20:14:14 +0000
parents
children 7f7c6ead2d0d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
1 <tool id="hicexplorer_hichyperoptDetectLoops" name="@BINARY@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
2 <description>optimizes parameters for hicDetectLoops</description>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
3 <macros>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
4 <token name="@BINARY@">hicHyperoptDetectLoops</token>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
5 <import>macros.xml</import>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
6 </macros>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
7 <expand macro="requirements" />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
9 ln -s '$matrix_h5_cooler' 'matrix.$matrix_h5_cooler.ext' &&
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
10 @BINARY@
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
11
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
12 --matrix 'matrix.$matrix_h5_cooler.ext'
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
13
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
14 #if '$proteinFile':
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
15 --proteinFile '$proteinFile'
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
16 #end if
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
17
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
18 #if '$maximumNumberOfLoops':
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
19 --maximumNumberOfLoops '$maximumNumberOfLoops'
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
20 #end if
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
21
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
22 #if '$resolution':
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
23 --resolution '$resolution'
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
24 #end if
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
25
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
26 #if '$runs':
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
27 --runs '$runs'
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
28 #end if
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
29
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
30 --outputFileName hyperopt_result.txt
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
31
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
32 --threads @THREADS@
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
33 ]]>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
34 </command>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
35 <inputs>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
36 <expand macro="matrix_h5_cooler_macro" />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
37 <param argument="--proteinFile" type='data' format="bed" label="Protein peak file in bed format" help= "The protein file to validate the detected loops." />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
38 <param argument="--maximumNumberOfLoops" type="integer" min='0' max='100000' label="Maximum number of loops" help= "The maximum number of loops that should be used for optimization computation." value='10000' />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
39 <param argument="--resolution" type="integer" min='0' max='100000000' label="Resolution of the matrix" help="The matrix resolution of the Hi-C interaction matrix." value='10000' />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
40 <param argument="--runs" type="integer" min='2' max='10000' label="Hyperopt runs" help= "The number of iterations hyperopt uses to search for a result" value='100' />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
41 </inputs>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
42 <outputs>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
43 <data name='hyperopt_result' from_work_dir='hyperopt_result.txt' format='txt' label='Computed parameters for hicDetectLoops' />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
44 </outputs>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
45 <tests>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
46 <test>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
47 <param name="matrix_h5_cooler" value="small_test_matrix.cool" />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
48 <param name="proteinFile" value="hicValidateLocations/GSM935376_hg19_Gm12878_Smc3.narrowPeak" />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
49 <param name="maximumNumberOfLoops" value="5" />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
50 <param name="resolution" value="2" />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
51 <param name="runs" value="5" />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
52 <output name="hyperopt_result" file="hicHyperoptDetectLoops/loops.bedgraph" ftype="txt" compare="sim_size" />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
53 </test>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
54 </tests>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
55 <help><![CDATA[
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
56
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
57 Hyperopt parameter optimization loop detection
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
58 ==============================================
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
59
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
60 Compute with a protein peak data file (bed format) optimal parameters for the loop calling. Useful proteins are e.g. CTCF or cohesin.
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
61
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
62 _________________
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
63
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
64 Usage
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
65 -----
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
66
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
67 A command line example is available below (easily matchable in Galaxy using each field information):
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
68
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
69 ̀`$ hicHyperoptDetectLoops -m matrix.cool -o hyperopt_result.txt --maximumNumberOfLoops 10000 --resolution 10000 --runs 100`
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
70
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
71
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
72 For more information about HiCExplorer please consider our documentation on readthedocs.io_.
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
73
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
74 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
75
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
76 ]]> </help>
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
77 <expand macro="citations" />
dde6b320a34b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
78 </tool>