annotate SMART/galaxy/getSizes.xml @ 18:94ab73e8a190

Uploaded
author m-zytnicki
date Mon, 29 Apr 2013 03:20:15 -0400
parents 440ceca58672
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="GetSizes" name="get sizes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Get the sizes of a set of genomic coordinates.</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/getSizes.py -i $formatType.inputFileName $formatType.FormatInputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #if $OptionQuery.OptionQ == 'NONE':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 -q size
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #else:
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 $OptionQuery.OptionQ
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 -o $outputFile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 #if $OptionXMax.xMax == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 -x $OptionXMax.maxValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 #if $OptionX.xLab == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 -a $OptionX.xLabValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 #if $OptionY.yLab == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 -b $OptionY.yLabValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 $barPlot
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 <option value="-f bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 <option value="-f gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 <option value="-f gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 <option value="-f gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 <option value="-f sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 <option value="-f gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 <option value="-f fasta">fasta</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 <option value="-f fastq">fastq</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 <when value="-f bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <param name="inputFileName" format="bed" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 <when value="-f gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <param name="inputFileName" format="gff" type="data" label="Input gff File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 <when value="-f gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <param name="inputFileName" format="gff" type="data" label="Input gff2 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="-f gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <param name="inputFileName" format="gff3" type="data" label="Input gff3 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="-f sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <param name="inputFileName" format="sam" type="data" label="Input gff2 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="-f gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 <param name="inputFileName" format="gtf" type="data" label="Input gff3 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="-f fasta">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <param name="inputFileName" format="fasta" type="data" label="Input fasta File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <when value="-f fastq">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 <param name="inputFileName" format="fastq" type="data" label="Input fastq File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 <conditional name="OptionQuery">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <param name="OptionQ" type="select" label="mesure type">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 <option value="-q size">size</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 <option value="-q intron size">intron size</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 <option value="-q exon size">exon size</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 <option value="-q 1st exon size">1st exon size</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 <option value="NONE" selected="true">NONE</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 <when value="-q size">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 <when value="-q intron size">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <when value="-q exon size">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 <when value="-q 1st exon size">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 <when value="NONE">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <conditional name="OptionXMax">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
89 <param name="xMax" type="select" label="maximum x-value to plot">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 <param name="maxValue" type="integer" value="1000"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 <conditional name="OptionX">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
101 <param name="xLab" type="select" label="X label title">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <param name="xLabValue" type="text" value="Size" label="Notice: The title should not have spaces. EX. Size_of_transcript"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 <conditional name="OptionY">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
113 <param name="yLab" type="select" label="Y label title">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
117 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 <param name="yLabValue" type="text" value="#_reads" label="Notice: The title should not have spaces. EX. Number_of_reads"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
120 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
121 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
123
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
124 <param name="barPlot" type="boolean" truevalue="-B" falsevalue="" checked="false" label="use barplot representation"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
125 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
126
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
127 <outputs>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
128 <data name="outputFile" format="png" label="[get sizes] output file"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
129 </outputs>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
130
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
131 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
132 Get the sequence/annotation size distribution. A point (*x*, *y*) means that *y* elements have a size of *x* nucleotides.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
133
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
134 When your mapping include exon/intron structures, you can decide to count the size of the introns, the sizes of the exons or the size of the first exons.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
135 </help>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
136 </tool>