comparison SMART/galaxy/CompareOverlappingSmallRef.xml @ 15:440ceca58672

Uploaded
author m-zytnicki
date Mon, 22 Apr 2013 11:08:07 -0400
parents 5a054da77808
children 94ab73e8a190
comparison
equal deleted inserted replaced
14:c79b9ae3f65f 15:440ceca58672
1 <tool id="CompareOverlappingSmallRef" name="Compare Overlapping Small Reference"> 1 <tool id="CompareOverlappingSmallRef" name="compare Overlapping Small Reference">
2 <description>Provide the queries that overlap with a reference, when the reference is small.</description> 2 <description>Provide the queries that overlap with a reference, when the reference dataset is small.</description>
3 <command interpreter="python"> 3 <command interpreter="python">
4 ../Java/Python/CompareOverlappingSmallQuery.py -i $formatType.inputFileName1 4 ../Java/Python/CompareOverlappingSmallQuery.py -i $formatType.inputFileName1
5 #if $formatType.FormatInputFileName1 == 'bed': 5 #if $formatType.FormatInputFileName1 == 'bed':
6 -f bed 6 -f bed
7 #elif $formatType.FormatInputFileName1 == 'gff': 7 #elif $formatType.FormatInputFileName1 == 'gff':
153 <param name="minOverlap" type="integer" value="0"/> 153 <param name="minOverlap" type="integer" value="0"/>
154 </when> 154 </when>
155 <when value="No"> 155 <when value="No">
156 </when> 156 </when>
157 </conditional> 157 </conditional>
158 <param name="OptionInclusionQuery" type="boolean" truevalue="-k" falsevalue="" checked="false" label="The query must nested in a query"/> 158 <param name="OptionInclusionQuery" type="boolean" truevalue="-k" falsevalue="" checked="false" label="The query must be nested in a query"/>
159 <param name="OptionInclusionRef" type="boolean" truevalue="-K" falsevalue="" checked="false" label="The reference must nested in a query"/> 159 <param name="OptionInclusionRef" type="boolean" truevalue="-K" falsevalue="" checked="false" label="The reference must be nested in a query"/>
160 <conditional name="OptionCollinearOrAntiSens"> 160 <conditional name="OptionCollinearOrAntiSens">
161 <param name="OptionCA" type="select" label="Collinear or anti-sens"> 161 <param name="OptionCA" type="select" label="Collinear or anti-sens">
162 <option value="Collinear">Collinear</option> 162 <option value="Collinear">Collinear</option>
163 <option value="AntiSens">AntiSens</option> 163 <option value="AntiSens">AntiSens</option>
164 <option value="NONE" selected="true">NONE</option> 164 <option value="NONE" selected="true">NONE</option>
168 <when value="AntiSens"> 168 <when value="AntiSens">
169 </when> 169 </when>
170 <when value="NONE"> 170 <when value="NONE">
171 </when> 171 </when>
172 </conditional> 172 </conditional>
173 <param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match"/> 173 <param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match: the output file will contain all query elements which do NOT overlap"/>
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."/> 174 <param name="NotOverlapping" type="boolean" truevalue="-O" falsevalue="" checked="false" label="Also report the query data which do not overlap, with the nbOverlaps tag set to 0."/>
175 </inputs> 175 </inputs>
176 176
177 <outputs> 177 <outputs>
178 <data name="outputFileGff" format="gff3"/> 178 <data name="outputFileGff" format="gff3"/>
179 </outputs> 179 </outputs>
180
181 <help>
182 This script may be the most important one. It basically compares two sets of transcripts and keeps those from the first set which overlap with the second one. The first set is considered as the query set (basically, your data) and the second one is the reference set (RefSeq data, for example).
183
184 It is vital to understand that it will output the elements of the first file which overlap with the elements of the second one.
185
186 Various modifiers are also available:
187
188 -Invert selection (report those which do not overlap).
189
190 -Restrict to colinear / anti-sense overlapping data.
191
192 -Keep the query data even if they do not strictly overlap with the reference data, but are located not further away than *n* nucleotide from some reference data.
193
194 -Keep the query data with are strictly included into reference data, meaning that a query transcript such that at least 1 nucleotide does not overlap with reference data will not be presented as a solution.
195
196 The mechanism of shrinking and extending is also useful to make a fine grain comparison. For example, if you want to keep those such that the TSS is overlapping the reference set, you just shrink the query set to 1 nucleotide. Now, if you want to keep those which are overlapping you data or located 2kb downstream of it, just extend the query data in the downstream direction, and you will have what you want. You can also extend in the opposite direction to get the possible transcript factor sites which are upstream.
197
198 Some option reverses the selection. Put in other words, it performs the comparison as usual, and outputs all those query data which do not overlap.
199 </help>
180 </tool> 200 </tool>