annotate SMART/galaxy/CompareOverlappingSmallRef.xml @ 10:c081f25e1572

Updated CompareOverlappingSmallRef.py
author m-zytnicki
date Thu, 14 Mar 2013 05:25:40 -0400
parents 769e306b7933
children 5a054da77808
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="CompareOverlappingSmallRef" name="Compare Overlapping Small Reference">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Provide the queries that overlap with a reference, when the reference 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
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 #if $OptionColinearOrAntiSens.OptionCA == 'Colinear':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 -c
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 #elif $OptionColinearOrAntiSens.OptionCA == 'AntiSens':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 -a
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 $InvertMatch
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 $NotOverlapping
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 <param name="FormatInputFileName1" type="select" label="Input Query File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <param name="inputFileName1" format="gff" 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="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <param name="inputFileName1" format="gff2" 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="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 <param name="inputFileName1" format="gff3" 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="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <param name="inputFileName1" format="sam" 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="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 <param name="inputFileName1" format="gtf" 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 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 <conditional name="formatType2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 <param name="FormatInputFileName2" type="select" label="Input Reference File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <param name="inputFileName2" format="gff" 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="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 <param name="inputFileName2" format="gff2" 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="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 <param name="inputFileName2" format="gff3" 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="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 <param name="inputFileName2" format="sam" 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="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 <param name="inputFileName2" format="gtf" 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 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 <conditional name="OptionDistance">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 <param name="Dist" type="select" label="Maximum Distance between two reads">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 <param name="distance" type="integer" value="0"/>
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="No">
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="OptionColinearOrAntiSens">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 <param name="OptionCA" type="select" label="Colinear or anti-sens">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116 <option value="Colinear">Colinear</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
117 <option value="AntiSens">AntiSens</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 <option value="NONE" selected="true">NONE</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
120 <when value="Colinear">
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="AntiSens">
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="NONE">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
125 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
126 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
127
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
128 <conditional name="OptionDistance">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
129 <param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
130 <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
131 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
132 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
133
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
134 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
135 <data name="outputFileGff" format="gff3"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
136 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
137 </tool>