| 1 | <HTML> |
| 2 | |
| 3 | <HEAD> |
| 4 | <TITLE> |
| 5 | EMBOSS: acdvalid |
| 6 | </TITLE> |
| 7 | </HEAD> |
| 8 | <BODY BGCOLOR="#FFFFFF" text="#000000"> |
| 9 | |
| 10 | <table align=center border=0 cellspacing=0 cellpadding=0> |
| 11 | <tr><td valign=top> |
| 12 | <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> |
| 13 | </td> |
| 14 | <td align=left valign=middle> |
| 15 | <b><font size="+6"> |
| 16 | acdvalid |
| 17 | </font></b> |
| 18 | </td></tr> |
| 19 | </table> |
| 20 | <br> |
| 21 | <p> |
| 22 | |
| 23 | |
| 24 | <H2> |
| 25 | Wiki |
| 26 | </H2> |
| 27 | |
| 28 | The master copies of EMBOSS documentation are available |
| 29 | at <a href="http://emboss.open-bio.org/wiki/Appdocs"> |
| 30 | http://emboss.open-bio.org/wiki/Appdocs</a> |
| 31 | on the EMBOSS Wiki. |
| 32 | |
| 33 | <p> |
| 34 | Please help by correcting and extending the Wiki pages. |
| 35 | |
| 36 | <H2> |
| 37 | Function |
| 38 | </H2> |
| 39 | Validate an application ACD file |
| 40 | |
| 41 | <H2> |
| 42 | Description |
| 43 | </H2> |
| 44 | |
| 45 | <p><b>acdvalid</b> processes an ACD file and reports any errors or warnings caused by incorrect, deprecated or obsolete syntax. The tests go above and beyond those of <b>acdc</b> and <b>acdtrace</b>. It highlights ACD syntax that might cause problems to third-party parsing software which wrap the EMBOSS applications.</p> |
| 46 | |
| 47 | <p><b>acdvalid</b> validates the ACD file, testing many features which will not prevent an application from running, but will create problems for the interfaces, whether on the command-line or some other type.</p> |
| 48 | |
| 49 | |
| 50 | <H2> |
| 51 | Usage |
| 52 | </H2> |
| 53 | Here is a sample session with <b>acdvalid</b> |
| 54 | <p> |
| 55 | |
| 56 | <p> |
| 57 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 58 | |
| 59 | % <b>acdvalid antigenic </b> |
| 60 | |
| 61 | </pre></td></tr></table><p> |
| 62 | <p> |
| 63 | <p> |
| 64 | |
| 65 | |
| 66 | <H2> |
| 67 | Command line arguments |
| 68 | </H2> |
| 69 | |
| 70 | |
| 71 | The first parameter is the name of the program to compile. |
| 72 | |
| 73 | All other command line parameters and qualifiers are defined for that |
| 74 | program - see the documentation for the program of choice. |
| 75 | |
| 76 | <P> |
| 77 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 78 | <pre> |
| 79 | Validate an application ACD file |
| 80 | Version: EMBOSS:6.6.0.0 |
| 81 | |
| 82 | Standard (Mandatory) qualifiers: (none) |
| 83 | Additional (Optional) qualifiers: (none) |
| 84 | Advanced (Unprompted) qualifiers: (none) |
| 85 | Associated qualifiers: (none) |
| 86 | General qualifiers: |
| 87 | -auto boolean Turn off prompts |
| 88 | -stdout boolean Write first file to standard output |
| 89 | -filter boolean Read first file from standard input, write |
| 90 | first file to standard output |
| 91 | -options boolean Prompt for standard and additional values |
| 92 | -debug boolean Write debug output to program.dbg |
| 93 | -verbose boolean Report some/full command line options |
| 94 | -help boolean Report command line options and exit. More |
| 95 | information on associated and general |
| 96 | qualifiers can be found with -help -verbose |
| 97 | -warning boolean Report warnings |
| 98 | -error boolean Report errors |
| 99 | -fatal boolean Report fatal errors |
| 100 | -die boolean Report dying program messages |
| 101 | -version boolean Report version number and exit |
| 102 | |
| 103 | </pre> |
| 104 | </td></tr></table> |
| 105 | <P> |
| 106 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 107 | <tr bgcolor="#FFFFCC"> |
| 108 | <th align="left">Qualifier</th> |
| 109 | <th align="left">Type</th> |
| 110 | <th align="left">Description</th> |
| 111 | <th align="left">Allowed values</th> |
| 112 | <th align="left">Default</th> |
| 113 | </tr> |
| 114 | |
| 115 | <tr bgcolor="#FFFFCC"> |
| 116 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 117 | </tr> |
| 118 | |
| 119 | <tr> |
| 120 | <td colspan=5>(none)</td> |
| 121 | </tr> |
| 122 | |
| 123 | <tr bgcolor="#FFFFCC"> |
| 124 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 125 | </tr> |
| 126 | |
| 127 | <tr> |
| 128 | <td colspan=5>(none)</td> |
| 129 | </tr> |
| 130 | |
| 131 | <tr bgcolor="#FFFFCC"> |
| 132 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 133 | </tr> |
| 134 | |
| 135 | <tr> |
| 136 | <td colspan=5>(none)</td> |
| 137 | </tr> |
| 138 | |
| 139 | <tr bgcolor="#FFFFCC"> |
| 140 | <th align="left" colspan=5>Associated qualifiers</th> |
| 141 | </tr> |
| 142 | |
| 143 | <tr> |
| 144 | <td colspan=5>(none)</td> |
| 145 | </tr> |
| 146 | |
| 147 | <tr bgcolor="#FFFFCC"> |
| 148 | <th align="left" colspan=5>General qualifiers</th> |
| 149 | </tr> |
| 150 | |
| 151 | <tr bgcolor="#FFFFCC"> |
| 152 | <td> -auto</td> |
| 153 | <td>boolean</td> |
| 154 | <td>Turn off prompts</td> |
| 155 | <td>Boolean value Yes/No</td> |
| 156 | <td>N</td> |
| 157 | </tr> |
| 158 | |
| 159 | <tr bgcolor="#FFFFCC"> |
| 160 | <td> -stdout</td> |
| 161 | <td>boolean</td> |
| 162 | <td>Write first file to standard output</td> |
| 163 | <td>Boolean value Yes/No</td> |
| 164 | <td>N</td> |
| 165 | </tr> |
| 166 | |
| 167 | <tr bgcolor="#FFFFCC"> |
| 168 | <td> -filter</td> |
| 169 | <td>boolean</td> |
| 170 | <td>Read first file from standard input, write first file to standard output</td> |
| 171 | <td>Boolean value Yes/No</td> |
| 172 | <td>N</td> |
| 173 | </tr> |
| 174 | |
| 175 | <tr bgcolor="#FFFFCC"> |
| 176 | <td> -options</td> |
| 177 | <td>boolean</td> |
| 178 | <td>Prompt for standard and additional values</td> |
| 179 | <td>Boolean value Yes/No</td> |
| 180 | <td>N</td> |
| 181 | </tr> |
| 182 | |
| 183 | <tr bgcolor="#FFFFCC"> |
| 184 | <td> -debug</td> |
| 185 | <td>boolean</td> |
| 186 | <td>Write debug output to program.dbg</td> |
| 187 | <td>Boolean value Yes/No</td> |
| 188 | <td>N</td> |
| 189 | </tr> |
| 190 | |
| 191 | <tr bgcolor="#FFFFCC"> |
| 192 | <td> -verbose</td> |
| 193 | <td>boolean</td> |
| 194 | <td>Report some/full command line options</td> |
| 195 | <td>Boolean value Yes/No</td> |
| 196 | <td>Y</td> |
| 197 | </tr> |
| 198 | |
| 199 | <tr bgcolor="#FFFFCC"> |
| 200 | <td> -help</td> |
| 201 | <td>boolean</td> |
| 202 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 203 | <td>Boolean value Yes/No</td> |
| 204 | <td>N</td> |
| 205 | </tr> |
| 206 | |
| 207 | <tr bgcolor="#FFFFCC"> |
| 208 | <td> -warning</td> |
| 209 | <td>boolean</td> |
| 210 | <td>Report warnings</td> |
| 211 | <td>Boolean value Yes/No</td> |
| 212 | <td>Y</td> |
| 213 | </tr> |
| 214 | |
| 215 | <tr bgcolor="#FFFFCC"> |
| 216 | <td> -error</td> |
| 217 | <td>boolean</td> |
| 218 | <td>Report errors</td> |
| 219 | <td>Boolean value Yes/No</td> |
| 220 | <td>Y</td> |
| 221 | </tr> |
| 222 | |
| 223 | <tr bgcolor="#FFFFCC"> |
| 224 | <td> -fatal</td> |
| 225 | <td>boolean</td> |
| 226 | <td>Report fatal errors</td> |
| 227 | <td>Boolean value Yes/No</td> |
| 228 | <td>Y</td> |
| 229 | </tr> |
| 230 | |
| 231 | <tr bgcolor="#FFFFCC"> |
| 232 | <td> -die</td> |
| 233 | <td>boolean</td> |
| 234 | <td>Report dying program messages</td> |
| 235 | <td>Boolean value Yes/No</td> |
| 236 | <td>Y</td> |
| 237 | </tr> |
| 238 | |
| 239 | <tr bgcolor="#FFFFCC"> |
| 240 | <td> -version</td> |
| 241 | <td>boolean</td> |
| 242 | <td>Report version number and exit</td> |
| 243 | <td>Boolean value Yes/No</td> |
| 244 | <td>N</td> |
| 245 | </tr> |
| 246 | |
| 247 | </table> |
| 248 | |
| 249 | |
| 250 | |
| 251 | |
| 252 | <H2> |
| 253 | Input file format |
| 254 | </H2> |
| 255 | |
| 256 | The input is whatever the chosen application reads. |
| 257 | <p> |
| 258 | |
| 259 | |
| 260 | <H2> |
| 261 | Output file format |
| 262 | </H2> |
| 263 | |
| 264 | <p> |
| 265 | |
| 266 | The output file is empty, but any format available to the specified |
| 267 | program can be used. |
| 268 | |
| 269 | <p> |
| 270 | |
| 271 | |
| 272 | <H2> |
| 273 | Data files |
| 274 | </H2> |
| 275 | |
| 276 | |
| 277 | Acdvalid will use any data files specified in the ACD file of the |
| 278 | specified program, but will ignore any data files that are only used |
| 279 | directly by the program's code. |
| 280 | |
| 281 | <p> |
| 282 | EMBOSS data files are distributed with the application and stored |
| 283 | in the standard EMBOSS data directory, which is defined |
| 284 | by the EMBOSS environment variable EMBOSS_DATA. |
| 285 | |
| 286 | <p> |
| 287 | |
| 288 | To see the available EMBOSS data files, run: |
| 289 | <p> |
| 290 | <pre> |
| 291 | % embossdata -showall |
| 292 | </pre> |
| 293 | <p> |
| 294 | To fetch one of the data files (for example 'Exxx.dat') into your |
| 295 | current directory for you to inspect or modify, run: |
| 296 | |
| 297 | <pre> |
| 298 | |
| 299 | % embossdata -fetch -file Exxx.dat |
| 300 | |
| 301 | </pre> |
| 302 | <p> |
| 303 | |
| 304 | Users can provide their own data files in their own directories. |
| 305 | Project specific files can be put in the current directory, or for |
| 306 | tidier directory listings in a subdirectory called |
| 307 | ".embossdata". Files for all EMBOSS runs can be put in the user's home |
| 308 | directory, or again in a subdirectory called ".embossdata". |
| 309 | |
| 310 | <p> |
| 311 | The directories are searched in the following order: |
| 312 | |
| 313 | <ul> |
| 314 | <li> . (your current directory) |
| 315 | <li> .embossdata (under your current directory) |
| 316 | <li> ~/ (your home directory) |
| 317 | <li> ~/.embossdata |
| 318 | </ul> |
| 319 | <p> |
| 320 | |
| 321 | <H2> |
| 322 | Notes |
| 323 | </H2> |
| 324 | |
| 325 | <p><b>acdvalid</b> does not have its own options, but takes a single parameter which is the name of the EMBOSS application that is being testsed. It is invoked by specifying the name of the application to be tested along with any command-line options after the name of the utility application itself:</p> |
| 326 | |
| 327 | <p><b>acdvalid</b> ApplicationName Options</p> |
| 328 | |
| 329 | |
| 330 | |
| 331 | <p><b>acdvalid</b> will run the command line interface of any EMBOSS program by reading its ACD file and processing the command line and user responses in exactly the same way as if the true program itself were running. The application proper is <emphasis>not</emphasis> run; it is only the ACD file that is read.Any command-line options for the application being called can be specified. The user is prompted for any required values for application parameters and any input files are read. Output files can be specified in any available format however they will be empty (the application code is not called so there will be no output).</p> |
| 332 | |
| 333 | <p><b>acdvalid</b> will use any data files specified in the ACD file of the specified program, but will ignore any data files that are only used directly by the program's code. EMBOSS data files are distributed with the application and stored in the standard EMBOSS data directory (see EMBOSS Users Manual for further information).</p> |
| 334 | |
| 335 | <p><b>acdvalid</b> generates both error and warning messages. If the message is an "Error" then the ACD file will not work and requires fixing. Most of the messages from <b>acdvalid</b> are "Warnings" and do not prevent a program from running, however it is still worth trying to fix the problem. |
| 336 | |
| 337 | <p>Although the warning messages are only advisory, as many warnings as possible are fixed for any application in the main release. Further validation tests will be added in future releases so it is worth running <b>acdvalid</b> on all local ACD files with each new version of EMBOSS</p> |
| 338 | |
| 339 | |
| 340 | |
| 341 | |
| 342 | <H2> |
| 343 | References |
| 344 | </H2> |
| 345 | |
| 346 | |
| 347 | <H2> |
| 348 | Warnings |
| 349 | </H2> |
| 350 | |
| 351 | |
| 352 | None. |
| 353 | |
| 354 | <H2> |
| 355 | Diagnostic Error Messages |
| 356 | </H2> |
| 357 | |
| 358 | |
| 359 | |
| 360 | <H2> |
| 361 | Exit status |
| 362 | </H2> |
| 363 | |
| 364 | |
| 365 | It exits with status 0. |
| 366 | |
| 367 | <H2> |
| 368 | Known bugs |
| 369 | </H2> |
| 370 | |
| 371 | |
| 372 | None. |
| 373 | |
| 374 | |
| 375 | <h2><a name="See also">See also</a></h2> |
| 376 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 377 | <tr><th>Program name</th> |
| 378 | <th>Description</th></tr> |
| 379 | <tr> |
| 380 | <td><a href="acdc.html">acdc</a></td> |
| 381 | <td>Test an application ACD file</td> |
| 382 | </tr> |
| 383 | |
| 384 | <tr> |
| 385 | <td><a href="acdpretty.html">acdpretty</a></td> |
| 386 | <td>Correctly reformat an application ACD file</td> |
| 387 | </tr> |
| 388 | |
| 389 | <tr> |
| 390 | <td><a href="acdtable.html">acdtable</a></td> |
| 391 | <td>Generate an HTML table of parameters from an application ACD file</td> |
| 392 | </tr> |
| 393 | |
| 394 | <tr> |
| 395 | <td><a href="acdtrace.html">acdtrace</a></td> |
| 396 | <td>Trace processing of an application ACD file (for testing)</td> |
| 397 | </tr> |
| 398 | |
| 399 | </table> |
| 400 | <H2> |
| 401 | Author(s) |
| 402 | </H2> |
| 403 | |
| 404 | Peter Rice |
| 405 | <br> |
| 406 | European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 407 | |
| 408 | <p> |
| 409 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 410 | |
| 411 | <H2> |
| 412 | History |
| 413 | </H2> |
| 414 | Written 2004 |
| 415 | |
| 416 | <H2> |
| 417 | Target users |
| 418 | </H2> |
| 419 | This program is intended to be used by developers of applications and |
| 420 | interfaces. |
| 421 | |
| 422 | <H2> |
| 423 | Comments |
| 424 | </H2> |
| 425 | None |
| 426 | |
| 427 | |
| 428 | |
| 429 | </BODY> |
| 430 | </HTML> |
| 431 |