annotate SMART/galaxy/CompareOverlappingAdapt.xml @ 71:d96f6c9a39e0 draft default tip

Removed pyc files.
author m-zytnicki
date Thu, 07 Apr 2016 09:25:18 -0400
parents 90f4b29d884f
children 783e6ed4eb66
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="CompareOverlappingAdapt" name="compare overlapping">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Provide the queries that overlap with a reference.</description>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
3 <requirements>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
5 </requirements>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
6 <command interpreter="python">
60
90f4b29d884f Uploaded
m-zytnicki
parents: 46
diff changeset
7 ../Java/Python/CompareOverlappingAdapt.py -i $formatType.inputFileName1 -f $formatType.FormatInputFileName1 -j $formatType2.inputFileName2 -g $formatType2.FormatInputFileName2 -o $outputFileGff $InvertMatch $NotOverlapping -m $NbOverlap
46
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
8 #if $OptionDistance.Dist == 'Yes':
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
9 -d $OptionDistance.distance
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
10 #end if
60
90f4b29d884f Uploaded
m-zytnicki
parents: 46
diff changeset
11 #if $OptionCA == 'Collinear':
46
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
12 -c
60
90f4b29d884f Uploaded
m-zytnicki
parents: 46
diff changeset
13 #elif $OptionCA == 'AntiSense':
46
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
14 -a
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
15 #end if
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
16 </command>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
17
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
18 <inputs>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
19 <conditional name="formatType">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
20 <param name="FormatInputFileName1" type="select" label="Input Query File Format">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
21 <option value="bed">bed</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
22 <option value="gff">gff</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
23 <option value="gff2">gff2</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
24 <option value="gff3">gff3</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
25 <option value="sam">sam</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
26 <option value="gtf">gtf</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
27 </param>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
28 <when value="bed">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
29 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
30 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
31 <when value="gff">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
32 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
33 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
34 <when value="gff2">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
35 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
36 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
37 <when value="gff3">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
38 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
39 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
40 <when value="sam">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
41 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
42 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
43 <when value="gtf">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
44 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
45 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
46 </conditional>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
47
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
48 <conditional name="formatType2">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
49 <param name="FormatInputFileName2" type="select" label="Input Reference File Format">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
50 <option value="bed">bed</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
51 <option value="gff">gff</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
52 <option value="gff2">gff2</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
53 <option value="gff3">gff3</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
54 <option value="sam">sam</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
55 <option value="gtf">gtf</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
56 </param>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
57 <when value="bed">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
58 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
59 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
60 <when value="gff">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
61 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
62 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
63 <when value="gff2">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
64 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
65 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
66 <when value="gff3">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
67 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
68 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
69 <when value="sam">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
70 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
71 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
72 <when value="gtf">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
73 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
74 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
75 </conditional>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
76 <conditional name="OptionDistance">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
77 <param name="Dist" type="select" label="Maximum Distance between two reads">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
78 <option value="Yes">Yes</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
79 <option value="No" selected="true">No</option>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
80 </param>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
81 <when value="Yes">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
82 <param name="distance" type="integer" value="0"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
83 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
84 <when value="No">
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
85 </when>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
86 </conditional>
60
90f4b29d884f Uploaded
m-zytnicki
parents: 46
diff changeset
87 <param name="OptionCA" type="select" label="Collinear or anti-sense features only">
90f4b29d884f Uploaded
m-zytnicki
parents: 46
diff changeset
88 <option value="Collinear">Collinear</option>
90f4b29d884f Uploaded
m-zytnicki
parents: 46
diff changeset
89 <option value="AntiSense">AntiSense</option>
90f4b29d884f Uploaded
m-zytnicki
parents: 46
diff changeset
90 <option value="All" selected="true">All</option>
90f4b29d884f Uploaded
m-zytnicki
parents: 46
diff changeset
91 </param>
46
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
92 <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"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
93 <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."/>
60
90f4b29d884f Uploaded
m-zytnicki
parents: 46
diff changeset
94 <param name="NbOverlap" type="integer" value="1" label="Min. # of overlapping nt. to declare an overlap."/>
46
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
95 </inputs>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
96
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
97 <outputs>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
98 <data name="outputFileGff" format="gff3"/>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
99 </outputs>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
100
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
101 <help>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
102 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).
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
103
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
104 It is vital to understand that it will output the elements of the first file which overlap with the elements of the second one.
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
105
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
106 Various modifiers are also available:
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
107
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
108 -Invert selection (report those which do not overlap).
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
109
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
110 -Restrict to collinear / anti-sense overlapping data.
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
111
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
112 -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.
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
113
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
114 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.
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
115 </help>
169d364ddd91 Uploaded
m-zytnicki
parents:
diff changeset
116 </tool>