| 1 | <HTML> |
| 2 | |
| 3 | <HEAD> |
| 4 | <TITLE> |
| 5 | EMBOSS: prosextract |
| 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 | prosextract |
| 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 | Process the PROSITE motif database for use by patmatmotifs |
| 40 | |
| 41 | <H2> |
| 42 | Description |
| 43 | </H2> |
| 44 | |
| 45 | <p>prosextract processes the PROSITE motif database for use by <b>patmatmotifs</b>. It reads the <tt>prosite.dat</tt> and <tt>prosite.doc</tt> files (from the Prosite distribution) from the specified directory and writes an output file (by default called <tt>prosite.lines</tt>) with the following information (corresponding lines from prosite.dat given in parentheses): i. Identity (<tt>ID</tt>). ii. Accession number (<tt>AC</tt>). iii. Motif pattern (<tt>PA</tt>). iv. The motif pattern converted a regular expression. Additionally, one output file per accession number is written containing documentation from <tt>prosite.doc</tt>.</p> |
| 46 | |
| 47 | <H2> |
| 48 | Usage |
| 49 | </H2> |
| 50 | Here is a sample session with <b>prosextract</b> |
| 51 | <p> |
| 52 | |
| 53 | <p> |
| 54 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 55 | |
| 56 | % <b>prosextract </b> |
| 57 | Process the PROSITE motif database for use by patmatmotifs |
| 58 | PROSITE database directory [.]: <b></b> |
| 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 | <p> |
| 65 | |
| 66 | The output files named after the prosite accession numbers can now |
| 67 | also be seen in the prosite directory. This files are automatically |
| 68 | created after prosextract is run. |
| 69 | |
| 70 | |
| 71 | <H2> |
| 72 | Command line arguments |
| 73 | </H2> |
| 74 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 75 | <pre> |
| 76 | Process the PROSITE motif database for use by patmatmotifs |
| 77 | Version: EMBOSS:6.6.0.0 |
| 78 | |
| 79 | Standard (Mandatory) qualifiers: |
| 80 | [-prositedir] directory PROSITE database directory |
| 81 | |
| 82 | Additional (Optional) qualifiers: (none) |
| 83 | Advanced (Unprompted) qualifiers: (none) |
| 84 | Associated qualifiers: |
| 85 | |
| 86 | "-prositedir" associated qualifiers |
| 87 | -extension1 string Default file extension |
| 88 | |
| 89 | General qualifiers: |
| 90 | -auto boolean Turn off prompts |
| 91 | -stdout boolean Write first file to standard output |
| 92 | -filter boolean Read first file from standard input, write |
| 93 | first file to standard output |
| 94 | -options boolean Prompt for standard and additional values |
| 95 | -debug boolean Write debug output to program.dbg |
| 96 | -verbose boolean Report some/full command line options |
| 97 | -help boolean Report command line options and exit. More |
| 98 | information on associated and general |
| 99 | qualifiers can be found with -help -verbose |
| 100 | -warning boolean Report warnings |
| 101 | -error boolean Report errors |
| 102 | -fatal boolean Report fatal errors |
| 103 | -die boolean Report dying program messages |
| 104 | -version boolean Report version number and exit |
| 105 | |
| 106 | </pre> |
| 107 | </td></tr></table> |
| 108 | <P> |
| 109 | |
| 110 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 111 | <tr bgcolor="#FFFFCC"> |
| 112 | <th align="left">Qualifier</th> |
| 113 | <th align="left">Type</th> |
| 114 | <th align="left">Description</th> |
| 115 | <th align="left">Allowed values</th> |
| 116 | <th align="left">Default</th> |
| 117 | </tr> |
| 118 | |
| 119 | <tr bgcolor="#FFFFCC"> |
| 120 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 121 | </tr> |
| 122 | |
| 123 | <tr bgcolor="#FFFFCC"> |
| 124 | <td>[-prositedir]<br>(Parameter 1)</td> |
| 125 | <td>directory</td> |
| 126 | <td>PROSITE database directory</td> |
| 127 | <td>Directory</td> |
| 128 | <td> </td> |
| 129 | </tr> |
| 130 | |
| 131 | <tr bgcolor="#FFFFCC"> |
| 132 | <th align="left" colspan=5>Additional (Optional) 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>Advanced (Unprompted) 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>Associated qualifiers</th> |
| 149 | </tr> |
| 150 | |
| 151 | <tr bgcolor="#FFFFCC"> |
| 152 | <td align="left" colspan=5>"-prositedir" associated directory qualifiers |
| 153 | </td> |
| 154 | </tr> |
| 155 | |
| 156 | <tr bgcolor="#FFFFCC"> |
| 157 | <td> -extension1<br>-extension_prositedir</td> |
| 158 | <td>string</td> |
| 159 | <td>Default file extension</td> |
| 160 | <td>Any string</td> |
| 161 | <td> </td> |
| 162 | </tr> |
| 163 | |
| 164 | <tr bgcolor="#FFFFCC"> |
| 165 | <th align="left" colspan=5>General qualifiers</th> |
| 166 | </tr> |
| 167 | |
| 168 | <tr bgcolor="#FFFFCC"> |
| 169 | <td> -auto</td> |
| 170 | <td>boolean</td> |
| 171 | <td>Turn off prompts</td> |
| 172 | <td>Boolean value Yes/No</td> |
| 173 | <td>N</td> |
| 174 | </tr> |
| 175 | |
| 176 | <tr bgcolor="#FFFFCC"> |
| 177 | <td> -stdout</td> |
| 178 | <td>boolean</td> |
| 179 | <td>Write first file to standard output</td> |
| 180 | <td>Boolean value Yes/No</td> |
| 181 | <td>N</td> |
| 182 | </tr> |
| 183 | |
| 184 | <tr bgcolor="#FFFFCC"> |
| 185 | <td> -filter</td> |
| 186 | <td>boolean</td> |
| 187 | <td>Read first file from standard input, write first file to standard output</td> |
| 188 | <td>Boolean value Yes/No</td> |
| 189 | <td>N</td> |
| 190 | </tr> |
| 191 | |
| 192 | <tr bgcolor="#FFFFCC"> |
| 193 | <td> -options</td> |
| 194 | <td>boolean</td> |
| 195 | <td>Prompt for standard and additional values</td> |
| 196 | <td>Boolean value Yes/No</td> |
| 197 | <td>N</td> |
| 198 | </tr> |
| 199 | |
| 200 | <tr bgcolor="#FFFFCC"> |
| 201 | <td> -debug</td> |
| 202 | <td>boolean</td> |
| 203 | <td>Write debug output to program.dbg</td> |
| 204 | <td>Boolean value Yes/No</td> |
| 205 | <td>N</td> |
| 206 | </tr> |
| 207 | |
| 208 | <tr bgcolor="#FFFFCC"> |
| 209 | <td> -verbose</td> |
| 210 | <td>boolean</td> |
| 211 | <td>Report some/full command line options</td> |
| 212 | <td>Boolean value Yes/No</td> |
| 213 | <td>Y</td> |
| 214 | </tr> |
| 215 | |
| 216 | <tr bgcolor="#FFFFCC"> |
| 217 | <td> -help</td> |
| 218 | <td>boolean</td> |
| 219 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 220 | <td>Boolean value Yes/No</td> |
| 221 | <td>N</td> |
| 222 | </tr> |
| 223 | |
| 224 | <tr bgcolor="#FFFFCC"> |
| 225 | <td> -warning</td> |
| 226 | <td>boolean</td> |
| 227 | <td>Report warnings</td> |
| 228 | <td>Boolean value Yes/No</td> |
| 229 | <td>Y</td> |
| 230 | </tr> |
| 231 | |
| 232 | <tr bgcolor="#FFFFCC"> |
| 233 | <td> -error</td> |
| 234 | <td>boolean</td> |
| 235 | <td>Report errors</td> |
| 236 | <td>Boolean value Yes/No</td> |
| 237 | <td>Y</td> |
| 238 | </tr> |
| 239 | |
| 240 | <tr bgcolor="#FFFFCC"> |
| 241 | <td> -fatal</td> |
| 242 | <td>boolean</td> |
| 243 | <td>Report fatal errors</td> |
| 244 | <td>Boolean value Yes/No</td> |
| 245 | <td>Y</td> |
| 246 | </tr> |
| 247 | |
| 248 | <tr bgcolor="#FFFFCC"> |
| 249 | <td> -die</td> |
| 250 | <td>boolean</td> |
| 251 | <td>Report dying program messages</td> |
| 252 | <td>Boolean value Yes/No</td> |
| 253 | <td>Y</td> |
| 254 | </tr> |
| 255 | |
| 256 | <tr bgcolor="#FFFFCC"> |
| 257 | <td> -version</td> |
| 258 | <td>boolean</td> |
| 259 | <td>Report version number and exit</td> |
| 260 | <td>Boolean value Yes/No</td> |
| 261 | <td>N</td> |
| 262 | </tr> |
| 263 | |
| 264 | </table> |
| 265 | |
| 266 | |
| 267 | <H2> |
| 268 | Input file format |
| 269 | </H2> |
| 270 | |
| 271 | |
| 272 | These files must be the "prosite.dat" and "prosite.doc" file of a |
| 273 | Prosite distribution, containing all current prosite data. |
| 274 | |
| 275 | <p> |
| 276 | |
| 277 | |
| 278 | <H2> |
| 279 | Output file format |
| 280 | </H2> |
| 281 | |
| 282 | |
| 283 | These files are held in the prosite subdirectory of the emboss data |
| 284 | directory. The default names are "prosite.lines" and "PS*****" |
| 285 | (accession number documentation files) |
| 286 | |
| 287 | <p> |
| 288 | |
| 289 | |
| 290 | <a name="output.1"></a> |
| 291 | <h3>Output files for usage example </h3> |
| 292 | <p><h3>Directory: PROSITE</h3> |
| 293 | <p>This directory contains output files. |
| 294 | <p> |
| 295 | |
| 296 | |
| 297 | <H2> |
| 298 | Data files |
| 299 | </H2> |
| 300 | |
| 301 | |
| 302 | See Input file format above. |
| 303 | |
| 304 | <H2> |
| 305 | Notes |
| 306 | </H2> |
| 307 | |
| 308 | <p>This program most be run as a prerequisite to using <b>patmatmotifs</b>.</p> |
| 309 | |
| 310 | <H2> |
| 311 | References |
| 312 | </H2> |
| 313 | |
| 314 | |
| 315 | <ol> |
| 316 | <li>Bairoch, A., Bucher P. (1994) PROSITE: recent developments. Nucleic |
| 317 | Acids Research, Vol 22, No.17 3583-3589. |
| 318 | |
| 319 | <li>Bairoch, A., (1992) PROSITE: a dictionary of sites and patterns in |
| 320 | proteins. Nucleic Acids Research, Vol 20, Supplement, 2013-2018. |
| 321 | |
| 322 | <li>Peek, J., O'Reilly, T., Loukides, M., (1997) Unix Power Tools, 2nd |
| 323 | Edition. |
| 324 | </ol> |
| 325 | |
| 326 | <H2> |
| 327 | Warnings |
| 328 | </H2> |
| 329 | |
| 330 | |
| 331 | The program will warn the user if the input file is incorrectly |
| 332 | formatted. |
| 333 | |
| 334 | <H2> |
| 335 | Diagnostic Error Messages |
| 336 | </H2> |
| 337 | |
| 338 | |
| 339 | As in warnings. |
| 340 | |
| 341 | <H2> |
| 342 | Exit status |
| 343 | </H2> |
| 344 | |
| 345 | |
| 346 | Always exits with status 0 |
| 347 | |
| 348 | <H2> |
| 349 | Known bugs |
| 350 | </H2> |
| 351 | |
| 352 | |
| 353 | <h2><a name="See also">See also</a></h2> |
| 354 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 355 | <tr><th>Program name</th> |
| 356 | <th>Description</th></tr> |
| 357 | <tr> |
| 358 | <td><a href="aaindexextract.html">aaindexextract</a></td> |
| 359 | <td>Extract amino acid property data from AAINDEX</td> |
| 360 | </tr> |
| 361 | |
| 362 | <tr> |
| 363 | <td><a href="cutgextract.html">cutgextract</a></td> |
| 364 | <td>Extract codon usage tables from CUTG database</td> |
| 365 | </tr> |
| 366 | |
| 367 | <tr> |
| 368 | <td><a href="jaspextract.html">jaspextract</a></td> |
| 369 | <td>Extract data from JASPAR</td> |
| 370 | </tr> |
| 371 | |
| 372 | <tr> |
| 373 | <td><a href="printsextract.html">printsextract</a></td> |
| 374 | <td>Extract data from PRINTS database for use by pscan</td> |
| 375 | </tr> |
| 376 | |
| 377 | <tr> |
| 378 | <td><a href="rebaseextract.html">rebaseextract</a></td> |
| 379 | <td>Process the REBASE database for use by restriction enzyme applications</td> |
| 380 | </tr> |
| 381 | |
| 382 | <tr> |
| 383 | <td><a href="tfextract.html">tfextract</a></td> |
| 384 | <td>Process TRANSFAC transcription factor database for use by tfscan</td> |
| 385 | </tr> |
| 386 | |
| 387 | </table> |
| 388 | |
| 389 | |
| 390 | <H2> |
| 391 | Author(s) |
| 392 | </H2> |
| 393 | |
| 394 | |
| 395 | Sinead O'Leary formerly at: |
| 396 | <br> |
| 397 | HGMP-RC, Genome Campus, Hinxton, Cambridge CB10 1SB, UK |
| 398 | |
| 399 | |
| 400 | <p> |
| 401 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 402 | |
| 403 | |
| 404 | <H2> |
| 405 | History |
| 406 | </H2> |
| 407 | |
| 408 | |
| 409 | Completed March 24 1999. |
| 410 | |
| 411 | <H2> |
| 412 | Target users |
| 413 | </H2> |
| 414 | This program is intended to be used by administrators responsible |
| 415 | for software and database installation and maintenance. |
| 416 | |
| 417 | |
| 418 | <H2> |
| 419 | Comments |
| 420 | </H2> |
| 421 | None |
| 422 | |
| 423 | |
| 424 | </BODY> |
| 425 | </HTML> |
| 426 |