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