Mercurial > repos > bgruening > hicexplorer_hicplotdistvscounts
comparison hicPlotDistVsCounts.xml @ 18:e2971589184b draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 2a0943e78bdc8ebb13f181399206a9eea37ed78f"
author | iuc |
---|---|
date | Tue, 16 Mar 2021 14:49:02 +0000 |
parents | 34dc1acfcc62 |
children | 6326cd29c1c3 |
comparison
equal
deleted
inserted
replaced
17:c8a6f89921dc | 18:e2971589184b |
---|---|
1 <tool id="hicexplorer_hicplotdistvscounts" name="@BINARY@" version="@WRAPPER_VERSION@.0"> | 1 <tool id="hicexplorer_hicplotdistvscounts" name="@BINARY@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> |
2 <description>compute distance vs Hi-C counts plot per chromosome</description> | 2 <description>compute distance vs Hi-C counts plot per chromosome</description> |
3 <macros> | 3 <macros> |
4 <token name="@BINARY@">hicPlotDistVsCounts</token> | 4 <token name="@BINARY@">hicPlotDistVsCounts</token> |
5 <import>macros.xml</import> | 5 <import>macros.xml</import> |
6 </macros> | 6 </macros> |
35 $outFileData_Boolean ./outFileData | 35 $outFileData_Boolean ./outFileData |
36 #end if | 36 #end if |
37 ]]> | 37 ]]> |
38 </command> | 38 </command> |
39 <inputs> | 39 <inputs> |
40 <param argument="--matrices" type="data" format="h5,cool" multiple="True" label="Hi-C corrected matrices"/> | 40 <param argument="--matrices" type="data" format="h5,cool" multiple="True" label="Hi-C corrected matrices" /> |
41 | 41 |
42 <param argument="--skipDiagonal" type="boolean" truevalue="--skipDiagonal" falsevalue="" label="Exclude diagonal counts" | 42 <param argument="--skipDiagonal" type="boolean" truevalue="--skipDiagonal" falsevalue="" label="Exclude diagonal counts" help="If set, diagonal counts are not included" /> |
43 help="If set, diagonal counts are not included"/> | 43 <param argument="--perchr" type="boolean" truevalue="--perchr" falsevalue="" label="Generate plots per chromosome" help="If more than one Hi-C matrix is given for each chromosome a new plot is made. Otherewise, a single plot with one line per chromosome is created." /> |
44 <param argument="--perchr" type="boolean" truevalue="--perchr" falsevalue="" label="Generate plots per chromosome" | 44 <param argument="--maxdepth" type="integer" value="3000000" label="Max Depth" help="Maximum distance from diagonal to use. In other words, distances up to maxDeph are computed." /> |
45 help="If more than one Hi-C matrix is given for each chromosome a new plot is made. Otherewise, a single plot with one line per chromosome is created." /> | 45 <param argument="--plotsize" type="text" optional="True" label="Plot size" help="Width and height of the plot (in inches). Default is 6 * number of cols, 4 * number of rows. The maximum number of rows is 4. Example: 6 5."> |
46 <param argument="--maxdepth" type="integer" value="3000000" label="Max Depth" | 46 <validator type="expression" message="Only numeric characters and the a space as seperator are allowed.">value.replace(' ', '').isnumeric()</validator> |
47 help="Maximum distance from diagonal to use. In other words, distances up to maxDeph are computed." /> | 47 </param> |
48 <param argument="--plotsize" type="text" optional="True" label="Plot size" | 48 <repeat name="chromosomeExclude" min="0" title="Chromosomes to exclude" help="This is useful for example to exclude the Y chromosome or to reduce the analysis to only a few chromosomes."> |
49 help="Width and height of the plot (in inches). Default is 6 * number of cols, 4 * number of rows. The maximum number of rows is 4. Example: 6 5." /> | 49 <param argument="--chromosomeExclude" type="text" value=""> |
50 <repeat name="chromosomeExclude" min="0" title="Chromosomes to exclude" | |
51 help="This is useful for example to exclude the Y chromosome or to reduce the analysis to only a few chromosomes."> | |
52 <param argument="--chromosomeExclude" type="text" value="" > | |
53 <validator type="empty_field" /> | 50 <validator type="empty_field" /> |
54 </param> | 51 </param> |
55 </repeat> | 52 </repeat> |
56 <param name='outFileData_Boolean' type='boolean' truevalue='--outFileData' falsevalue="" checked="false" label="Save data underlying the plots as BAM" | 53 <param name='outFileData_Boolean' type='boolean' truevalue='--outFileData' falsevalue="" checked="false" label="Save data underlying the plots as BAM" help="A bam file containing all data underlying the plots is saved on this file." /> |
57 help="A bam file containing all data underlying the plots is saved on this file."/> | |
58 </inputs> | 54 </inputs> |
59 <outputs> | 55 <outputs> |
60 <data name="plotFile" from_work_dir="plot.png" format="png" label="${tool.name} on [${on_string}]: Plot"/> | 56 <data name="plotFile" from_work_dir="plot.png" format="png" label="${tool.name} on [${on_string}]: Plot" /> |
61 <data name="outFileData" from_work_dir="outFileData" format="txt" label="${tool.name} data file on ${on_string}"> | 57 <data name="outFileData" from_work_dir="outFileData" format="txt" label="${tool.name} data file on ${on_string}"> |
62 <filter>outFileData_Boolean</filter> | 58 <filter>outFileData_Boolean</filter> |
63 </data> | 59 </data> |
64 </outputs> | 60 </outputs> |
65 <tests> | 61 <tests> |
66 <test> | 62 <test> |
67 <param name="matrices" ftype="h5" value="small_test_matrix.h5"/> | 63 <param name="matrices" ftype="h5" value="small_test_matrix.h5" /> |
68 <param name="skipDiagonal" value="False"/> | 64 <param name="skipDiagonal" value="False" /> |
69 <output name="plotFile" file="hicPlotDistVsCounts_result1.png" ftype="png" compare="sim_size"/> | 65 <output name="plotFile" file="hicPlotDistVsCounts_result1.png" ftype="png" compare="sim_size" /> |
70 </test> | 66 </test> |
71 <test> | 67 <test> |
72 <param name="matrices" ftype="h5" value="small_test_matrix.h5"/> | 68 <param name="matrices" ftype="h5" value="small_test_matrix.h5" /> |
73 <param name="skipDiagonal" value="False"/> | 69 <param name="skipDiagonal" value="False" /> |
74 <param name='outFileData_Boolean' value='True'/> | 70 <param name='outFileData_Boolean' value='True' /> |
75 <output name="plotFile" file="hicPlotDistVsCounts_result1.png" ftype="png" compare="sim_size"/> | 71 <output name="plotFile" file="hicPlotDistVsCounts_result1.png" ftype="png" compare="sim_size" /> |
76 <output name="outFileData" file="distVsCounts.txt" ftype="txt" compare="sim_size" delta='600'/> | 72 <output name="outFileData" file="distVsCounts.txt" ftype="txt" /> |
77 </test> | 73 </test> |
78 <test> | 74 <test> |
79 <param name="matrices" ftype="h5" value="small_test_matrix.h5,small_test_matrix.h5"/> | 75 <param name="matrices" ftype="h5" value="small_test_matrix.h5,small_test_matrix.h5" /> |
80 <param name="skipDiagonal" value="False"/> | 76 <param name="skipDiagonal" value="False" /> |
81 <param name="perchr" value="True" /> | 77 <param name="perchr" value="True" /> |
82 <repeat name="chromosomeExclude"> | 78 <repeat name="chromosomeExclude"> |
83 <param name="chromosomeExclude" value="chrUextra"/> | 79 <param name="chromosomeExclude" value="chrUextra" /> |
84 </repeat> | 80 </repeat> |
85 <repeat name="chromosomeExclude"> | 81 <repeat name="chromosomeExclude"> |
86 <param name="chromosomeExclude" value="chrM"/> | 82 <param name="chromosomeExclude" value="chrM" /> |
87 </repeat> | 83 </repeat> |
88 <repeat name="chromosomeExclude"> | 84 <repeat name="chromosomeExclude"> |
89 <param name="chromosomeExclude" value="chr3LHet"/> | 85 <param name="chromosomeExclude" value="chr3LHet" /> |
90 </repeat> | 86 </repeat> |
91 <output name="plotFile" file="hicPlotDistVsCounts_result2.png" ftype="png" compare="sim_size" delta="40000"/> | 87 <output name="plotFile" file="hicPlotDistVsCounts_result2.png" ftype="png" compare="sim_size" /> |
92 </test> | 88 </test> |
93 </tests> | 89 </tests> |
94 <help><![CDATA[ | 90 <help><![CDATA[ |
91 | |
95 Relation of genomic distance and number of contacts | 92 Relation of genomic distance and number of contacts |
96 =================================================== | 93 =================================================== |
97 | 94 |
98 **hicPlotDistVsCounts** allows a quick comparison between multiple Hi-C matrices of the Hi-C counts enrichment at different genomic ranges / distances up to whole chromosome. Biological replicates should display the exact same distribution while samples coming from different cell-lines, treated versus untreated samples or mutant versus wild-type samples should display a different distribution at long and/or close range. | 95 **hicPlotDistVsCounts** allows a quick comparison between multiple Hi-C matrices of the Hi-C counts enrichment at different genomic ranges / distances up to whole chromosome. Biological replicates should display the exact same distribution while samples coming from different cell-lines, treated versus untreated samples or mutant versus wild-type samples should display a different distribution at long and/or close range. |
99 | 96 |
131 _________________ | 128 _________________ |
132 | 129 |
133 | For more information about HiCExplorer please consider our documentation on readthedocs.io_ | 130 | For more information about HiCExplorer please consider our documentation on readthedocs.io_ |
134 | 131 |
135 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html | 132 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html |
136 ]]></help> | 133 ]]> </help> |
137 <expand macro="citations" /> | 134 <expand macro="citations" /> |
138 </tool> | 135 </tool> |