annotate SMART/galaxy/getSizes.xml @ 66:090709ab81d1

Minor change.
author matthias.zytnicki@toulouse.inra.fr
date Wed, 04 Nov 2015 09:47:03 +0100
parents 2c0c0a89fad7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="GetSizes" name="get sizes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Get the sizes of a set of genomic coordinates.</description>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
3 <requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
5 </requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
6 <command interpreter="python">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
7 ../Java/Python/getSizes.py -i $formatType.inputFileName $formatType.FormatInputFileName
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 #if $OptionQuery.OptionQ == 'NONE':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 -q size
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 #else:
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
12 $OptionQuery.OptionQ
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 -o $outputFile
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 #if $OptionXMax.xMax == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
18 -x $OptionXMax.maxValue
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
19 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
20 #if $OptionX.xLab == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
21 -a $OptionX.xLabValue
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
22 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
23 #if $OptionY.yLab == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
24 -b $OptionY.yLabValue
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26 $barPlot
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 <param name="FormatInputFileName" type="select" label="Input File Format">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32 <option value="-f bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33 <option value="-f gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34 <option value="-f gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
35 <option value="-f gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36 <option value="-f sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37 <option value="-f gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 <option value="-f fasta">fasta</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39 <option value="-f fastq">fastq</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 <when value="-f bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 <param name="inputFileName" format="bed" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 <when value="-f gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 <param name="inputFileName" format="gff" type="data" label="Input gff File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 <when value="-f gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48 <param name="inputFileName" format="gff" type="data" label="Input gff2 File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 <when value="-f gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 <param name="inputFileName" format="gff3" type="data" label="Input gff3 File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53 <when value="-f sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
54 <param name="inputFileName" format="sam" type="data" label="Input gff2 File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
55 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56 <when value="-f gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 <param name="inputFileName" format="gtf" type="data" label="Input gff3 File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 <when value="-f fasta">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60 <param name="inputFileName" format="fasta" type="data" label="Input fasta File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62 <when value="-f fastq">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63 <param name="inputFileName" format="fastq" type="data" label="Input fastq File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67 <conditional name="OptionQuery">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 <param name="OptionQ" type="select" label="mesure type">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 <option value="-q size">size</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70 <option value="-q intron size">intron size</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
71 <option value="-q exon size">exon size</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
72 <option value="-q 1st exon size">1st exon size</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
73 <option value="NONE" selected="true">NONE</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
74 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
75 <when value="-q size">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
76 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
77 <when value="-q intron size">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
78 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
79 <when value="-q exon size">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
80 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
81 <when value="-q 1st exon size">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
82 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
83 <when value="NONE">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
84
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
85 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
86 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
87
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
88 <conditional name="OptionXMax">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
89 <param name="xMax" type="select" label="maximum x-value to plot">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
90 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
91 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
92 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
93 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
94 <param name="maxValue" type="integer" value="1000"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
95 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
96 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
97 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
98 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
99
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
100 <conditional name="OptionX">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
101 <param name="xLab" type="select" label="X label title">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
102 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
103 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
104 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
105 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
106 <param name="xLabValue" type="text" value="Size" label="Notice: The title should not have spaces. EX. Size_of_transcript"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
107 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
108 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
109 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
110 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
111
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
112 <conditional name="OptionY">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
113 <param name="yLab" type="select" label="Y label title">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
114 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
115 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
116 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
117 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
118 <param name="yLabValue" type="text" value="#_reads" label="Notice: The title should not have spaces. EX. Number_of_reads"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
119 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
120 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
121 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
122 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
123
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
124 <param name="barPlot" type="boolean" truevalue="-B" falsevalue="" checked="false" label="use barplot representation"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
125 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
126
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
127 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
128 <data name="outputFile" format="png" label="[get sizes] output file"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
129 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
130
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
131 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
132 Get the sequence/annotation size distribution. A point (*x*, *y*) means that *y* elements have a size of *x* nucleotides.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
133
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
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.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
135 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
136 </tool>