annotate SMART/galaxy/modifyGenomicCoordinates.xml @ 26:a6a9d9b94ddb

Deleted selected files
author m-zytnicki
date Mon, 29 Apr 2013 03:29:31 -0400
parents 94ab73e8a190
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="modifyGenomicCoordinates" name="modify genomic coordinates">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Extend or shrink a list of genomic coordinates.</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"> ../Java/Python/modifyGenomicCoordinates.py -i $formatType.inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 #if $formatType.FormatInputFileName == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 -f bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #elif $formatType.FormatInputFileName == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #elif $formatType.FormatInputFileName == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 -f gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 #elif $formatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 #elif $formatType.FormatInputFileName == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 -f sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 #elif $formatType.FormatInputFileName == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 #if $OptionStart.start == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 -s $OptionStart.startValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 #if $OptionEnd.end == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 -e $OptionEnd.endValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 #if $OptionFivePrim.five == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 -5 $OptionFivePrim.fivePValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 #if $OptionTroisP.TroisP == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 -3 $OptionTroisP.ThreePValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 -o $outputFile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 <param name="inputFileName" format="bed" 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="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <param name="inputFileName" format="gff" 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 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 <param name="inputFileName" format="sam" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
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
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 <conditional name="OptionStart">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
72 <param name="start" type="select" label="shrink to the start of the feature">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 <param name="startValue" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 <conditional name="OptionEnd">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
84 <param name="end" type="select" label="shrink to the end of the feature">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 <param name="endValue" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 <conditional name="OptionFivePrim">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 <param name="five" type="select" label="extend to the 5' direction">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
101 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 <param name="fivePValue" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <conditional name="OptionTroisP">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 <param name="TroisP" type="select" label="extend to the 3' direction">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
113 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114 <param name="ThreePValue" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
117 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
120
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
121 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
123 <outputs>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
124 <data format="gff3" name="outputFile" label="[modify genomic coordinates] output file"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
125 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
126
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
127 <help>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
128 This tool reads a list of transcripts and modifies each feature by:
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
129
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
130 - shrinking it to the *n* first nucleotides or the *n* last nucleotides, or
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
131
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
132 - extending it to *n* nucleotides towards the 5' direction (upstream) or the 3' direction (downstream).
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
133
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
134 Note that the 5' or 3' direction depends on the orientation of the feature (the 5' end of a transcript located on the minus strand is on the right hand of this transcript!).
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
135
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
136 The tool needs a transcript file, its format, and outputs a new transcript file.
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
137 </help>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
138 </tool>