annotate SMART/galaxy/GetFlanking.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="GetFlanking" name="get flanking">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Get the flanking regions of a set of reference.</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/GetFlanking.py -i $formatType.inputFileName1
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
5 #if $formatType.FormatInputFileName1 == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 -f bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 #elif $formatType.FormatInputFileName1 == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #elif $formatType.FormatInputFileName1 == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 -f gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #elif $formatType.FormatInputFileName1 == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 #elif $formatType.FormatInputFileName1 == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 -f sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 #elif $formatType.FormatInputFileName1 == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 -j $formatType2.inputFileName2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 #if $formatType2.FormatInputFileName2 == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 -g bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 #elif $formatType2.FormatInputFileName2 == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 -g gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 #elif $formatType2.FormatInputFileName2 == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 -g gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 #elif $formatType2.FormatInputFileName2 == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 -g gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 #elif $formatType2.FormatInputFileName2 == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 -g sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 #elif $formatType2.FormatInputFileName2 == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 -g gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 #if $OptionUpDownStream.OptionUD == 'UpStream':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 -5
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 #elif $OptionUpDownStream.OptionUD == 'DownStream':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 -3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 #if $OptionColinearOrAntiSens.OptionCA == 'Colinear':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 -c
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 #elif $OptionColinearOrAntiSens.OptionCA == 'AntiSens':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 -a
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 #if $OptionMax.maximum == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 -D $OptionMax.max
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 #if $OptionMin.minimum == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 -d $OptionMin.min
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 -o $outputFile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <param name="FormatInputFileName1" type="select" label="query File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
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="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 <conditional name="formatType2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <param name="FormatInputFileName2" type="select" label="Refence File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
101 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
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="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
113 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116 <conditional name="OptionUpDownStream">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
117 <param name="OptionUD" type="select" label="Only provide upstream/dowstream features">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 <option value="UpStream">UpStream</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119 <option value="DownStream">DownStream</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
120 <option value="NONE" selected="true">NONE</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
121 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122 <when value="UpStream">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
123 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
124 <when value="DownStream">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
125 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
126 <when value="NONE">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
127 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
128 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
129
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
130 <conditional name="OptionColinearOrAntiSens">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
131 <param name="OptionCA" type="select" label="Only provide collinear/antisens features">
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
132 <option value="Colinear">Collinear</option>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
133 <option value="AntiSens">AntiSens</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
134 <option value="NONE" selected="true">NONE</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
135 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
136 <when value="Colinear">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
137 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
138 <when value="AntiSens">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
139 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
140 <when value="NONE">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
141 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
142 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
143
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
144 <conditional name="OptionMax">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
145 <param name="maximum" type="select" label="maximum distance between 2 elements">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
146 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
147 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
148 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
149 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
150 <param name="max" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
151 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
152 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
153 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
154 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
155
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
156 <conditional name="OptionMin">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
157 <param name="minimum" type="select" label="minimum distance between 2 elements">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
158 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
159 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
160 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
161 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
162 <param name="min" type="integer" value="0" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
163 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
164 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
165 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
166 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
167
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
168 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
169
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
170
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
171 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
172 <data format="gff3" name="outputFile" label="[GetFlanking] Output File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
173 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
174
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
175 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
176 This tool prints the elements from the second set of genomic intervals which are closest to (in other words, are flanking) the elements from the first set. You can also play on different parameters:
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
177
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
178 - restrict the search to downstream or upstream elements, or print downstream and upstream elements,
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
179
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
180 - only consider collinear flanking elements,
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
181
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
182 - only consider anti-sense flanking elements,
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
183
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
184 - only consider elements which are close enough (using some given distance),
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
185
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
186 - only consider flanking elements which do not overlap with the reference element.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
187
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
188 Notice that elements from the second sets may be printed at most once, whether they are the flanking element of several elements from the first or not.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
189 </help>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
190
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
191 </tool>