annotate ConvertFastaHeaders.xml @ 0:163892325845 draft default tip

Initial commit.
author galaxyp
date Fri, 10 May 2013 17:15:08 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
163892325845 Initial commit.
galaxyp
parents:
diff changeset
1 <!--
163892325845 Initial commit.
galaxyp
parents:
diff changeset
2 # =====================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
3 # $Id: ConvertFastaHeaders.xml 90 2011-01-19 13:20:31Z pieter.neerincx@gmail.com $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
4 # $URL: https://trac.nbic.nl/svn/galaxytools/trunk/tools/general/FastaTools/ConvertFastaHeaders.xml $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
5 # $LastChangedDate: 2011-01-19 07:20:31 -0600 (Wed, 19 Jan 2011) $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
6 # $LastChangedRevision: 90 $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
7 # $LastChangedBy: pieter.neerincx@gmail.com $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
8 # =====================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
9 -->
163892325845 Initial commit.
galaxyp
parents:
diff changeset
10 <tool id="ConvertFastaHeaders1" name="ConvertFastaHeaders" version="2.0">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
11 <description>Converts sequence headers of FASTA files</description>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
12 <command interpreter="perl">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
13 #if $mode.action == "add" #ConvertFastaHeaders.pl -i $input -o $output -p $mode.pos.position -a $mode.action -f "$mode.pos.xfixes" -l ERROR
163892325845 Initial commit.
galaxyp
parents:
diff changeset
14 #elif $mode.action == "strip" #ConvertFastaHeaders.pl -i $input -o $output -p $mode.pos.position -a $mode.action -f "$mode.pos.xfixes" -l ERROR
163892325845 Initial commit.
galaxyp
parents:
diff changeset
15 #elif $mode.action == "replace" #ConvertFastaHeaders.pl -i $input -o $output -p $mode.pos.position -a $mode.action -f "$mode.pos.xfixes" -n $mode.pos.newfix -l ERROR
163892325845 Initial commit.
galaxyp
parents:
diff changeset
16 #elif $mode.action == "delete" #ConvertFastaHeaders.pl -i $input -o $output -p $mode.position -a $mode.action -l ERROR
163892325845 Initial commit.
galaxyp
parents:
diff changeset
17 #elif $mode.action == "shuffle" #ConvertFastaHeaders.pl -i $input -o $output -p $mode.position -a $mode.action -l ERROR
163892325845 Initial commit.
galaxyp
parents:
diff changeset
18 #end if
163892325845 Initial commit.
galaxyp
parents:
diff changeset
19 </command>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
20 <inputs>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
21 <param format="fasta" name="input" type="data" label="FASTA sequences"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
22 <conditional name ="mode">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
23 <param name="action" type="select">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
24 <label>Action to perform on sequence identifiers</label>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
25 <option value="add">Add Labels</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
26 <option value="strip">Remove Labels</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
27 <option value="replace">Replace Labels</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
28 <option value="delete">Delete</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
29 <option value="shuffle">Shuffle order</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
30 </param>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
31 <when value="add">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
32 <conditional name="pos">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
33 <param name="position" type="select" accept_default="true">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
34 <label> Label position </label>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
35 <option value="prefix">Prepend Prefixes</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
36 <option value="suffix">Append Suffixes</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
37 </param>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
38 <when value="prefix">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
39 <param name="xfixes" type="text" label="Space separated list of prefixes, which will be added"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
40 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
41 <when value="suffix">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
42 <param name="xfixes" type="text" label="Space separated list of suffixes, which will be added"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
43 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
44 </conditional>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
45 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
46 <when value="strip">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
47 <conditional name="pos">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
48 <param name="position" type="select" accept_default="true">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
49 <label> Label position </label>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
50 <option value="prefix">Strip Prefixes</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
51 <option value="suffix">Strip Suffixes</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
52 </param>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
53 <when value="prefix">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
54 <param name="xfixes" type="text" label="Space separated list of prefixes, which will be removed"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
55 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
56 <when value="suffix">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
57 <param name="xfixes" type="text" label="Space separated list of suffixes, which will be removed"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
58 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
59 </conditional>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
60 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
61 <when value="replace">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
62 <conditional name="pos">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
63 <param name="position" type="select" accept_default="true">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
64 <label> Label position </label>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
65 <option value="prefix">Replace prefixes with another prefix</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
66 <option value="suffix">Replace suffixes with another suffix</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
67 <option value="pre2suf">Replace prefixes with a suffix</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
68 <option value="suf2pre">Replace suffixes with a prefix</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
69 </param>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
70 <when value="prefix">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
71 <param name="xfixes" type="text" label="Space separated list of prefixes, which will be replaced"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
72 <param name="newfix" type="text" label="New prefix to replace the current prefixes"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
73 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
74 <when value="suffix">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
75 <param name="xfixes" type="text" label="Space separated list of suffixes, which will be replaced"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
76 <param name="newfix" type="text" label="New suffix to replace the current suffixes"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
77 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
78 <when value="pre2suf">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
79 <param name="xfixes" type="text" label="Space separated list of prefixes, which will be replaced"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
80 <param name="newfix" type="text" label="New suffix to replace the current prefixes"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
81 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
82 <when value="suf2pre">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
83 <param name="xfixes" type="text" label="Space separated list of suffixes, which will be replaced"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
84 <param name="newfix" type="text" label="New prefix to replace the current suffixes"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
85 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
86 </conditional>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
87 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
88 <when value="delete">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
89 <param name="position" type="text" size="10" value="" label="Ranks of IDs to delete"
163892325845 Initial commit.
galaxyp
parents:
diff changeset
90 help="Comma separated list of numbers. For example 1,3 will delete the first and third ID from the FASTA headers."/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
91 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
92 <when value="shuffle">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
93 <param name="position" type="text" size="10" value="" label="New order for the IDs"
163892325845 Initial commit.
galaxyp
parents:
diff changeset
94 help="Comma separated list of numbers. For example 1,3,2 will shuffle the order from 1,2,3 to 1,3,2."/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
95 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
96 </conditional>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
97 </inputs>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
98 <outputs>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
99 <data format="fasta" name="output" label="${input.name} with converted FASTA headers"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
100 </outputs>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
101 <!--
163892325845 Initial commit.
galaxyp
parents:
diff changeset
102 <tests>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
103 <test> -a add -f "UniProt-Acc: UniProt-ID:"
163892325845 Initial commit.
galaxyp
parents:
diff changeset
104 <param name="input" value="ConvertFastaHeaders_example_input_Add.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
105 <output name="output" file="ConvertFastaHeaders_example_output_Add.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
106 </test>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
107 <test> -a strip -p prefix -f 'SP:'
163892325845 Initial commit.
galaxyp
parents:
diff changeset
108 <param name="input" value="ExtractPeptideSequenceContext_example_DB.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
109 <output name="output" file="ConvertFastaHeaders_example_output_Strip.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
110 </test>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
111 <test> -a replace -p pre2suf -f 'SP:' -n '_CON'
163892325845 Initial commit.
galaxyp
parents:
diff changeset
112 <param name="input" value="ExtractPeptideSequenceContext_example_DB.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
113 <output name="output" file="ConvertFastaHeaders_example_output_Replace.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
114 </test>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
115 <test> -a delete -p '1 3'
163892325845 Initial commit.
galaxyp
parents:
diff changeset
116 <param name="input" value="ExtractPeptideSequenceContext_example_DB.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
117 <output name="output" file="ConvertFastaHeaders_example_output_Delete.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
118 </test>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
119 <test> -a shuffle -p '2 3 1'
163892325845 Initial commit.
galaxyp
parents:
diff changeset
120 <param name="input" value="ExtractPeptideSequenceContext_example_DB.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
121 <output name="output" file="ConvertFastaHeaders_example_output_Shuffle.fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
122 </test>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
123 </tests>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
124 -->
163892325845 Initial commit.
galaxyp
parents:
diff changeset
125 <help>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
126
163892325845 Initial commit.
galaxyp
parents:
diff changeset
127 .. class:: infomark
163892325845 Initial commit.
galaxyp
parents:
diff changeset
128
163892325845 Initial commit.
galaxyp
parents:
diff changeset
129 **What it does**
163892325845 Initial commit.
galaxyp
parents:
diff changeset
130
163892325845 Initial commit.
galaxyp
parents:
diff changeset
131 This tool converts the sequence headers (the description line starting with &gt;) for a set of FASTA sequences. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
132 Currently supported conversions:
163892325845 Initial commit.
galaxyp
parents:
diff changeset
133
163892325845 Initial commit.
galaxyp
parents:
diff changeset
134 - Append prefixes like for example database namespace to identifiers / accession numbers.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
135 - Append suffixes to identifiers / accession numbers.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
136 - Remove prefixes like for example database namespace from identifiers / accession numbers.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
137 - Remove suffixes from identifiers / accession numbers.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
138 - Replace prefixes with a suffix or vice versa.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
139
163892325845 Initial commit.
galaxyp
parents:
diff changeset
140 -----
163892325845 Initial commit.
galaxyp
parents:
diff changeset
141
163892325845 Initial commit.
galaxyp
parents:
diff changeset
142 **Examples**
163892325845 Initial commit.
galaxyp
parents:
diff changeset
143
163892325845 Initial commit.
galaxyp
parents:
diff changeset
144 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
145 *Appending database namespace prefixes*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
146 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
147
163892325845 Initial commit.
galaxyp
parents:
diff changeset
148 Supply a space separated list of prefixes to add to pipe separated identifiers. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
149 The prefixes must contain both the database namespace you want to add and the character used to separate the namespace from the identifier. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
150 The order of the namespaces is important in this case! \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
151 For example with action *Add Labels*, label position *Prepend Prefixes* and prefixes *UniProtAcc: UniProtID:*, this header::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
152
163892325845 Initial commit.
galaxyp
parents:
diff changeset
153 >P32234|128UP_DROME GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
154
163892325845 Initial commit.
galaxyp
parents:
diff changeset
155 will be converted into::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
156
163892325845 Initial commit.
galaxyp
parents:
diff changeset
157 >UniProtAcc:P32234|UniProtID:128UP_DROME GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
158
163892325845 Initial commit.
galaxyp
parents:
diff changeset
159 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
160 *Removing database namespace prefixes*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
161 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
162
163892325845 Initial commit.
galaxyp
parents:
diff changeset
163 Supply a space separated list of namespaces to remove from pipe separated identifiers. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
164 The prefixes must contain both the database namespace you want to remove and the character used to separate the namespace from the identifier. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
165 The order of the namespaces is not relevant in this case. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
166 For example with action *Remove Labels*, label position *Strip Prefixes* and \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
167 with prefixes *UniProtAcc: UniProtID:* or with prefixes *UniProtID: UniProtAcc:*, this header::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
168
163892325845 Initial commit.
galaxyp
parents:
diff changeset
169 >UniProtAcc:P32234|UniProtID:128UP_DROME GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
170
163892325845 Initial commit.
galaxyp
parents:
diff changeset
171 will be converted into::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
172
163892325845 Initial commit.
galaxyp
parents:
diff changeset
173 >P32234|128UP_DROME GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
174
163892325845 Initial commit.
galaxyp
parents:
diff changeset
175 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
176 *Replacing a prefix with a suffix*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
177 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
178
163892325845 Initial commit.
galaxyp
parents:
diff changeset
179 Supply the prefix to remove from pipe separated identifiers and a new suffix. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
180 The order of the prefixes is not relevant in this case. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
181 Optionally you can specify more than one prefix to remove by separating them with spaces. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
182 You can specify only one new suffix though, so in case you specified more than one prefix they will all be replaced with the same new suffix. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
183 In the following example we'll replace a *REV_* prefix to indicate a reversed sequence with a *_REV* suffix. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
184 With action *Replace Labels*, label position *Replace prefixes with a suffix*, prefix *REV_* and new suffix *_REV*, this header::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
185
163892325845 Initial commit.
galaxyp
parents:
diff changeset
186 >REV_P32234|128UP_DROME GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
187
163892325845 Initial commit.
galaxyp
parents:
diff changeset
188 will be converted into::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
189
163892325845 Initial commit.
galaxyp
parents:
diff changeset
190 >P32234_REV|128UP_DROME GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
191
163892325845 Initial commit.
galaxyp
parents:
diff changeset
192 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
193 *Other \*fix replacements*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
194 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
195
163892325845 Initial commit.
galaxyp
parents:
diff changeset
196 You can also replace a prefix with a new prefix, a suffix with a new suffix or a suffix with a new prefix. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
197 These replacements are all similar to the example above. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
198 Hence you can specify multiple \*-fixes to be replaced and only one new \*-fix to replace the existing ones.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
199
163892325845 Initial commit.
galaxyp
parents:
diff changeset
200 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
201 *Deleting sequence identifiers*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
202 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
203
163892325845 Initial commit.
galaxyp
parents:
diff changeset
204 Supply a comma separated list of numbers for the ranks of the identifiers / accession numbers you want to remove. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
205 Multiple identifiers must be separated with a pipe symbol. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
206 For example with action *Delete*, and Ranks of IDs to delete set to *1,3*, this header::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
207
163892325845 Initial commit.
galaxyp
parents:
diff changeset
208 >UniProtID:128UP_DROME|UniProtAcc:P32234|EMBL:AY069810 GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
209
163892325845 Initial commit.
galaxyp
parents:
diff changeset
210 will be converted into::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
211
163892325845 Initial commit.
galaxyp
parents:
diff changeset
212 >UniProtAcc:P32234 GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
213
163892325845 Initial commit.
galaxyp
parents:
diff changeset
214 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
215 *Changing the order of sequence identifiers*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
216 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
217
163892325845 Initial commit.
galaxyp
parents:
diff changeset
218 Supply a comma separated list of numbers for the new order of all the identifiers / accession numbers in a header. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
219 Multiple identifiers must be separated with a pipe symbol. \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
220 Hence if your headers contain 4 pipe separated IDs and you only want to swap the order of the first and the second, \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
221 you will still need to specify the new (unchanged) order for number 3 and 4 too.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
222
163892325845 Initial commit.
galaxyp
parents:
diff changeset
223 For example with action *Shuffle*, and New order for the IDs set to *2,1,3*, this header::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
224
163892325845 Initial commit.
galaxyp
parents:
diff changeset
225 >UniProtID:128UP_DROME|UniProtAcc:P32234|EMBL:AY069810 GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
226
163892325845 Initial commit.
galaxyp
parents:
diff changeset
227 will be converted into::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
228
163892325845 Initial commit.
galaxyp
parents:
diff changeset
229 >UniProtAcc:P32234|UniProtID:128UP_DROME|EMBL:AY069810 GTP-binding protein 128up - Drosophila melanogaster (Fruit fly)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
230
163892325845 Initial commit.
galaxyp
parents:
diff changeset
231 Specifying only *2,1* as the New order for the IDs will not work, because this header contains 3 IDs, \
163892325845 Initial commit.
galaxyp
parents:
diff changeset
232 so you'll have to include the (new) position for the third one as well.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
233
163892325845 Initial commit.
galaxyp
parents:
diff changeset
234 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
235 *Need another type of conversion?*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
236 ========================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
237
163892325845 Initial commit.
galaxyp
parents:
diff changeset
238 Contact your local bioinformaticians to add other conversions...
163892325845 Initial commit.
galaxyp
parents:
diff changeset
239
163892325845 Initial commit.
galaxyp
parents:
diff changeset
240 </help>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
241 </tool>