annotate hicMergeDomains.xml @ 3:b6b8c8672756 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 8586409c5f329eaf75902eedc3d29a6e82560788
author iuc
date Mon, 01 Jul 2024 19:27:36 +0000
parents b376ef118807
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
b6b8c8672756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 8586409c5f329eaf75902eedc3d29a6e82560788
iuc
parents: 2
diff changeset
1 <tool id="hicexplorer_hicmergedomains" name="@BINARY@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
2 <description>Merges TAD domains</description>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
3 <macros>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
4 <token name="@BINARY@">hicMergeDomains</token>
6b9b4fd51308 "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>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
6 </macros>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
7 <expand macro="requirements" />
6b9b4fd51308 "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[
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
9
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
10 #for $counter, $tadfile in enumerate($domainFiles):
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
11 ln -s '$tadfile' '${counter}_tad_file.bed' &&
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
12 #end for
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
13 #set $m = ' '.join([ '\'%s_tad_file.bed\'' % $counter for $counter, $inputfile in enumerate($domainFiles) ])
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
14
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
15 @BINARY@
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
16
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
17 --domainFiles $m
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
18
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
19 #if $proteinFile:
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
20 --proteinFile '$proteinFile'
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
21 #end if
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
22
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
23 #if $minimumNumberOfPeaks:
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
24 --minimumNumberOfPeaks $minimumNumberOfPeaks
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
25 #end if
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
26
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
27 #if $valueX:
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
28 --value $valueX
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
29 #end if
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
30
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
31 #if $percent:
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
32 --percent $percent
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
33 #end if
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
34
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
35 --outputMergedList mergedDomains.bed
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
36 --outputRelationList relationList.txt
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
37 --outputTreePlotFormat pdf
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
38 --outputTreePlotPrefix relationship_tree
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
39
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
40 && mkdir relationship_plots
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
41 && cp relationship_tree_*.pdf relationship_plots
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
42 ]]>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
43 </command>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
44 <inputs>
2
b376ef118807 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
iuc
parents: 0
diff changeset
45 <param name="domainFiles" type="data" format="bed" multiple="true" label="Domain files from hicFindTADs of different resolutions to include" />
b376ef118807 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
iuc
parents: 0
diff changeset
46 <param argument="--proteinFile" type="data" format="bed" label="Protein peak file in bed format" help= "In order to be able to better assess the relationship between TADs, the associated protein file (e.g. CTCF for mammals) can be included. The protein file is required in broadpeak forma" />
b376ef118807 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
iuc
parents: 0
diff changeset
47 <param argument="--minimumNumberOfPeaks" type="integer" label="Minimum number of peaks" help="Optional parameter to adjust the number of protein peaks when adapting the resolution to the domain files. At least minimumNumberOfPeaks of unique peaks must be in a bin to considered. Otherwise the bin is treated like it has no peaks" value="1" />
b376ef118807 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
iuc
parents: 0
diff changeset
48 <param argument="--valueX" type="integer" label="TAD seperation value" help="Determine a value by how much the boundaries of two TADs must at least differ to consider them as two separate TADs" value="5000" />
0
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
49 <param argument="--percent" type="float" label="Percentage overlap" help="For the relationship determination, a percentage is required from which area coverage the TADs are related to each other. For example, a relationship should be entered from 5 percent area coverage" value="0.5" />
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
50 </inputs>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
51 <outputs>
2
b376ef118807 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
iuc
parents: 0
diff changeset
52 <data name="outputMergedList" from_work_dir="mergedDomains.bed" format="bed" label="Merged domains" />
b376ef118807 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
iuc
parents: 0
diff changeset
53 <data name="outputRelationList" from_work_dir="relationList.txt" format="txt" label="Relationship list" />
0
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
54 <collection name="plotCollection" type="list" label="Relationship tree plots">
2
b376ef118807 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
iuc
parents: 0
diff changeset
55 <discover_datasets pattern="__name__" format="pdf" directory="relationship_plots" />
0
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
56 </collection>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
57 </outputs>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
58 <tests>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
59 <test>
2
b376ef118807 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
iuc
parents: 0
diff changeset
60 <param name="domainFiles" ftype="bed" value="hicMergeDomains/10kbtad_domains.bed,hicMergeDomains/50kbtad_domains.bed,hicMergeDomains/100kbtad_domains.bed" />
0
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
61
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
62 <param name="minimumNumberOfPeaks" value="2" />
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
63 <param name="proteinFile" value="hicMergeDomains/ctcf_sorted.bed" />
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
64 <param name="valueX" value="5000" />
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
65 <param name="percent" value="0.7" />
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
66 <output name="outputMergedList" file="hicMergeDomains/merged_list.bed" ftype="bed" />
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
67 <output name="outputRelationList" file="hicMergeDomains/relationship.txt" ftype="txt" />
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
68
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
69 <output_collection name="plotCollection" type="list" count="1">
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
70 <element name="relationship_tree_1.pdf" file="hicMergeDomains/ctcf_plot/two_files_plot_1.pdf" ftype="pdf" compare="sim_size" />
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
71 </output_collection>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
72 </test>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
73 </tests>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
74 <help><![CDATA[
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
75
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
76 Merge of TAD domains
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
77 ====================
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
78
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
79 Merges and computes the hierachy of TADs from different resolutions.
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
80
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
81 For more information about HiCExplorer please consider our documentation on readthedocs.io_.
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
82
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
83 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
84
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
85 ]]> </help>
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
86 <expand macro="citations" />
6b9b4fd51308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 55de003830db380639df997cdc5810df8022f63e"
bgruening
parents:
diff changeset
87 </tool>