annotate SMART/galaxy/modifyGenomicCoordinates.xml @ 15:440ceca58672

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