annotate SMART/galaxy/mapperAnalyzer.xml @ 6:769e306b7933

Change the repository level.
author yufei-luo
date Fri, 18 Jan 2013 04:54:14 -0500
parents
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="mapperAnalyzer" name="mapper analyzer">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Read the output of an aligner, print statistics and possibly translate into BED or GBrowse formats. </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/mapperAnalyzer.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 == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #elif $formatType.FormatInputFileName1 == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 -f sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #elif $formatType.FormatInputFileName1 == 'bam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 -f bam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 #elif $formatType.FormatInputFileName1 == 'seqmap':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 -f seqmap
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 -q $formatType2.inputFileName2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 #if $formatType2.FormatInputFileName2 == 'fasta':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 -k fasta
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 #elif $formatType2.FormatInputFileName2 == 'fastq':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 -k fastq
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 #if $optionnumber.number == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 -n $optionnumber.numberVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 #if $optionsize.size == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 -s $optionsize.sizeVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 #if $optionidentity.identity == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 -d $optionidentity.identityVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 #if $optionmismatch.mismatch == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 -m $optionmismatch.mismatchVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 #if $optiongap.gap == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 -p $optiongap.gapVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 #if $optiontitle.title == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 -t $optiontitle.titleVal
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 #if $optionappend.append == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 -a $optionappend.appendfile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 $merge
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 $remove
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 $remain
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 -o $outputFileGFF
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <param name="FormatInputFileName1" type="select" label="Input File mapping Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <option value="bam">bam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <option value="seqmap" selected="true">seqmap</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 <param name="inputFileName1" format="bed" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 <param name="inputFileName1" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 <param name="inputFileName1" format="sam" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 <when value="bam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 <param name="inputFileName1" format="bam" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 <when value="seqmap">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 <param name="inputFileName1" format="seqmap" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <conditional name="formatType2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 <param name="FormatInputFileName2" type="select" label="Reference sequence File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 <option value="fasta" selected="true">fasta</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <option value="fastq">fastq</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="fasta">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 <param name="inputFileName2" format="fasta" type="data" label="Reference sequence File Format"/>
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="fastq">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <param name="inputFileName2" format="fastq" type="data" label="Reference sequence File Format"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 <conditional name="optionnumber">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 <param name="number" type="select" label="max. number of occurrences of a sequence">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 <param name="numberVal" type="integer" value="0"/>
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="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 <conditional name="optionsize">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <param name="size" type="select" label="minimum pourcentage of size ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 <param name="sizeVal" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
113 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
117 <conditional name="optionidentity">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 <param name="identity" type="select" label="minimum pourcentage of identity ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
120 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
121 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
123 <param name="identityVal" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
124 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
125 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
126 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
127 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
128
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
129 <conditional name="optionmismatch">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
130 <param name="mismatch" type="select" label="maximum number of mismatches">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
131 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
132 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
133 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
134 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
135 <param name="mismatchVal" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
136 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
137 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
138 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
139 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
140
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
141 <conditional name="optiongap">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
142 <param name="gap" type="select" label="maximum number of gaps">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
143 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
144 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
145 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
146 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
147 <param name="gapVal" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
148 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
149 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
150 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
151 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
152
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
153 <conditional name="optiontitle">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
154 <param name="title" type="select" label="title of the plots ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
155 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
156 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
157 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
158 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
159 <param name="titleVal" type="text" value="title of the UCSC track" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
160 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
161 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
162 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
163 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
164
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
165 <conditional name="optionappend">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
166 <param name="append" type="select" label="append to GFF3 file">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
167 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
168 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
169 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
170 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
171 <param name="appendfile" type="data" format="gff3" label="append a file"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
172 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
173 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
174 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
175 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
176
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
177 <param name="merge" type="boolean" truevalue="-e" falsevalue="" checked="false" label="merge exons when introns are short "/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
178 <param name="remove" type="boolean" truevalue="-x" falsevalue="" checked="false" label="remove transcripts when exons are short"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
179 <param name="remain" type="boolean" truevalue="-r" falsevalue="" checked="false" label="print the unmatched sequences "/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
180 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
181
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
182 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
183 <data name="outputFileGFF" format="gff3" label="[mapperAnalyzer] out file"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
184 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
185
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
186 </tool>