annotate SMART/galaxy/computeCoverage.xml @ 59:2a4884ba3e5c

Uploaded
author m-zytnicki
date Mon, 10 Feb 2014 03:39:09 -0500
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="ComputeCoverage" name="compute coverage">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Compute the coverage of a set with respect to another set.</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/ComputeCoverage.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 $ReportIntron
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 -o $outputFileGff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 <param name="FormatInputFileName1" type="select" label="Input File Format 1">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
54 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
55 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
71
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
72 <conditional name="formatType2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
73 <param name="FormatInputFileName2" type="select" label="Input File Format 2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
74 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
75 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
76 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
77 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
78 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
79 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
80 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
81 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
82 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
83 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
84 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
85 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
86 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
87 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
88 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
89 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
90 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
91 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
92 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
93 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
94 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
95 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
96 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
97 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
98 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
99 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
100
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
101 <param name="ReportIntron" type="boolean" truevalue="-t" falsevalue="" checked="false" label="Include introns."/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
102
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
103 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
104
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
105 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
106 <data name="outputFileGff" format="gff3" label="[compute coverage] output file"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
107 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
108
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
109 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
110 This tool considers a query and a reference files, and gives the coverage of the query file by the reference. The output file is similar to the query file, where a tag **coverage** has been added.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
111 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
112 </tool>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
113