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.saveSortedRegions:
|
|
24 --outFileSortedRegions '$outFileSortedRegions'
|
|
25 #end if
|
|
26 #else
|
10
|
27 --plotFileFormat 'png'
|
0
|
28 #end if
|
|
29
|
|
30 #if $scaleRegions.showScaleRegionsOpt == "yes":
|
|
31 --startLabel $scaleRegions.startLabel
|
|
32 --endLabel $scaleRegions.endLabel
|
|
33 #end if
|
|
34
|
|
35 #if $advancedOpt.showAdvancedOpt == "yes":
|
|
36 #if $advancedOpt.averageType:
|
|
37 --averageType '$advancedOpt.averageType'
|
|
38 #end if
|
|
39 --plotHeight $advancedOpt.plotHeight
|
|
40 --plotWidth $advancedOpt.plotWidth
|
|
41 --plotType $advancedOpt.plotType
|
|
42
|
|
43 --regionsLabel '$advancedOpt.regionsLabel'
|
|
44
|
|
45 #if str($advancedOpt.plotTitle.value) != "None":
|
|
46 --plotTitle '$advancedOpt.plotTitle'
|
|
47 #end if
|
|
48
|
|
49 $advancedOpt.onePlotPerGroup
|
|
50
|
|
51 #if $advancedOpt.yMin:
|
|
52 --yMin $advancedOpt.yMin
|
|
53 #end if
|
|
54 #if $advancedOpt.yMax:
|
|
55 --yMax $advancedOpt.yMax
|
|
56 #end if
|
|
57
|
|
58 --xAxisLabel '$advancedOpt.xAxisLabel'
|
|
59 #if str($advancedOpt.yAxisLabel.value) != "None":
|
|
60 --yAxisLabel '$advancedOpt.yAxisLabel'
|
|
61 #end if
|
|
62 #end if
|
|
63 </command>
|
|
64 <inputs>
|
|
65 <param name="matrixFile" format="bgzip" type="data" label="Matrix file from the computeMatrix tool"/>
|
|
66 <conditional name="scaleRegions">
|
|
67 <param name="showScaleRegionsOpt" type="select" label="The input matrix was computed in scale-regions mode">
|
|
68 <option value="no" selected="true">no</option>
|
|
69 <option value="yes">yes</option>
|
|
70 </param>
|
|
71 <when value="no" />
|
|
72 <when value="yes">
|
|
73 <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"." />
|
|
74 <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)."/>
|
|
75 </when>
|
|
76 </conditional>
|
|
77
|
13
|
78 <expand macro="input_graphic_output_settings">
|
11
|
79 <expand macro="input_image_file_format" />
|
|
80 </expand>
|
0
|
81
|
|
82 <conditional name="advancedOpt">
|
|
83 <param name="showAdvancedOpt" type="select" label="Show advanced options" >
|
|
84 <option value="no" selected="true">no</option>
|
|
85 <option value="yes">yes</option>
|
|
86 </param>
|
|
87 <when value="no" />
|
|
88 <when value="yes">
|
|
89 <param name="averageType" type="select" label="Define the type of statistic that should be used for the profile.">
|
|
90 <option value="mean" selected="true">mean</option>
|
|
91 <option value="median">median</option>
|
|
92 <option value="min">min</option>
|
|
93 <option value="max">max</option>
|
|
94 <option value="sum">sum</option>
|
|
95 <option value="std">std</option>
|
|
96 </param>
|
|
97 <param name="plotHeight" type="integer" value="5" min="3"
|
|
98 label="Plot height"
|
|
99 help="Height in cm. The default for the plot height is 5 centimeters. The minimum value is 3 cm." />
|
|
100 <param name="plotWidth" type="integer" value="8" min="1"
|
|
101 label="Plot width"
|
|
102 help="Width in cm. The default value is 8 centimeters. The minimum value is 1 cm." />
|
|
103 <param name="plotType" type="select" label="Plot type"
|
|
104 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.">
|
|
105 <option value="lines" selected="true">lines</option>
|
|
106 <option value="fill">fill</option>
|
|
107 <option value="std">std</option>
|
|
108 <option value="overlapped_lines">overlapped lines</option>
|
|
109 </param>
|
|
110 <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"."/>
|
|
111 <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." />
|
|
112 <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."/>
|
|
113 <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"/>
|
|
114 <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"/>
|
|
115 <param name="xAxisLabel" type="text" value="gene distance (bp)" size="50" label="Description for the x-axis label" />
|
|
116 <param name="yAxisLabel" type="text" value="" size="50" label="Description for the y-axis label for the top panel" />
|
|
117 </when>
|
|
118 </conditional>
|
|
119 </inputs>
|
|
120 <outputs>
|
13
|
121 <expand macro="output_image_file_format" />
|
|
122 <expand macro="output_graphic_outputs" />
|
10
|
123 </outputs>
|
|
124 <help>
|
0
|
125
|
|
126 **What it does**
|
|
127
|
|
128 This tool plots the average enrichments over all genomic
|
|
129 regions supplied to computeMarix. It is a very useful complement to the
|
|
130 heatmapper, especially in cases when you want to compare the scores for
|
|
131 many different groups. Like heatmapper, profiler does not change the
|
|
132 values that were compute by computeMatrix, but you can choose between
|
|
133 many different ways to color and display the plots.
|
|
134
|
|
135
|
|
136 .. image:: $PATH_TO_IMAGES/visual_profiler_DmelPolII.png
|
|
137 :alt: Meta-gene profile of Rna Polymerase II
|
|
138
|
|
139
|
|
140 -----
|
|
141
|
|
142 .. class:: infomark
|
|
143
|
|
144 @REFERENCES@
|
|
145
|
|
146 </help>
|
|
147 </tool>
|