annotate SMART/galaxy/getExons.xml @ 18:94ab73e8a190

Uploaded
author m-zytnicki
date Mon, 29 Apr 2013 03:20:15 -0400
parents 440ceca58672
children 0ab839023fe4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
1 <tool id="getExons" name="get exons">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Get the exons of a set of transcripts.</description>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
3 <requirements>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
5 </requirements>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 <command interpreter="python">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 ../Java/Python/getExons.py -i $formatType.inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 #if $formatType.FormatInputFileName == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 -f bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 #elif $formatType.FormatInputFileName == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 #elif $formatType.FormatInputFileName == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 -f gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 #elif $formatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 #elif $formatType.FormatInputFileName == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 -f sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 #elif $formatType.FormatInputFileName == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 #if $optionSelect.Value == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 -s $optionSelect.selectValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 -o $outputFileGff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 <param name="inputFileName" format="bed" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 <param name="inputFileName" format="gff" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 <param name="inputFileName" format="sam" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <conditional name="optionSelect">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <param name="Value" type="select" label="select some of the exons (like '1,2,5..-3,-1')">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 <param name="selectValue" type="text" value="None" label="select option" help="like '1,2,5..-3,-1'"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 <outputs>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
73 <data format="gff3" name="outputFileGff" label="[get exons] output file"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 </outputs>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
75 <tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
76 <test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
77 <param name="FormatInputFileName" value="gtf" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
78 <param name="inputFileName" value="genes.gtf" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
79 <param name="Value" value="No"/>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
80 <output name="outputFileGff" file="exp_getExons.gff3" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
81 </test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
82 </tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
83
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
84 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
85 Provide all the exons of an annotation file.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
86 </help>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 </tool>