annotate SMART/galaxy/plotTranscriptList.xml @ 16:6135c3075bc5

Deleted selected files
author m-zytnicki
date Mon, 22 Apr 2013 11:09:41 -0400
parents 440ceca58672
children 94ab73e8a190
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>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
3 <command interpreter="python">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
4 ../Java/Python/plotTranscriptList.py -i $formatType.inputFileName
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
5 #if $formatType.FormatInputFileName == 'gff':
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 #elif $formatType.FormatInputFileName == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 -f gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #elif $formatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #elif $formatType.FormatInputFileName == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 -x $xVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 -y $yVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 #if $optionz.z == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 -z $optionz.zVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 -X $XVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 -Y $YVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 -Z $ZVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 #if $optionxLab.xLab == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 -n $optionxLab.labVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 #if $optionyLab.yLab == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 -m $optionyLab.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
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
32 $optionLog.log
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 -s $shape
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 -b $bucket
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 -o $outputFilePNG
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <param name="inputFileName" format="gff" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <param name="inputFileName" format="gff2" 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="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <param name="inputFileName" format="gff3" 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="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 <param name="inputFileName" format="gtf" 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 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
61 <param name="xVal" type="text" value="None" label="tag for the x value"/>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
62 <param name="yVal" type="text" value="None" label="tag for the y value"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 <conditional name="optionz">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 <param name="z" type="select" label="tag for the z value ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 <param name="zVal" type="text" value="None"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 <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
77
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 <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
79
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
80 <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
81
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <conditional name="optionxLab">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 <param name="xLab" type="select" label="label on the x-axis ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <param name="labVal" type="text" value=" "/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 <conditional name="optionyLab">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 <param name="yLab" type="select" label="label on the y-axis ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 <param name="labVal" type="text" value=" "/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
101 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
105 <conditional name="optionLog">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <param name="log" type="select" label="use log on x- or y-axis (write 'x', 'y' or 'xy')">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
107 <option value="" selected="true">No</option>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
108 <option value="-l x">log on the x-axis</option>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
109 <option value="-l y">log on the y-axis</option>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
110 <option value="-l xy">log on the x- and y-axis</option>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
113
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114 <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
115 <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
116
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
117 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
120 <data name="outputFilePNG" format="png" label="[plotTranscriptList]out file"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
121 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
123 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
124 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
125
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
126 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
127
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
128 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
129
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
130 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
131
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
132 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
133 </help>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
134 </tool>