annotate SMART/galaxy/getExons.xml @ 46:169d364ddd91

Uploaded
author m-zytnicki
date Mon, 30 Sep 2013 03:19:26 -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="getExons" name="get exons">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Get the exons of a set of transcripts.</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/getExons.py -i $formatType.inputFileName
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8 #if $formatType.FormatInputFileName == 'bed':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 -f bed
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 #elif $formatType.FormatInputFileName == 'gff':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 -f gff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
12 #elif $formatType.FormatInputFileName == 'gff2':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13 -f gff2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14 #elif $formatType.FormatInputFileName == 'gff3':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 -f gff3
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16 #elif $formatType.FormatInputFileName == 'sam':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 -f sam
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
18 #elif $formatType.FormatInputFileName == '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 #if $optionSelect.Value == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
23 -s $optionSelect.selectValue
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
24 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26 -o $outputFileGff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 <param name="FormatInputFileName" type="select" label="Input File Format">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
35 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 <param name="inputFileName" format="bed" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 <param name="inputFileName" format="gff" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 <param name="inputFileName" format="sam" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
54 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
55 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 <conditional name="optionSelect">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60 <param name="Value" type="select" label="select some of the exons (like '1,2,5..-3,-1')">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 <param name="selectValue" type="text" value="None" label="select option" help="like '1,2,5..-3,-1'"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
71
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
72 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
73 <data format="gff3" name="outputFileGff" label="[get exons] output file"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
74 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
75 <tests>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
76 <test>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
77 <param name="FormatInputFileName" value="gtf" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
78 <param name="inputFileName" value="genes.gtf" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
79 <param name="Value" value="No"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
80 <output name="outputFileGff" file="exp_getExons.gff3" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
81 </test>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
82 </tests>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
83
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
84 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
85 Provide all the exons of an annotation file.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
86 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
87 </tool>