annotate SMART/galaxy/plotTranscriptList.xml @ 28:2a3fdec156e0

Deleted selected files
author m-zytnicki
date Mon, 29 Apr 2013 03:31:52 -0400
parents 94ab73e8a190
children 0ab839023fe4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
1 <tool id="plotTranscriptList" name="plot transcript list">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Plot some information from a list of transcripts. </description>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
3 <requirements>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
5 </requirements>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 <command interpreter="python">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 ../Java/Python/plotTranscriptList.py -i $formatType.inputFileName
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
8 #if $formatType.FormatInputFileName == 'gff':
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 #elif $formatType.FormatInputFileName == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 -f gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 #elif $formatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 #elif $formatType.FormatInputFileName == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 -x $xVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 -y $yVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 #if $optionz.z == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 -z $optionz.zVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 -X $XVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 -Y $YVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 -Z $ZVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 #if $optionxLab.xLab == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 -n $optionxLab.labVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 #if $optionyLab.yLab == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 -m $optionyLab.labVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
35 $log
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 -s $shape
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 -b $bucket
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 -o $outputFilePNG
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <param name="inputFileName" format="gff" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
64 <param name="xVal" type="text" value="None" label="tag for the x value"/>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
65 <param name="yVal" type="text" value="None" label="tag for the y value"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 <conditional name="optionz">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <param name="z" type="select" label="tag for the z value ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 <param name="zVal" type="text" value="None"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <param name="XVal" type="float" value="0.0" label="value for x when tag is not present "/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 <param name="YVal" type="float" value="0.0" label="value for y when tag is not present"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
83 <param name="ZVal" type="float" value="0.0" label="value for z when tag is not present (if applicable)"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 <conditional name="optionxLab">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 <param name="xLab" type="select" label="label on the x-axis ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 <param name="labVal" type="text" value=" "/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 <conditional name="optionyLab">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 <param name="yLab" type="select" label="label on the y-axis ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
101 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 <param name="labVal" type="text" value=" "/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
108 <param name="log" type="select" label="use log on x- or y-axis (write 'x', 'y' or 'xy')">
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
109 <option value="" selected="true">No</option>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
110 <option value="-l x">log on the x-axis</option>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
111 <option value="-l y">log on the y-axis</option>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
112 <option value="-l xy">log on the x- and y-axis</option>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
113 </param>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 <param name="shape" type="text" value="barplot" label="shape of the plot [format: choice (barplot, line, points, heatPoints)]"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116 <param name="bucket" type="float" value="1.0" label="bucket size (for the line plot)"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
117
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
120 <outputs>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
121 <data name="outputFilePNG" format="png" label="[plot transcript list] output file"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
123
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
124 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
125 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.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
126
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
127 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*.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
128
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
129 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.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
130
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
131 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.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
132
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
133 If you use a cloud plot, you can compute the Spearman's rho to quantify a correlation between your two tag values.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
134 </help>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
135 </tool>