annotate profiler.xml @ 13:b4c5dd45778a draft

Uploaded
author bgruening
date Mon, 16 Dec 2013 04:36:19 -0500
parents baf4283e2d7f
children 5ea8782d650c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
135f3bae5c56 Uploaded
bgruening
parents: 0
diff changeset
1 <tool id="deeptools_profiler" name="profiler" version="1.0.2">
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
2 <description>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
3 creates a profile plot for a score associated to genomic regions
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
4 </description>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
5 <expand macro="requirements" />
10
135f3bae5c56 Uploaded
bgruening
parents: 0
diff changeset
6 <expand macro="stdio" />
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
7 <macros>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
8 <import>deepTools_macros.xml</import>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
9 </macros>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
10 <command>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
11 profiler
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
12
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
13 --matrixFile $matrixFile
10
135f3bae5c56 Uploaded
bgruening
parents: 0
diff changeset
14 --outFileName $outFileName
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
15
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
16 #if $output.showOutputSettings == "yes"
10
135f3bae5c56 Uploaded
bgruening
parents: 0
diff changeset
17 --plotFileFormat $output.outFileFormat
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
18
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
19 #if $output.saveData:
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
20 --outFileNameData '$outFileNameData'
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
21 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
22
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
23 #if $output.saveSortedRegions:
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
24 --outFileSortedRegions '$outFileSortedRegions'
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
25 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
26 #else
10
135f3bae5c56 Uploaded
bgruening
parents: 0
diff changeset
27 --plotFileFormat 'png'
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
28 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
29
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
30 #if $scaleRegions.showScaleRegionsOpt == "yes":
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
31 --startLabel $scaleRegions.startLabel
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
32 --endLabel $scaleRegions.endLabel
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
33 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
34
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
35 #if $advancedOpt.showAdvancedOpt == "yes":
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
36 #if $advancedOpt.averageType:
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
37 --averageType '$advancedOpt.averageType'
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
38 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
39 --plotHeight $advancedOpt.plotHeight
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
40 --plotWidth $advancedOpt.plotWidth
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
41 --plotType $advancedOpt.plotType
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
42
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
43 --regionsLabel '$advancedOpt.regionsLabel'
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
44
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
45 #if str($advancedOpt.plotTitle.value) != "None":
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
46 --plotTitle '$advancedOpt.plotTitle'
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
47 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
48
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
49 $advancedOpt.onePlotPerGroup
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
50
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
51 #if $advancedOpt.yMin:
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
52 --yMin $advancedOpt.yMin
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
53 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
54 #if $advancedOpt.yMax:
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
55 --yMax $advancedOpt.yMax
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
56 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
57
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
58 --xAxisLabel '$advancedOpt.xAxisLabel'
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
59 #if str($advancedOpt.yAxisLabel.value) != "None":
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
60 --yAxisLabel '$advancedOpt.yAxisLabel'
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
61 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
62 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
63 </command>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
64 <inputs>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
65 <param name="matrixFile" format="bgzip" type="data" label="Matrix file from the computeMatrix tool"/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
66 <conditional name="scaleRegions">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
67 <param name="showScaleRegionsOpt" type="select" label="The input matrix was computed in scale-regions mode">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
68 <option value="no" selected="true">no</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
69 <option value="yes">yes</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
70 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
71 <when value="no" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
72 <when value="yes">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
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. &quot;peak start&quot;." />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
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)."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
75 </when>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
76 </conditional>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
77
13
b4c5dd45778a Uploaded
bgruening
parents: 11
diff changeset
78 <expand macro="input_graphic_output_settings">
11
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
79 <expand macro="input_image_file_format" />
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
80 </expand>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
81
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
82 <conditional name="advancedOpt">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
83 <param name="showAdvancedOpt" type="select" label="Show advanced options" >
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
84 <option value="no" selected="true">no</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
85 <option value="yes">yes</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
86 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
87 <when value="no" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
88 <when value="yes">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
89 <param name="averageType" type="select" label="Define the type of statistic that should be used for the profile.">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
90 <option value="mean" selected="true">mean</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
91 <option value="median">median</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
92 <option value="min">min</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
93 <option value="max">max</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
94 <option value="sum">sum</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
95 <option value="std">std</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
96 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
97 <param name="plotHeight" type="integer" value="5" min="3"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
98 label="Plot height"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
99 help="Height in cm. The default for the plot height is 5 centimeters. The minimum value is 3 cm." />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
100 <param name="plotWidth" type="integer" value="8" min="1"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
101 label="Plot width"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
102 help="Width in cm. The default value is 8 centimeters. The minimum value is 1 cm." />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
103 <param name="plotType" type="select" label="Plot type"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
104 help="For the summary plot (profile) only. The &quot;lines&quot; option will plot the profile line based on the average type selected. The &quot;fill&quot; option fills the region between zero and the profile curve. The fill in color is semi transparent to distinguish different profiles. The &quot;std&quot; 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 &quot;overlapped_lines&quot; plots each region values, one on top of the other; this option only works if &quot;one plot per proup&quot; is set.">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
105 <option value="lines" selected="true">lines</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
106 <option value="fill">fill</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
107 <option value="std">std</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
108 <option value="overlapped_lines">overlapped lines</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
109 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
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, &quot;label1, label2&quot;."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
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." />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
112 <param name="onePlotPerGroup" type="boolean" truevalue="--onePlotPerGroup" falsevalue="" label="Do one plot per group" help="When the region file contains groups separated by &quot;#&quot;, 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."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
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"/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
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"/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
115 <param name="xAxisLabel" type="text" value="gene distance (bp)" size="50" label="Description for the x-axis label" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
116 <param name="yAxisLabel" type="text" value="" size="50" label="Description for the y-axis label for the top panel" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
117 </when>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
118 </conditional>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
119 </inputs>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
120 <outputs>
13
b4c5dd45778a Uploaded
bgruening
parents: 11
diff changeset
121 <expand macro="output_image_file_format" />
b4c5dd45778a Uploaded
bgruening
parents: 11
diff changeset
122 <expand macro="output_graphic_outputs" />
10
135f3bae5c56 Uploaded
bgruening
parents: 0
diff changeset
123 </outputs>
135f3bae5c56 Uploaded
bgruening
parents: 0
diff changeset
124 <help>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
125
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
126 **What it does**
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
127
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
128 This tool plots the average enrichments over all genomic
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
129 regions supplied to computeMarix. It is a very useful complement to the
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
130 heatmapper, especially in cases when you want to compare the scores for
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
131 many different groups. Like heatmapper, profiler does not change the
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
132 values that were compute by computeMatrix, but you can choose between
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
133 many different ways to color and display the plots.
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
134
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
135
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
136 .. image:: $PATH_TO_IMAGES/visual_profiler_DmelPolII.png
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
137 :alt: Meta-gene profile of Rna Polymerase II
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
138
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
139
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
140 -----
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
141
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
142 .. class:: infomark
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
143
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
144 @REFERENCES@
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
145
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
146 </help>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
147 </tool>