10
|
1 <tool id="deeptools_profiler" name="profiler" version="1.0.2">
|
0
|
2 <description>
|
|
3 creates a profile plot for a score associated to genomic regions
|
|
4 </description>
|
|
5 <expand macro="requirements" />
|
10
|
6 <expand macro="stdio" />
|
0
|
7 <macros>
|
|
8 <import>deepTools_macros.xml</import>
|
|
9 </macros>
|
|
10 <command>
|
|
11 profiler
|
|
12
|
|
13 --matrixFile $matrixFile
|
10
|
14 --outFileName $outFileName
|
0
|
15
|
|
16 #if $output.showOutputSettings == "yes"
|
10
|
17 --plotFileFormat $output.outFileFormat
|
0
|
18
|
|
19 #if $output.saveData:
|
|
20 --outFileNameData '$outFileNameData'
|
|
21 #end if
|
|
22
|
|
23 #if $output.saveMatrix:
|
|
24 --outFileNameMatrix '$outFileNameMatrix'
|
|
25 #end if
|
|
26
|
|
27 #if $output.saveSortedRegions:
|
|
28 --outFileSortedRegions '$outFileSortedRegions'
|
|
29 #end if
|
|
30 #else
|
10
|
31 --plotFileFormat 'png'
|
0
|
32 #end if
|
|
33
|
|
34 #if $scaleRegions.showScaleRegionsOpt == "yes":
|
|
35 --startLabel $scaleRegions.startLabel
|
|
36 --endLabel $scaleRegions.endLabel
|
|
37 #end if
|
|
38
|
|
39 #if $advancedOpt.showAdvancedOpt == "yes":
|
|
40 #if $advancedOpt.averageType:
|
|
41 --averageType '$advancedOpt.averageType'
|
|
42 #end if
|
|
43 --plotHeight $advancedOpt.plotHeight
|
|
44 --plotWidth $advancedOpt.plotWidth
|
|
45 --plotType $advancedOpt.plotType
|
|
46
|
|
47 --regionsLabel '$advancedOpt.regionsLabel'
|
|
48
|
|
49 #if str($advancedOpt.plotTitle.value) != "None":
|
|
50 --plotTitle '$advancedOpt.plotTitle'
|
|
51 #end if
|
|
52
|
|
53 $advancedOpt.onePlotPerGroup
|
|
54
|
|
55 #if $advancedOpt.yMin:
|
|
56 --yMin $advancedOpt.yMin
|
|
57 #end if
|
|
58 #if $advancedOpt.yMax:
|
|
59 --yMax $advancedOpt.yMax
|
|
60 #end if
|
|
61
|
|
62 --xAxisLabel '$advancedOpt.xAxisLabel'
|
|
63 #if str($advancedOpt.yAxisLabel.value) != "None":
|
|
64 --yAxisLabel '$advancedOpt.yAxisLabel'
|
|
65 #end if
|
|
66 #end if
|
|
67 </command>
|
|
68 <inputs>
|
|
69 <param name="matrixFile" format="bgzip" type="data" label="Matrix file from the computeMatrix tool"/>
|
|
70 <conditional name="scaleRegions">
|
|
71 <param name="showScaleRegionsOpt" type="select" label="The input matrix was computed in scale-regions mode">
|
|
72 <option value="no" selected="true">no</option>
|
|
73 <option value="yes">yes</option>
|
|
74 </param>
|
|
75 <when value="no" />
|
|
76 <when value="yes">
|
|
77 <param name="startLabel" type="text" value="TSS" size="10" label="Label for the region start" help ="[only for scale-regions mode] Label shown in the plot for the start of the region. Default is TSS (transcription start site), but could be changed to anything, e.g. "peak start"." />
|
|
78 <param name="endLabel" type="text" value="TES" size="10" label="Label for the region end" help="[only for scale-regions mode] Label shown in the plot for the region end. Default is TES (transcription end site)."/>
|
|
79 </when>
|
|
80 </conditional>
|
|
81
|
10
|
82 <expand macro="graphic_output_settings">
|
|
83 <expand macro="image_file_format" />
|
|
84 <expand>
|
0
|
85
|
|
86 <conditional name="advancedOpt">
|
|
87 <param name="showAdvancedOpt" type="select" label="Show advanced options" >
|
|
88 <option value="no" selected="true">no</option>
|
|
89 <option value="yes">yes</option>
|
|
90 </param>
|
|
91 <when value="no" />
|
|
92 <when value="yes">
|
|
93 <param name="averageType" type="select" label="Define the type of statistic that should be used for the profile.">
|
|
94 <option value="mean" selected="true">mean</option>
|
|
95 <option value="median">median</option>
|
|
96 <option value="min">min</option>
|
|
97 <option value="max">max</option>
|
|
98 <option value="sum">sum</option>
|
|
99 <option value="std">std</option>
|
|
100 </param>
|
|
101 <param name="plotHeight" type="integer" value="5" min="3"
|
|
102 label="Plot height"
|
|
103 help="Height in cm. The default for the plot height is 5 centimeters. The minimum value is 3 cm." />
|
|
104 <param name="plotWidth" type="integer" value="8" min="1"
|
|
105 label="Plot width"
|
|
106 help="Width in cm. The default value is 8 centimeters. The minimum value is 1 cm." />
|
|
107 <param name="plotType" type="select" label="Plot type"
|
|
108 help="For the summary plot (profile) only. The "lines" option will plot the profile line based on the average type selected. The "fill" option fills the region between zero and the profile curve. The fill in color is semi transparent to distinguish different profiles. The "std" option colors the region between the profile and the standard deviation of the data. As in the case of fill, a semi-transparent color is used. The option "overlapped_lines" plots each region values, one on top of the other; this option only works if "one plot per proup" is set.">
|
|
109 <option value="lines" selected="true">lines</option>
|
|
110 <option value="fill">fill</option>
|
|
111 <option value="std">std</option>
|
|
112 <option value="overlapped_lines">overlapped lines</option>
|
|
113 </param>
|
|
114 <param name="regionsLabel" type="text" value="genes" size="30" label="Labels for the regions plotted in the heatmap" help="If more than one region is being plotted a list of labels separated by comma and limited by quotes, is required. For example, "label1, label2"."/>
|
|
115 <param name="plotTitle" type="text" value="" size="30" label="Title of the plot" help="Title of the plot, to be printed on top of the generated image. Leave blank for no title." />
|
|
116 <param name="onePlotPerGroup" type="boolean" truevalue="--onePlotPerGroup" falsevalue="" label="Do one plot per group" help="When the region file contains groups separated by "#", the default is to plot the averages for the distinct plots in one plot. If this option is set, each group will get its own plot, stacked on top of each other."/>
|
|
117 <param name="yMin" type="float" value="" size="3" label="Minimum value for the Y-axis of the summary plot. Leave empty for automatic values" optional="true"/>
|
|
118 <param name="yMax" type="float" value="" size="3" label="Maximum value for Y-axis of the summary plot. Leave empty for automatic values" optional="true"/>
|
|
119 <param name="xAxisLabel" type="text" value="gene distance (bp)" size="50" label="Description for the x-axis label" />
|
|
120 <param name="yAxisLabel" type="text" value="" size="50" label="Description for the y-axis label for the top panel" />
|
|
121 </when>
|
|
122 </conditional>
|
|
123 </inputs>
|
|
124 <outputs>
|
10
|
125 <expand macro="output_graphic_outputs" />
|
|
126 </outputs>
|
|
127 <help>
|
0
|
128
|
|
129 **What it does**
|
|
130
|
|
131 This tool plots the average enrichments over all genomic
|
|
132 regions supplied to computeMarix. It is a very useful complement to the
|
|
133 heatmapper, especially in cases when you want to compare the scores for
|
|
134 many different groups. Like heatmapper, profiler does not change the
|
|
135 values that were compute by computeMatrix, but you can choose between
|
|
136 many different ways to color and display the plots.
|
|
137
|
|
138
|
|
139 .. image:: $PATH_TO_IMAGES/visual_profiler_DmelPolII.png
|
|
140 :alt: Meta-gene profile of Rna Polymerase II
|
|
141
|
|
142
|
|
143 -----
|
|
144
|
|
145 .. class:: infomark
|
|
146
|
|
147 @REFERENCES@
|
|
148
|
|
149 </help>
|
|
150 </tool>
|