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

Removed pyc files.
author m-zytnicki
date Thu, 07 Apr 2016 09:25:18 -0400
parents 2c0c0a89fad7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="mergeTranscriptLists" name="merge transcript lists">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Merge the elements of two lists of genomic coordinates.</description>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
3 <requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
5 </requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
6 <command interpreter="python">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
7 ../Java/Python/mergeTranscriptLists.py -i $formatType.inputFileName1
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8 #if $formatType.FormatInputFileName1 == 'bed':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 -f bed
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 #elif $formatType.FormatInputFileName1 == 'gff':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 -f gff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
12 #elif $formatType.FormatInputFileName1 == 'gff2':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13 -f gff2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14 #elif $formatType.FormatInputFileName1 == 'gff3':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 -f gff3
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16 #elif $formatType.FormatInputFileName1 == 'sam':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 -f sam
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
18 #elif $formatType.FormatInputFileName1 == 'gtf':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
19 -f gtf
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
20 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
21
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
22 -j $formatType2.inputFileName2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
23 #if $formatType2.FormatInputFileName2 == 'bed':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
24 -g bed
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25 #elif $formatType2.FormatInputFileName2 == 'gff':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26 -g gff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 #elif $formatType2.FormatInputFileName2 == 'gff2':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28 -g gff2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 #elif $formatType2.FormatInputFileName2 == 'gff3':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30 -g gff3
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 #elif $formatType2.FormatInputFileName2 == 'sam':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32 -g sam
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33 #elif $formatType2.FormatInputFileName2 == 'gtf':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34 -g gtf
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
35 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37 $all
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 $normalize
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 #if $OptionDistance.dis == 'Yes':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 -d $OptionDistance.disVal
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 #if $OptionColinearOrAntiSens.OptionCA == 'Colinear':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 -c
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 #elif $OptionColinearOrAntiSens.OptionCA == 'AntiSens':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 -a
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 -o $outputFileGff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
54 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
55 <param name="FormatInputFileName1" type="select" label="Input File Format 1">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
71 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
72 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
73 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
74 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
75 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
76 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
77 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
78 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
79 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
80 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
81 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
82
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
83 <conditional name="formatType2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
84 <param name="FormatInputFileName2" type="select" label="Input File Format 2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
85 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
86 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
87 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
88 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
89 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
90 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
91 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
92 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
93 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
94 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
95 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
96 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
97 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
98 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
99 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
100 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
101 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
102 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
103 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
104 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
105 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
106 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
107 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
108 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
109 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
110 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
111
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
112
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
113 <param name="all" type="boolean" truevalue="-k" falsevalue="" checked="false" label="print all the transcripts, not only those overlapping"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
114 <param name="normalize" type="boolean" truevalue="-n" falsevalue="" checked="false" label="normalize the number of reads per cluster by the number of mappings per read "/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
115
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
116 <conditional name="OptionDistance">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
117 <param name="dis" type="select" label="provide the number of reads" >
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
118 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
119 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
120 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
121 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
122 <param name="disVal" type="integer" value="0" label="max. distance between two transcripts" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
123 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
124 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
125 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
126 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
127
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
128 <conditional name="OptionColinearOrAntiSens">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
129 <param name="OptionCA" type="select" label="Colinear or anti-sens">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
130 <option value="Colinear">Colinear</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
131 <option value="AntiSens">AntiSens</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
132 <option value="NONE" selected="true">NONE</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
133 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
134 <when value="Colinear">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
135 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
136 <when value="AntiSens">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
137 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
138 <when value="NONE">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
139 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
140 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
141
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
142 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
143
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
144 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
145 <data name="outputFileGff" format="gff3" label="[merge transcript lists] output file"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
146 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
147
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
148 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
149 The script is similar to *compare overlapping*, except that when data of two different sets overlap, they are merged. You can use the same parameters as *compare overlapping* and use them to look for transcription on both strands, for example.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
150
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
151 Optionally, you can also add to the output all the elements from the first set which do not overlap with the second set.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
152 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
153 </tool>