Debian Codegraph @

doc/programs/html/acdpretty.html

raw symbols SCIP
1 <HTML>
2
3 <HEAD>
4 <TITLE>
5 EMBOSS: acdpretty
6 </TITLE>
7 </HEAD>
8 <table align=center border=0 cellspacing=0 cellpadding=0>
9 <tr><td valign=top>
10 <A HREF="/" ONMOUSEOVER="self.status='Go to the EMBOSS home page';return true"><img border=0 src="/images/emboss_icon.jpg" alt="" width=150 height=48></a>
11 </td>
12 <td align=left valign=middle>
13 <b><font size="+6">
14 acdpretty
15 </font></b>
16 </td></tr>
17 </table>
18 <br>&nbsp;
19 <p>
20
21
22 <H2>
23 Wiki
24 </H2>
25
26 The master copies of EMBOSS documentation are available
27 at <a href="http://emboss.open-bio.org/wiki/Appdocs">
28 http://emboss.open-bio.org/wiki/Appdocs</a>
29 on the EMBOSS Wiki.
30
31 <p>
32 Please help by correcting and extending the Wiki pages.
33
34 <H2>
35 Function
36 </H2>
37 Correctly reformat an application ACD file
38 <H2>
39 Description
40 </H2>
41 <p><b>acdpretty</b> will generate a correctly, fully formatted ACD file from one which is parsable but which is partly or incorrectly formatted.</p>
42
43 <p><b>acdpretty</b> reads the ACD file and rewrites it with clean formatting to the file (<tt>ApplicationName</tt>).<b>acdpretty</b> which can be used to overwrite the original ACD file. The new file might contain many differences. For example, abbreviations will be expanded, all sections and attributes will be indented, all values will be quoted and lines will be wrapped at a reasonable width.
44
45
46
47 <H2>
48 Usage
49 </H2>
50 Here is a sample session with <b>acdpretty</b>
51 <p>
52
53 <p>
54 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
55
56 % <b>acdpretty qatest </b>
57
58 Created qatest.acdpretty
59
60 </pre></td></tr></table><p>
61 <p>
62 <a href="#output.1">Go to the output files for this example</a><p><p>
63
64 <H2>
65 Command line arguments
66 </H2>
67
68
69 The first parameter is the name of the program to pretty print.
70
71 <p>
72 All other command line parameters and qualifiers are essentially
73 ignored as processing stops once the ACD file is printed. A few of the
74 general qualifiers have the potential to conflict with the function of
75 acdpretty.
76
77 <P>
78 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
79 <pre>
80 Correctly reformat an application ACD file
81 Version: EMBOSS:6.6.0.0
82
83 Standard (Mandatory) qualifiers: (none)
84 Additional (Optional) qualifiers: (none)
85 Advanced (Unprompted) qualifiers: (none)
86 Associated qualifiers: (none)
87 General qualifiers:
88 -auto boolean Turn off prompts
89 -stdout boolean Write first file to standard output
90 -filter boolean Read first file from standard input, write
91 first file to standard output
92 -options boolean Prompt for standard and additional values
93 -debug boolean Write debug output to program.dbg
94 -verbose boolean Report some/full command line options
95 -help boolean Report command line options and exit. More
96 information on associated and general
97 qualifiers can be found with -help -verbose
98 -warning boolean Report warnings
99 -error boolean Report errors
100 -fatal boolean Report fatal errors
101 -die boolean Report dying program messages
102 -version boolean Report version number and exit
103
104 </pre>
105 </td></tr></table>
106 <P>
107 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
108 <tr bgcolor="#FFFFCC">
109 <th align="left">Qualifier</th>
110 <th align="left">Type</th>
111 <th align="left">Description</th>
112 <th align="left">Allowed values</th>
113 <th align="left">Default</th>
114 </tr>
115
116 <tr bgcolor="#FFFFCC">
117 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
118 </tr>
119
120 <tr>
121 <td colspan=5>(none)</td>
122 </tr>
123
124 <tr bgcolor="#FFFFCC">
125 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
126 </tr>
127
128 <tr>
129 <td colspan=5>(none)</td>
130 </tr>
131
132 <tr bgcolor="#FFFFCC">
133 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
134 </tr>
135
136 <tr>
137 <td colspan=5>(none)</td>
138 </tr>
139
140 <tr bgcolor="#FFFFCC">
141 <th align="left" colspan=5>Associated qualifiers</th>
142 </tr>
143
144 <tr>
145 <td colspan=5>(none)</td>
146 </tr>
147
148 <tr bgcolor="#FFFFCC">
149 <th align="left" colspan=5>General qualifiers</th>
150 </tr>
151
152 <tr bgcolor="#FFFFCC">
153 <td> -auto</td>
154 <td>boolean</td>
155 <td>Turn off prompts</td>
156 <td>Boolean value Yes/No</td>
157 <td>N</td>
158 </tr>
159
160 <tr bgcolor="#FFFFCC">
161 <td> -stdout</td>
162 <td>boolean</td>
163 <td>Write first file to standard output</td>
164 <td>Boolean value Yes/No</td>
165 <td>N</td>
166 </tr>
167
168 <tr bgcolor="#FFFFCC">
169 <td> -filter</td>
170 <td>boolean</td>
171 <td>Read first file from standard input, write first file to standard output</td>
172 <td>Boolean value Yes/No</td>
173 <td>N</td>
174 </tr>
175
176 <tr bgcolor="#FFFFCC">
177 <td> -options</td>
178 <td>boolean</td>
179 <td>Prompt for standard and additional values</td>
180 <td>Boolean value Yes/No</td>
181 <td>N</td>
182 </tr>
183
184 <tr bgcolor="#FFFFCC">
185 <td> -debug</td>
186 <td>boolean</td>
187 <td>Write debug output to program.dbg</td>
188 <td>Boolean value Yes/No</td>
189 <td>N</td>
190 </tr>
191
192 <tr bgcolor="#FFFFCC">
193 <td> -verbose</td>
194 <td>boolean</td>
195 <td>Report some/full command line options</td>
196 <td>Boolean value Yes/No</td>
197 <td>Y</td>
198 </tr>
199
200 <tr bgcolor="#FFFFCC">
201 <td> -help</td>
202 <td>boolean</td>
203 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
204 <td>Boolean value Yes/No</td>
205 <td>N</td>
206 </tr>
207
208 <tr bgcolor="#FFFFCC">
209 <td> -warning</td>
210 <td>boolean</td>
211 <td>Report warnings</td>
212 <td>Boolean value Yes/No</td>
213 <td>Y</td>
214 </tr>
215
216 <tr bgcolor="#FFFFCC">
217 <td> -error</td>
218 <td>boolean</td>
219 <td>Report errors</td>
220 <td>Boolean value Yes/No</td>
221 <td>Y</td>
222 </tr>
223
224 <tr bgcolor="#FFFFCC">
225 <td> -fatal</td>
226 <td>boolean</td>
227 <td>Report fatal errors</td>
228 <td>Boolean value Yes/No</td>
229 <td>Y</td>
230 </tr>
231
232 <tr bgcolor="#FFFFCC">
233 <td> -die</td>
234 <td>boolean</td>
235 <td>Report dying program messages</td>
236 <td>Boolean value Yes/No</td>
237 <td>Y</td>
238 </tr>
239
240 <tr bgcolor="#FFFFCC">
241 <td> -version</td>
242 <td>boolean</td>
243 <td>Report version number and exit</td>
244 <td>Boolean value Yes/No</td>
245 <td>N</td>
246 </tr>
247
248 </table>
249
250
251
252 <H2>
253 Input file format
254 </H2>
255
256
257 The input file is the ACD file for the specified program
258
259 <p>
260
261
262 <H2>
263 Output file format
264 </H2>
265
266 <p>
267
268 The output file is a pretty printed copy of the original ACD file.
269
270 <p>
271 All sections and attributed will be indented. All values will be
272 quoted. Lines will be wrapped at a reasonable width.
273
274 <p>
275 The output file is intended as a standard format for parsers used by
276 GUI and other interface wrappers, rather than using the original ACD
277 file directly.
278
279
280
281 <a name="output.1"></a>
282 <h3>Output files for usage example </h3>
283 <p><h3>File: qatest.acdpretty</h3>
284 <table width="90%"><tr><td bgcolor="#CCFFCC">
285 <pre>
286 # Example ACD file for QA testing
287 #
288
289 application: qatest [
290 groups: "test"
291 documentation: "ACD file for QA testing"
292 ]
293
294 sequence: asequence [
295 parameter: "Y"
296 features: "Y"
297 ]
298
299 sequence: bsequence [
300 parameter: "Y"
301 ]
302
303 outfile: outfile [
304 parameter: "Y"
305 ]
306
307 integer: aint [
308 prompt: "first integer"
309 ]
310
311 integer: bint [
312 prompt: "second integer, first was $(aint)"
313 default: "57"
314 ]
315
316 string: testalen [
317 standard: "Y"
318 information: "asequence length $(asequence.length)"
319 ]
320
321 string: testblen [
322 standard: "Y"
323 information: "bsequence length $(bsequence.length)"
324 ]
325
326 string: outdir [
327 information: "output directory"
328 ]
329
330 boolean: logic [
331 information: "boolean value"
332 ]
333
334 outfile: outtest [
335 parameter: "Y"
336 odirectory: "$(outdir)"
337 ]
338
339 seqout: outseq [
340 parameter: "Y"
341 features: "Y"
342 osdirectory: "$(outdir)"
343 ofdirectory: "$(outdir)"
344 ]
345 </pre>
346 </td></tr></table><p>
347
348 <H2>
349 Data files
350 </H2>
351
352
353 None
354
355 <H2>
356 Notes
357 </H2>
358 <p><b>acdpretty</b> does not have its own options, but takes a single parameter which is the name of the ACD file that is being processed. It is invoked by specifying the name of the ACD file after the name of the utility application itself:</p>
359
360 <p><tt><b>acdpretty</b> ApplicationName</tt></p>
361
362 <p>Any command line parameters that would normally be specified for the application are essentially ignored as processing stops once the reformatted ACD file is printed.</p>
363
364 <p>The format generated by <b>acdpretty</b> is intended as a standard for parsers used by GUI and other interface developers. It is far easier writing a parser to cope with <b>acdpretty</b> output than one which can cope with the ACD sytax in general.</p>
365
366
367 <H2>
368 References
369 </H2>
370
371
372 <H2>
373 Warnings
374 </H2>
375
376 <p>A few of the global qualifiers have the potential to conflict with the function of <b>acdpretty</b>.</p>
377
378
379 <H2>
380 Diagnostic Error Messages
381 </H2>
382
383
384
385 <H2>
386 Exit status
387 </H2>
388
389
390 It exits with status 0.
391
392 <H2>
393 Known bugs
394 </H2>
395
396
397 None.
398
399 <h2><a name="See also">See also</a></h2>
400 <table border cellpadding=4 bgcolor="#FFFFF0">
401 <tr><th>Program name</th>
402 <th>Description</th></tr>
403 <tr>
404 <td><a href="acdc.html">acdc</a></td>
405 <td>Test an application ACD file</td>
406 </tr>
407
408 <tr>
409 <td><a href="acdtable.html">acdtable</a></td>
410 <td>Generate an HTML table of parameters from an application ACD file</td>
411 </tr>
412
413 <tr>
414 <td><a href="acdtrace.html">acdtrace</a></td>
415 <td>Trace processing of an application ACD file (for testing)</td>
416 </tr>
417
418 <tr>
419 <td><a href="acdvalid.html">acdvalid</a></td>
420 <td>Validate an application ACD file</td>
421 </tr>
422
423 </table>
424
425 <H2>
426 Author(s)
427 </H2>
428 Peter Rice
429 <br>
430 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
431
432 <p>
433 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
434 <H2>
435 History
436 </H2>
437 Completed 9th March 1999
438
439
440 <H2>
441 Target users
442 </H2>
443
444 This program is intended to be used by developers of applications and
445 interfaces.
446
447 <H2>
448 Comments
449 </H2>
450 None
451
452
453
454 </BODY>
455 </HTML>
456