annotate SMART/galaxy/plotTranscriptList.xml @ 36:44d5973c188c

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 15:02:29 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="plotTranscriptList" name="plot transcript list">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Plot some information from a list of transcripts. </description>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
3 <command interpreter="python">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
4 ../Java/Python/plotTranscriptList.py -i $formatType.inputFileName
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
5 #if $formatType.FormatInputFileName == 'gff':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
6 -f gff
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
7 #elif $formatType.FormatInputFileName == 'gff2':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
8 -f gff2
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
9 #elif $formatType.FormatInputFileName == 'gff3':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
10 -f gff3
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
11 #elif $formatType.FormatInputFileName == 'gtf':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
12 -f gtf
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
13 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
14
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
15 -x $xVal
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
16 -y $yVal
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
17 #if $optionz.z == 'Yes':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
18 -z $optionz.zVal
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
19 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
20
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
21 -X $XVal
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
22 -Y $YVal
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
23 -Z $ZVal
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
24
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
25 #if $optionxLab.xLab == 'Yes':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
26 -n $optionxLab.labVal
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
27 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
28 #if $optionyLab.yLab == 'Yes':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
29 -m $optionyLab.labVal
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
30 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
31
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
32 $log
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
33 -s $shape
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
34 -b $bucket
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
35
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
36 -o $outputFilePNG
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
37 </command>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
38
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
39 <inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
40 <conditional name="formatType">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
41 <param name="FormatInputFileName" type="select" label="Input File Format">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
42 <option value="gff">gff</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
43 <option value="gff2">gff2</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
44 <option value="gff3">gff3</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
45 <option value="gtf">gtf</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
46 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
47 <when value="gff">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
48 <param name="inputFileName" format="gff" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
49 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
50 <when value="gff2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
51 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
52 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
53 <when value="gff3">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
54 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
55 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
56 <when value="gtf">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
57 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
58 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
59 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
60
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
61 <param name="xVal" type="text" value="None" label="tag for the x value"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
62 <param name="yVal" type="text" value="None" label="tag for the y value"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
63
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
64 <conditional name="optionz">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
65 <param name="z" type="select" label="tag for the z value ">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
66 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
67 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
68 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
69 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
70 <param name="zVal" type="text" value="None"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
71 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
72 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
73 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
74 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
75
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
76 <param name="XVal" type="float" value="0.0" label="value for x when tag is not present "/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
77
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
78 <param name="YVal" type="float" value="0.0" label="value for y when tag is not present"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
79
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
80 <param name="ZVal" type="float" value="0.0" label="value for z when tag is not present (if applicable)"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
81
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
82 <conditional name="optionxLab">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
83 <param name="xLab" type="select" label="label on the x-axis ">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
84 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
85 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
86 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
87 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
88 <param name="labVal" type="text" value=" "/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
89 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
90 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
91 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
92 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
93 <conditional name="optionyLab">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
94 <param name="yLab" type="select" label="label on the y-axis ">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
95 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
96 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
97 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
98 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
99 <param name="labVal" type="text" value=" "/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
100 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
101 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
102 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
103 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
104
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
105 <param name="log" type="select" label="use log on x- or y-axis (write 'x', 'y' or 'xy')">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
106 <option value="" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
107 <option value="-l x">log on the x-axis</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
108 <option value="-l y">log on the y-axis</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
109 <option value="-l xy">log on the x- and y-axis</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
110 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
111
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
112 <param name="shape" type="text" value="barplot" label="shape of the plot [format: choice (barplot, line, points, heatPoints)]"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
113 <param name="bucket" type="float" value="1.0" label="bucket size (for the line plot)"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
114
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
115 </inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
116
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
117 <outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
118 <data name="outputFilePNG" format="png" label="[plot transcript list] output file"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
119 </outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
120
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
121 <help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
122 Plot the data attached as tags in a transcript list. This can be used for displaying the comparison of different sets of sliding windows, for instance.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
123
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
124 The tool reads the tags of a transcript file (actually, a GFF3 file). It considers more specifically the tag names that you specify as parameter. If you use only one tag name, you can display a line plot. In this case, you have to specify a bucket size *s* (which is by defaut 1) and a point (*x*, *y*) tells you that there are *y* transcripts with tag values *x* to *x + s*.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
125
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
126 You can display could plots if you use two tag names. Each point represents the values of the two tags of a transcript. If you use three variables, the third variable will be the color of the point. You can also use a log scale and name the axes of the plot.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
127
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
128 Each transcript must contain the tags which are specified. If not, you should provide a default value, which is used when the tag is not present.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
129
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
130 If you use a cloud plot, you can compute the Spearman's rho to quantify a correlation between your two tag values.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
131 </help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
132 </tool>