6
|
1 <tool id="CompareOverlappingSmallQuery" name="Compare Overlapping Small Query">
|
|
2 <description>Provide the queries that overlap with a reference, when the query is small.</description>
|
|
3 <command interpreter="python">
|
|
4 ../Java/Python/CompareOverlappingSmallQuery.py -i $formatType.inputFileName1
|
|
5 #if $formatType.FormatInputFileName1 == 'bed':
|
|
6 -f bed
|
|
7 #elif $formatType.FormatInputFileName1 == 'gff':
|
|
8 -f gff
|
|
9 #elif $formatType.FormatInputFileName1 == 'gff2':
|
|
10 -f gff2
|
|
11 #elif $formatType.FormatInputFileName1 == 'gff3':
|
|
12 -f gff3
|
|
13 #elif $formatType.FormatInputFileName1 == 'sam':
|
|
14 -f sam
|
|
15 #elif $formatType.FormatInputFileName1 == 'gtf':
|
|
16 -f gtf
|
|
17 #end if
|
|
18 -j $formatType2.inputFileName2
|
|
19 #if $formatType2.FormatInputFileName2 == 'bed':
|
|
20 -g bed
|
|
21 #elif $formatType2.FormatInputFileName2 == 'gff':
|
|
22 -g gff
|
|
23 #elif $formatType2.FormatInputFileName2 == 'gff2':
|
|
24 -g gff2
|
|
25 #elif $formatType2.FormatInputFileName2 == 'gff3':
|
|
26 -g gff3
|
|
27 #elif $formatType2.FormatInputFileName2 == 'sam':
|
|
28 -g sam
|
|
29 #elif $formatType2.FormatInputFileName2 == 'gtf':
|
|
30 -g gtf
|
|
31 #end if
|
|
32 -o $outputFileGff
|
|
33 #if $OptionDistance.Dist == 'Yes':
|
|
34 -d $OptionDistance.distance
|
|
35 #end if
|
11
|
36 #if $OptionMinOverlap.present == 'Yes':
|
|
37 -m $OptionMinOverlap.minOverlap
|
|
38 #end if
|
|
39 #if $OptionCollinearOrAntiSens.OptionCA == 'Collinear':
|
6
|
40 -c
|
13
|
41 #elif $OptionCollinearOrAntiSens.OptionCA == 'Antisense':
|
6
|
42 -a
|
|
43 #end if
|
|
44 $InvertMatch
|
|
45 $NotOverlapping
|
|
46 </command>
|
|
47
|
|
48 <inputs>
|
|
49 <conditional name="formatType">
|
|
50 <param name="FormatInputFileName1" type="select" label="Input Query File Format">
|
|
51 <option value="bed">bed</option>
|
|
52 <option value="gff">gff</option>
|
|
53 <option value="gff2">gff2</option>
|
|
54 <option value="gff3">gff3</option>
|
|
55 <option value="sam">sam</option>
|
|
56 <option value="gtf">gtf</option>
|
|
57 </param>
|
|
58 <when value="bed">
|
|
59 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
|
|
60 </when>
|
|
61 <when value="gff">
|
|
62 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
|
|
63 </when>
|
|
64 <when value="gff2">
|
|
65 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
|
|
66 </when>
|
|
67 <when value="gff3">
|
|
68 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
|
|
69 </when>
|
|
70 <when value="sam">
|
|
71 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
|
|
72 </when>
|
|
73 <when value="gtf">
|
|
74 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
|
|
75 </when>
|
|
76 </conditional>
|
|
77
|
|
78 <conditional name="formatType2">
|
|
79 <param name="FormatInputFileName2" type="select" label="Input Reference File Format">
|
|
80 <option value="bed">bed</option>
|
|
81 <option value="gff">gff</option>
|
|
82 <option value="gff2">gff2</option>
|
|
83 <option value="gff3">gff3</option>
|
|
84 <option value="sam">sam</option>
|
|
85 <option value="gtf">gtf</option>
|
|
86 </param>
|
|
87 <when value="bed">
|
|
88 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
|
|
89 </when>
|
|
90 <when value="gff">
|
|
91 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
|
|
92 </when>
|
|
93 <when value="gff2">
|
|
94 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
|
|
95 </when>
|
|
96 <when value="gff3">
|
|
97 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
|
|
98 </when>
|
|
99 <when value="sam">
|
|
100 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
|
|
101 </when>
|
|
102 <when value="gtf">
|
|
103 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
|
|
104 </when>
|
|
105 </conditional>
|
|
106 <conditional name="OptionDistance">
|
13
|
107 <param name="Dist" type="select" label="Maximum Distance between two regions">
|
6
|
108 <option value="Yes">Yes</option>
|
|
109 <option value="No" selected="true">No</option>
|
|
110 </param>
|
|
111 <when value="Yes">
|
|
112 <param name="distance" type="integer" value="0"/>
|
|
113 </when>
|
|
114 <when value="No">
|
|
115 </when>
|
|
116 </conditional>
|
11
|
117 <conditional name="OptionMinOverlap">
|
|
118 <param name="present" type="select" label="Minimum number of common nucleotides to declare an overlap">
|
|
119 <option value="Yes">Yes</option>
|
|
120 <option value="No" selected="true">No</option>
|
|
121 </param>
|
|
122 <when value="Yes">
|
|
123 <param name="minOverlap" type="integer" value="0"/>
|
|
124 </when>
|
|
125 <when value="No">
|
|
126 </when>
|
|
127 </conditional>
|
|
128 <conditional name="OptionCollinearOrAntiSens">
|
13
|
129 <param name="OptionCA" type="select" label="Collinear or Antisense">
|
11
|
130 <option value="Collinear">Collinear</option>
|
13
|
131 <option value="Antisense">Antisense</option>
|
6
|
132 <option value="NONE" selected="true">NONE</option>
|
|
133 </param>
|
11
|
134 <when value="Collinear">
|
6
|
135 </when>
|
13
|
136 <when value="Antisense">
|
6
|
137 </when>
|
|
138 <when value="NONE">
|
|
139 </when>
|
|
140 </conditional>
|
|
141 <param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match"/>
|
13
|
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
|
143 </inputs>
|
|
144
|
|
145 <outputs>
|
|
146 <data name="outputFileGff" format="gff3"/>
|
|
147 </outputs>
|
|
148 </tool>
|