comparison SMART/galaxy/mergeSlidingWindowsClusters.xml @ 38:2c0c0a89fad7

Uploaded
author m-zytnicki
date Thu, 02 May 2013 09:56:47 -0400
parents
children
comparison
equal deleted inserted replaced
37:d22fadc825e3 38:2c0c0a89fad7
1 <tool id="mergeSlidingWindowsClusters" name="merge sliding windows clusters">
2 <description>Merges two files containing the results of a sliding windows clustering.</description>
3 <requirements>
4 <requirement type="set_environment">PYTHONPATH</requirement>
5 </requirements>
6 <command interpreter="python">
7 ../Java/Python/mergeSlidingWindowsClusters.py -i $formatType.inputFileName1
8 #if $formatType.FormatInputFileName1 == 'bed':
9 -f bed
10 #elif $formatType.FormatInputFileName1 == 'gff':
11 -f gff
12 #elif $formatType.FormatInputFileName1 == 'gff2':
13 -f gff2
14 #elif $formatType.FormatInputFileName1 == 'gff3':
15 -f gff3
16 #elif $formatType.FormatInputFileName1 == 'sam':
17 -f sam
18 #elif $formatType.FormatInputFileName1 == 'gtf':
19 -f gtf
20 #end if
21
22 -j $formatType2.inputFileName2
23 #if $formatType2.FormatInputFileName2 == 'bed':
24 -g bed
25 #elif $formatType2.FormatInputFileName2 == 'gff':
26 -g gff
27 #elif $formatType2.FormatInputFileName2 == 'gff2':
28 -g gff2
29 #elif $formatType2.FormatInputFileName2 == 'gff3':
30 -g gff3
31 #elif $formatType2.FormatInputFileName2 == 'sam':
32 -g sam
33 #elif $formatType2.FormatInputFileName2 == 'gtf':
34 -g gtf
35 #end if
36
37 -o $outputFileGff
38
39 </command>
40
41 <inputs>
42 <conditional name="formatType">
43 <param name="FormatInputFileName1" type="select" label="Input File Format 1">
44 <option value="bed">bed</option>
45 <option value="gff">gff</option>
46 <option value="gff2">gff2</option>
47 <option value="gff3">gff3</option>
48 <option value="sam">sam</option>
49 <option value="gtf">gtf</option>
50 </param>
51 <when value="bed">
52 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
53 </when>
54 <when value="gff">
55 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
56 </when>
57 <when value="gff2">
58 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
59 </when>
60 <when value="gff3">
61 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
62 </when>
63 <when value="sam">
64 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
65 </when>
66 <when value="gtf">
67 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
68 </when>
69 </conditional>
70
71 <conditional name="formatType2">
72 <param name="FormatInputFileName2" type="select" label="Input File Format 2">
73 <option value="bed">bed</option>
74 <option value="gff">gff</option>
75 <option value="gff2">gff2</option>
76 <option value="gff3">gff3</option>
77 <option value="sam">sam</option>
78 <option value="gtf">gtf</option>
79 </param>
80 <when value="bed">
81 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
82 </when>
83 <when value="gff">
84 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
85 </when>
86 <when value="gff2">
87 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
88 </when>
89 <when value="gff3">
90 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
91 </when>
92 <when value="sam">
93 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
94 </when>
95 <when value="gtf">
96 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
97 </when>
98 </conditional>
99
100 </inputs>
101
102 <outputs>
103 <data name="outputFileGff" format="gff3"/>
104 </outputs>
105
106 <help>
107 Sliding windows are also useful to compare two (or more!) sets of data. This can be very valuable when you want to compare differential expression in two different conditions. When you have two different sliding windows sets, this function merges them into one, where each window contains the two pieces of information. You may want to plot the data afterwards using the *plot transcript list* function.
108 </help>
109
110 </tool>