annotate SMART/galaxy/CompareOverlappingSmallQuery.xml @ 13:03045debed6e

Uploaded
author m-zytnicki
date Wed, 17 Apr 2013 10:39:35 -0400
parents 2da30502c2f1
children 440ceca58672
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 $OptionCollinearOrAntiSens.OptionCA == 'Collinear':
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 -c
13
03045debed6e Uploaded
m-zytnicki
parents: 11
diff changeset
41 #elif $OptionCollinearOrAntiSens.OptionCA == 'Antisense':
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 -a
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 $InvertMatch
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 $NotOverlapping
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 <param name="FormatInputFileName1" type="select" label="Input Query File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <param name="inputFileName1" format="gff3" 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="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 <param name="inputFileName1" format="sam" 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="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 <param name="inputFileName1" format="gtf" 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 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 <conditional name="formatType2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <param name="FormatInputFileName2" type="select" label="Input Reference File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
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="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 <param name="inputFileName2" format="gff3" 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="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 <param name="inputFileName2" format="sam" 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="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 <param name="inputFileName2" format="gtf" 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 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <conditional name="OptionDistance">
13
03045debed6e Uploaded
m-zytnicki
parents: 11
diff changeset
107 <param name="Dist" type="select" label="Maximum Distance between two regions">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 <param name="distance" type="integer" value="0"/>
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="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116 </conditional>
11
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
117 <conditional name="OptionMinOverlap">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
118 <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
119 <option value="Yes">Yes</option>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
120 <option value="No" selected="true">No</option>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
121 </param>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
122 <when value="Yes">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
123 <param name="minOverlap" type="integer" value="0"/>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
124 </when>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
125 <when value="No">
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
126 </when>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
127 </conditional>
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
128 <conditional name="OptionCollinearOrAntiSens">
13
03045debed6e Uploaded
m-zytnicki
parents: 11
diff changeset
129 <param name="OptionCA" type="select" label="Collinear or Antisense">
11
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
130 <option value="Collinear">Collinear</option>
13
03045debed6e Uploaded
m-zytnicki
parents: 11
diff changeset
131 <option value="Antisense">Antisense</option>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
132 <option value="NONE" selected="true">NONE</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
133 </param>
11
2da30502c2f1 Updated CompareOverlappingSmallQuery.xml
m-zytnicki
parents: 6
diff changeset
134 <when value="Collinear">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
135 </when>
13
03045debed6e Uploaded
m-zytnicki
parents: 11
diff changeset
136 <when value="Antisense">
6
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="NONE">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
139 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
140 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
141 <param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match"/>
13
03045debed6e Uploaded
m-zytnicki
parents: 11
diff changeset
142 <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 default."/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
143 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
144
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
145 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
146 <data name="outputFileGff" format="gff3"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
147 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
148 </tool>