Debian Codegraph @

wdoc/tools/ace2line.html

raw
1 <HTML>
2
3 <HEAD>
4 <TITLE>User Guide To ACEDB ace2line & line2ace utilities</TITLE>
5
6 <LINK rel=stylesheet type="text/css"
7 href="../wdoc.css"
8 title="Style sheet for wdoc developer documents">
9
10 </HEAD>
11
12
13 <BODY>
14
15 <BLOCKQUOTE>
16 <DIV ALIGN=CENTER>
17 <IMG SRC="../acedb-logo.gif" ALT="[ACEDB 4_9 DOCUMENTATION]" align=middle>
18 <H3>
19 ACEDB Version 4_9
20 </H3>
21 </DIV>
22
23
24 <DIV ALIGN=CENTER>
25
26 <H1 align=center>
27 User Guide To ACEDB ace2line & line2ace utilities
28 </H1>
29
30 <ADDRESS>Originally written by<BR>
31 Cornel Lee & Dave Matthews &lt;[email protected]&gt;, 1992</ADDRESS>
32
33 </DIV>
34
35 <h2>Acknowledgements</h2>
36
37 <P>The scripts were written in 1992 by Cornel Lee at the Lawrence Berkeley
38 Lab. His address at that time was [email protected].
39
40 <P>Dave Matthews kindly forwarded the scripts to be included with the
41 AceDB CVS repository.
42
43
44 <h2>Synopsis</h2>
45
46 <P>ace2line.awk converts ACEDB .ace files to tab-delimited tables.
47 line2ace.awk performs the reverse conversion.
48
49 <P>Documentation is at the top of the scripts.
50
51 <h2>Description</h2>
52
53 <P>This is a widely useful functionality and there is a script to do it.
54 It was written for our project by Cornel Lee at LBL some years ago.
55
56 <P>It's called ace2line.awk and its purpose is to
57 select fields in arbitrary order from .ace file and create
58 line-records.
59
60 <P>The hard part about converting .ace data to CSV/tab-delimited is dealing
61 with 1) multivalued fields and 2) compound (vector) fields. The script
62 seems to do reasonable things for these.
63
64
65 <h2>A short example</h2>
66
67 <pre><code><b>INPUT -</b>
68 Sequence :
69 DNA_homol
70
71 Sequence : "Contig5002"
72 DNA_homol BE443570 Phrap 587 1 587 1 587
73 DNA_homol BE446512 Phrap 200 1 200 1 200
74
75 Sequence : "Contig5003
76 DNA_homol BE492786 Phrap 456 1 456 1 456
77 DNA_homol BF473179 Phrap 538 157 692 4 538
78 DNA_homol BE444401 Phrap 629 382 1010 1 629
79
80 <b>OUTPUT -</b>
81 Sequence DNA_homol
82 Contig5002 BE443570 Phrap 587 1 587 1 587$BE446512 Phrap 200 1 200 1 200
83 Contig5003 BE492786 Phrap 456 1 456 1 456$BF473179 Phrap 538 157 692 4 538$BE444401 Phrap 629 382 1010 1 629
84 </code></pre>
85
86
87 <h2>and a longer one</h2>
88
89 <pre><code><b>INPUT -</b>
90 /* Sample.ace: a sample input file for ace2line.awk */
91
92
93 // Class Paper
94 /***** Specification record for ace2nal.awk *****/
95
96 Paper :
97
98 Title
99 Author
100
101 Year
102
103 /***** end of the spec record *****/
104
105
106 /************ .ace data ***********/
107 Paper : "?Paper"
108
109 Paper : "mazur-1987-aaaqb"
110 Title "Acetolactate synthase, the target enzyme of the sulfonylurea \
111 herbicides"
112 So \
113 "NATO-advanced-science-institutes-series-:-Series-A-:-Life-sciences \
114 (USA). (1987). v. 140 p. 339-349"
115 DNAL "QH301.N32"
116 Year 1987
117 Author "Mazur-B-J"
118 Author "Falco-S-C"
119 Author "Knowlton-S"
120 Author "Smith-J-K"
121 Language "English"
122
123 Paper : "knowl-1988-aaauc"
124 Title "Creation and field testing of sulfonylurea-resistant crops"
125 So "Fraley,-R.T.; Frey,-N.M.; Schell,-J. (eds.). Genetic \
126 improvements of agriculturally important crops : progress and issues. \
127 Cold Spring Harbor, N.Y. (USA). Cold Spring Harbor Laboratory. 1988. \
128 p. 55-60"
129 DNAL "QK981.5.G464"
130 Year 1988
131 Author "Mazur-B-J"
132 Author "Knowlton-S"
133 Author "Arntzen-C-J"
134 Language "English"
135
136 Paper : "mazur-1987-aaadc"
137 Title "Acetolactate synthase, the target enzyme of the sulfonylurea \
138 herbicides"
139 So "Plant molecular biology. Proceedings of a NATO Advanced Study \
140 Institute, 10-19 June, 1987, Carlsberg Lab., Copenhagen, Denmark \
141 [edited by Wettstein, D. von; Chua, N. H.]. 1987, 339-349; 18 ref., \
142 in NATO ASI Series A, Life Sciences Vol. 140. New York, USA; Plenum \
143 Press"
144 Year 1987
145 Author "Mazur-B-J"
146 Author "Falco-S-C"
147 Author "Knowlton-S"
148 Author "Smith-J-K"
149 Language "English"
150
151 Paper : "mazur-1987-aaapv"
152 Title "Isolation and characterization of plant genes coding for \
153 acetolactate synthase, the target enzyme for two classes of \
154 herbicides"
155 So "Plant-physiology (USA). (Dec 1987). v. 85(4) p. 1110-1117"
156 DNAL "450 P692"
157 Year 1987
158 Author "Mazur-B-J"
159 Author "Smith-J-K"
160 Author "Chui-C-F"
161 Language "English"
162
163 Paper : "smith-1989-aaauz"
164 Title "Functional expression of plant acetolactate synthase genes in \
165 Escherichia coli"
166 So \
167 "Proceedings-of-the-National-Academy-of-Sciences-of-the-United-States-o\
168 f-America (USA). (Jun 1989). v. 86(11) p. 4179-4183"
169 DNAL "500 N21P"
170 Year 1989
171 Institution "Agric. Prod. Dep., E.I. du Pont de Nemours & Co., Exp. \
172 Stn. E402,Wilmington, DE 19880-0402, USA"
173 Author "Mazur-B-J"
174 Author "Smith-J-K"
175 Author "Schloss-J-V"
176 Type "Journal Article"
177 Language "English"
178 Keyword "algae"
179 Keyword "Escherichia coli"
180 Keyword "expression of cloned genes"
181 Keyword "gene expression"
182 Keyword "Gene manipulation"
183 Keyword "Genetic engineering"
184 Keyword "acetolactate synthase"
185
186 Paper : "haugh-1987-aabsb"
187 Title "AN ARABIDOPSIS ACETOLACTATE SYNTHASE GENE IN TOBACCO CONFERS \
188 RESISTANCE TO SULFONYLUREA HERBICIDES"
189 Journal "INTERNATIONAL BOTANICAL CONGRESS ABSTRACTS"
190 So "XIVTH INTERNATIONAL BOTANICAL CONGRESS, BERLIN, WEST GERMANY, \
191 JULY 24-AUGUST 1, 1987. INT BOT CONGR ABSTR 17. 1987. 71"
192 Year 1987
193 Author "Mazur-B-J"
194 Author "Smith-J-K"
195 Author "Somerville-C-R"
196 Author "Haughn-G-W"
197 Keyword "selectable marker"
198 Keyword "plant transformation"
199
200 Paper : "chui--1987-aadad"
201 Title "ISOLATION AND CHARACTERIZATION OF PLANT GENES CODING FOR \
202 ACETOLACTATE SYNTHASE THE TARGET ENZYME FOR TWO CLASSES OF HERBICIDES"
203 Journal "PLANT PHYSIOLOGY (BETHESDA)"
204 Year 1987
205 Volume 85
206 Page 1110 1117
207 Author "Mazur-B-J"
208 Author "Smith-J-K"
209 Author "Chui-C-F"
210 Keyword "Nicotiana tabacum"
211 Keyword "yeast"
212 Keyword "bacterial isozymes"
213 Keyword "homology"
214 Keyword "valine"
215 Keyword "isoleucine"
216 Keyword "leucine"
217 Keyword "sulfonyl urea"
218 Keyword "imidazolinones"
219 Keyword "amino acid sequences"
220
221 Paper : "mazur-1989-aadew"
222 Title "FUNCTIONAL EXPRESSION OF PLANT ACETOLACTATE SYNTHASE GENES IN \
223 ESCHERICHIA-COLI"
224 Journal "PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE \
225 UNITED STATES OF AMERICA"
226 Year 1989
227 Volume 86
228 Page 4179 4183
229 Author "Mazur-B-J"
230 Author "Smith-J-K"
231 Author "Schloss-J-V"
232 Keyword "EC 4.1.3.18"
233 Keyword "chloroplast"
234 Keyword "transit peptide"
235 Keyword "herbicide"
236 Keyword "amino acid biosynthesis"
237
238 Paper : "marti-1987-aabrk"
239 Title "TRANSCRIPTION OF ACETOLACTATE SYNTHASE GENES IN HIGHER PLANTS"
240 Journal "PLANT PHYSIOLOGY (BETHESDA)"
241 So "ANNUAL MEETING OF THE AMERICAN SOCIETY OF PLANT PHYSIOLOGISTS, \
242 ST. LOUIS, MISSOURI, USA, JULY 19-23, 1987. PLANT PHYSIOL (BETHESDA) \
243 83 (4 SUPPL.). 1987. 16"
244 Year 1987
245 Author "Smith-J-K"
246 Author "Martin-S-J"
247 Keyword "Nicotiana tabacum"
248 Keyword "regulation"
249
250 Paper : "hepbu-1987-aaaqc"
251 Title "DNA methylation in plants"
252 So "Developmental-genetics (USA). (1987). v. 8(5/6) p. 475-493"
253 DNAL "QH426.D32"
254 Year 1987
255 Author "Hepburn-A-G"
256 Author "Belanger-F-C"
257 Author "Mattheis-J-R"
258 Language "English"
259
260 Paper : "belan-1987-aadaj"
261 Title "DNA methylation in plants"
262 Journal "DEVELOPMENTAL GENETICS"
263 Year 1987
264 Volume 8
265 Page 475 494
266 Author "Hepburn-A-G"
267 Author "Belander-F-C"
268 Author "Mattheis-J-B"
269 Keyword "Zea sp"
270
271 /*#########################*/
272
273
274
275 <b>OUTPUT -</b>
276 Paper Title Author Year
277
278 ?Paper
279 mazur-1987-aaaqb Acetolactate synthase, the target enzyme of the sulfonylurea herbicides Mazur-B-J$Falco-S-C$Knowlton-S$Smith-J-K 1987
280 knowl-1988-aaauc Creation and field testing of sulfonylurea-resistant crops Mazur-B-J$Knowlton-S$Arntzen-C-J 1988
281 mazur-1987-aaadc Acetolactate synthase, the target enzyme of the sulfonylurea herbicides Mazur-B-J$Falco-S-C$Knowlton-S$Smith-J-K 1987
282 mazur-1987-aaapv Isolation and characterization of plant genes coding for acetolactate synthase, the target enzyme for two classes of herbicides Mazur-B-J$Smith-J-K$Chui-C-F 1987
283 smith-1989-aaauz Functional expression of plant acetolactate synthase genes in Escherichia coli Mazur-B-J$Smith-J-K$Schloss-J-V 1989
284 haugh-1987-aabsb AN ARABIDOPSIS ACETOLACTATE SYNTHASE GENE IN TOBACCO CONFERS RESISTANCE TO SULFONYLUREA HERBICIDES Mazur-B-J$Smith-J-K$Somerville-C-R$Haughn-G-W 1987
285 chui--1987-aadad ISOLATION AND CHARACTERIZATION OF PLANT GENES CODING FOR ACETOLACTATE SYNTHASE THE TARGET ENZYME FOR TWO CLASSES OF HERBICIDES Mazur-B-J$Smith-J-K$Chui-C-F 1987
286 mazur-1989-aadew FUNCTIONAL EXPRESSION OF PLANT ACETOLACTATE SYNTHASE GENES IN ESCHERICHIA-COLI Mazur-B-J$Smith-J-K$Schloss-J-V 1989
287 marti-1987-aabrk TRANSCRIPTION OF ACETOLACTATE SYNTHASE GENES IN HIGHER PLANTS Smith-J-K$Martin-S-J 1987
288 hepbu-1987-aaaqc DNA methylation in plants Hepburn-A-G$Belanger-F-C$Mattheis-J-R 1987
289 belan-1987-aadaj DNA methylation in plants Hepburn-A-G$Belander-F-C$Mattheis-J-B 1987
290
291 </code></pre>
292
293
294
295 <HR>
296 <H3 ALIGN="CENTER">ACEDB Version 4_8</H3>
297
298
299 <HR>
300 <ADDRESS><A href="mailto:[email protected]">Ed Griffiths &lt;[email protected]&gt;</A></ADDRESS>
301 <!-- hhmts start -->
302 Last modified: Fri Feb 15 09:45:15 GMT 2002
303 <!-- hhmts end -->
304
305 </BLOCKQUOTE>
306 </BODY>
307 </HTML>