annotate SMART/galaxy/CompareOverlappingSmallQuery.xml @ 11:2da30502c2f1

Updated CompareOverlappingSmallQuery.xml
author m-zytnicki
date Thu, 14 Mar 2013 05:37:08 -0400
parents 769e306b7933
children 03045debed6e
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="CompareOverlappingSmallQuery" name="Compare Overlapping Small Query">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Provide the queries that overlap with a reference, when the query is small.</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/CompareOverlappingSmallQuery.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 -j $formatType2.inputFileName2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 #if $formatType2.FormatInputFileName2 == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 -g bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 #elif $formatType2.FormatInputFileName2 == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 -g gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 #elif $formatType2.FormatInputFileName2 == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 -g gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 #elif $formatType2.FormatInputFileName2 == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 -g gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 #elif $formatType2.FormatInputFileName2 == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 -g sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 #elif $formatType2.FormatInputFileName2 == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 -g gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 -o $outputFileGff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 #if $OptionDistance.Dist == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 -d $OptionDistance.distance
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 #end if
11
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
36 #if $OptionMinOverlap.present == 'Yes':
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
37 -m $OptionMinOverlap.minOverlap
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
38 #end if
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
39 #if $OptionPcOverlapQuery.present == 'Yes':
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
40 -p $OptionPcOverlapQuery.minOverlap
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
41 #end if
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
42 #if $OptionPcOverlapRef.present == 'Yes':
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
43 -P $OptionPcOverlapRef.minOverlap
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
44 #end if
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
45 #if $OptionCollinearOrAntiSens.OptionCA == 'Collinear':
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 -c
11
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
47 #elif $OptionCollinearOrAntiSens.OptionCA == 'AntiSens':
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 -a
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 $InvertMatch
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 $NotOverlapping
11
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
52 $OptionInclusionQuery
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
53 $OptionInclusionRef
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <param name="FormatInputFileName1" type="select" label="Input Query File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
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="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
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="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 <conditional name="formatType2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 <param name="FormatInputFileName2" type="select" label="Input Reference File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
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="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
113 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114 <conditional name="OptionDistance">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 <param name="Dist" type="select" label="Maximum Distance between two reads">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
117 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
120 <param name="distance" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
121 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
123 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
124 </conditional>
11
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
125 <conditional name="OptionMinOverlap">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
126 <param name="present" type="select" label="Minimum number of common nucleotides to declare an overlap">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
127 <option value="Yes">Yes</option>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
128 <option value="No" selected="true">No</option>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
129 </param>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
130 <when value="Yes">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
131 <param name="minOverlap" type="integer" value="0"/>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
132 </when>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
133 <when value="No">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
134 </when>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
135 </conditional>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
136 <conditional name="OptionPcOverlapQuery">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
137 <param name="present" type="select" label="N% of the query must overlap">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
138 <option value="Yes">Yes</option>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
139 <option value="No" selected="true">No</option>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
140 </param>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
141 <when value="Yes">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
142 <param name="minOverlap" type="integer" value="0"/>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
143 </when>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
144 <when value="No">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
145 </when>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
146 </conditional>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
147 <conditional name="OptionPcOverlapRef">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
148 <param name="present" type="select" label="N% of the reference must overlap">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
149 <option value="Yes">Yes</option>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
150 <option value="No" selected="true">No</option>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
151 </param>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
152 <when value="Yes">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
153 <param name="minOverlap" type="integer" value="0"/>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
154 </when>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
155 <when value="No">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
156 </when>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
157 </conditional>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
158 <param name="OptionInclusionQuery" type="boolean" truevalue="-k" falsevalue="" checked="false" label="The query must nested in a query"/>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
159 <param name="OptionInclusionRef" type="boolean" truevalue="-K" falsevalue="" checked="false" label="The reference must nested in a query"/>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
160 <conditional name="OptionCollinearOrAntiSens">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
161 <param name="OptionCA" type="select" label="Collinear or anti-sens">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
162 <option value="Collinear">Collinear</option>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
163 <option value="AntiSens">AntiSens</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
164 <option value="NONE" selected="true">NONE</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
165 </param>
11
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
166 <when value="Collinear">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
167 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
168 <when value="AntiSens">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
169 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
170 <when value="NONE">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
171 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
172 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
173 <param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
174 <param name="NotOverlapping" type="boolean" truevalue="-O" falsevalue="" checked="false" label="When there is no overlapping, the number of Overlapping will be set to 0 by defalt."/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
175 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
176
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
177 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
178 <data name="outputFileGff" format="gff3"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
179 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
180 </tool>