| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <TITLE> |
| 4 | EMBOSS: mwfilter |
| 5 | </TITLE> |
| 6 | </HEAD> |
| 7 | <BODY BGCOLOR="#FFFFFF" text="#000000"> |
| 8 | |
| 9 | <table align=center border=0 cellspacing=0 cellpadding=0> |
| 10 | <tr><td valign=top> |
| 11 | <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> |
| 12 | </td> |
| 13 | <td align=left valign=middle> |
| 14 | <b><font size="+6"> |
| 15 | mwfilter |
| 16 | </font></b> |
| 17 | </td></tr> |
| 18 | </table> |
| 19 | <br> |
| 20 | <p> |
| 21 | |
| 22 | |
| 23 | <H2> |
| 24 | Wiki |
| 25 | </H2> |
| 26 | |
| 27 | The master copies of EMBOSS documentation are available |
| 28 | at <a href="http://emboss.open-bio.org/wiki/Appdocs"> |
| 29 | http://emboss.open-bio.org/wiki/Appdocs</a> |
| 30 | on the EMBOSS Wiki. |
| 31 | |
| 32 | <p> |
| 33 | Please help by correcting and extending the Wiki pages. |
| 34 | |
| 35 | <H2> |
| 36 | Function |
| 37 | </H2> |
| 38 | Filter noisy data from molecular weights file |
| 39 | <H2> |
| 40 | Description |
| 41 | </H2> |
| 42 | |
| 43 | <p><b>mwfilter</b> removes unwanted (noisy) data from mass spectrometry output in proteomics. It reads an input file with a list of experimental molecular weights and writes the same data to an output file but with unwanted (noisy) data removed, at a specified ppm tolerance. Optionally the deleted molecular weights are shown. It removes those molecular weights which are:</p> |
| 44 | |
| 45 | |
| 46 | <ul> |
| 47 | <li>Contaminating trypsin or keratin |
| 48 | <li>Modified oxy-methionine or oxy-threonine |
| 49 | <li>Peaks associated with sodium ions. |
| 50 | </ul> |
| 51 | |
| 52 | <p> |
| 53 | The last two operations can be done as most peaks are reported in |
| 54 | both modified and unmodified forms. Removal of modified peaks |
| 55 | aids in database searching for protein identification.</p> |
| 56 | |
| 57 | <H2> |
| 58 | Usage |
| 59 | </H2> |
| 60 | Here is a sample session with <b>mwfilter</b> |
| 61 | <p> |
| 62 | |
| 63 | <p> |
| 64 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 65 | |
| 66 | % <b>mwfilter </b> |
| 67 | Filter noisy data from molecular weights file |
| 68 | Molecular weights file: <b>molwts.dat</b> |
| 69 | Ppm tolerance [50.0]: <b></b> |
| 70 | Molecular weights output file [molwts.mwfilter]: <b></b> |
| 71 | |
| 72 | </pre></td></tr></table><p> |
| 73 | <p> |
| 74 | <a href="#input.1">Go to the input files for this example</a><br><a href="#output.1">Go to the output files for this example</a><p><p> |
| 75 | |
| 76 | <H2> |
| 77 | Command line arguments |
| 78 | </H2> |
| 79 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 80 | <pre> |
| 81 | Filter noisy data from molecular weights file |
| 82 | Version: EMBOSS:6.6.0.0 |
| 83 | |
| 84 | Standard (Mandatory) qualifiers: |
| 85 | [-infile] infile Molecular weights file |
| 86 | -tolerance float [50.0] Ppm tolerance (Any numeric value) |
| 87 | [-outfile] outfile [*.mwfilter] Molecular weights output file |
| 88 | |
| 89 | Additional (Optional) qualifiers: |
| 90 | -showdel boolean [N] Output deleted mwts |
| 91 | |
| 92 | Advanced (Unprompted) qualifiers: |
| 93 | -datafile datafile [Emwfilter.dat] Molecular weight standards |
| 94 | data file |
| 95 | |
| 96 | Associated qualifiers: |
| 97 | |
| 98 | "-outfile" associated qualifiers |
| 99 | -odirectory2 string Output directory |
| 100 | |
| 101 | General qualifiers: |
| 102 | -auto boolean Turn off prompts |
| 103 | -stdout boolean Write first file to standard output |
| 104 | -filter boolean Read first file from standard input, write |
| 105 | first file to standard output |
| 106 | -options boolean Prompt for standard and additional values |
| 107 | -debug boolean Write debug output to program.dbg |
| 108 | -verbose boolean Report some/full command line options |
| 109 | -help boolean Report command line options and exit. More |
| 110 | information on associated and general |
| 111 | qualifiers can be found with -help -verbose |
| 112 | -warning boolean Report warnings |
| 113 | -error boolean Report errors |
| 114 | -fatal boolean Report fatal errors |
| 115 | -die boolean Report dying program messages |
| 116 | -version boolean Report version number and exit |
| 117 | |
| 118 | </pre> |
| 119 | </td></tr></table> |
| 120 | <P> |
| 121 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 122 | <tr bgcolor="#FFFFCC"> |
| 123 | <th align="left">Qualifier</th> |
| 124 | <th align="left">Type</th> |
| 125 | <th align="left">Description</th> |
| 126 | <th align="left">Allowed values</th> |
| 127 | <th align="left">Default</th> |
| 128 | </tr> |
| 129 | |
| 130 | <tr bgcolor="#FFFFCC"> |
| 131 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 132 | </tr> |
| 133 | |
| 134 | <tr bgcolor="#FFFFCC"> |
| 135 | <td>[-infile]<br>(Parameter 1)</td> |
| 136 | <td>infile</td> |
| 137 | <td>Molecular weights file</td> |
| 138 | <td>Input file</td> |
| 139 | <td><b>Required</b></td> |
| 140 | </tr> |
| 141 | |
| 142 | <tr bgcolor="#FFFFCC"> |
| 143 | <td>-tolerance</td> |
| 144 | <td>float</td> |
| 145 | <td>Ppm tolerance</td> |
| 146 | <td>Any numeric value</td> |
| 147 | <td>50.0</td> |
| 148 | </tr> |
| 149 | |
| 150 | <tr bgcolor="#FFFFCC"> |
| 151 | <td>[-outfile]<br>(Parameter 2)</td> |
| 152 | <td>outfile</td> |
| 153 | <td>Molecular weights output file</td> |
| 154 | <td>Output file</td> |
| 155 | <td><i><*></i>.mwfilter</td> |
| 156 | </tr> |
| 157 | |
| 158 | <tr bgcolor="#FFFFCC"> |
| 159 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 160 | </tr> |
| 161 | |
| 162 | <tr bgcolor="#FFFFCC"> |
| 163 | <td>-showdel</td> |
| 164 | <td>boolean</td> |
| 165 | <td>Output deleted mwts</td> |
| 166 | <td>Boolean value Yes/No</td> |
| 167 | <td>No</td> |
| 168 | </tr> |
| 169 | |
| 170 | <tr bgcolor="#FFFFCC"> |
| 171 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 172 | </tr> |
| 173 | |
| 174 | <tr bgcolor="#FFFFCC"> |
| 175 | <td>-datafile</td> |
| 176 | <td>datafile</td> |
| 177 | <td>Molecular weight standards data file</td> |
| 178 | <td>Data file</td> |
| 179 | <td>Emwfilter.dat</td> |
| 180 | </tr> |
| 181 | |
| 182 | <tr bgcolor="#FFFFCC"> |
| 183 | <th align="left" colspan=5>Associated qualifiers</th> |
| 184 | </tr> |
| 185 | |
| 186 | <tr bgcolor="#FFFFCC"> |
| 187 | <td align="left" colspan=5>"-outfile" associated outfile qualifiers |
| 188 | </td> |
| 189 | </tr> |
| 190 | |
| 191 | <tr bgcolor="#FFFFCC"> |
| 192 | <td> -odirectory2<br>-odirectory_outfile</td> |
| 193 | <td>string</td> |
| 194 | <td>Output directory</td> |
| 195 | <td>Any string</td> |
| 196 | <td> </td> |
| 197 | </tr> |
| 198 | |
| 199 | <tr bgcolor="#FFFFCC"> |
| 200 | <th align="left" colspan=5>General qualifiers</th> |
| 201 | </tr> |
| 202 | |
| 203 | <tr bgcolor="#FFFFCC"> |
| 204 | <td> -auto</td> |
| 205 | <td>boolean</td> |
| 206 | <td>Turn off prompts</td> |
| 207 | <td>Boolean value Yes/No</td> |
| 208 | <td>N</td> |
| 209 | </tr> |
| 210 | |
| 211 | <tr bgcolor="#FFFFCC"> |
| 212 | <td> -stdout</td> |
| 213 | <td>boolean</td> |
| 214 | <td>Write first file to standard output</td> |
| 215 | <td>Boolean value Yes/No</td> |
| 216 | <td>N</td> |
| 217 | </tr> |
| 218 | |
| 219 | <tr bgcolor="#FFFFCC"> |
| 220 | <td> -filter</td> |
| 221 | <td>boolean</td> |
| 222 | <td>Read first file from standard input, write first file to standard output</td> |
| 223 | <td>Boolean value Yes/No</td> |
| 224 | <td>N</td> |
| 225 | </tr> |
| 226 | |
| 227 | <tr bgcolor="#FFFFCC"> |
| 228 | <td> -options</td> |
| 229 | <td>boolean</td> |
| 230 | <td>Prompt for standard and additional values</td> |
| 231 | <td>Boolean value Yes/No</td> |
| 232 | <td>N</td> |
| 233 | </tr> |
| 234 | |
| 235 | <tr bgcolor="#FFFFCC"> |
| 236 | <td> -debug</td> |
| 237 | <td>boolean</td> |
| 238 | <td>Write debug output to program.dbg</td> |
| 239 | <td>Boolean value Yes/No</td> |
| 240 | <td>N</td> |
| 241 | </tr> |
| 242 | |
| 243 | <tr bgcolor="#FFFFCC"> |
| 244 | <td> -verbose</td> |
| 245 | <td>boolean</td> |
| 246 | <td>Report some/full command line options</td> |
| 247 | <td>Boolean value Yes/No</td> |
| 248 | <td>Y</td> |
| 249 | </tr> |
| 250 | |
| 251 | <tr bgcolor="#FFFFCC"> |
| 252 | <td> -help</td> |
| 253 | <td>boolean</td> |
| 254 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 255 | <td>Boolean value Yes/No</td> |
| 256 | <td>N</td> |
| 257 | </tr> |
| 258 | |
| 259 | <tr bgcolor="#FFFFCC"> |
| 260 | <td> -warning</td> |
| 261 | <td>boolean</td> |
| 262 | <td>Report warnings</td> |
| 263 | <td>Boolean value Yes/No</td> |
| 264 | <td>Y</td> |
| 265 | </tr> |
| 266 | |
| 267 | <tr bgcolor="#FFFFCC"> |
| 268 | <td> -error</td> |
| 269 | <td>boolean</td> |
| 270 | <td>Report errors</td> |
| 271 | <td>Boolean value Yes/No</td> |
| 272 | <td>Y</td> |
| 273 | </tr> |
| 274 | |
| 275 | <tr bgcolor="#FFFFCC"> |
| 276 | <td> -fatal</td> |
| 277 | <td>boolean</td> |
| 278 | <td>Report fatal errors</td> |
| 279 | <td>Boolean value Yes/No</td> |
| 280 | <td>Y</td> |
| 281 | </tr> |
| 282 | |
| 283 | <tr bgcolor="#FFFFCC"> |
| 284 | <td> -die</td> |
| 285 | <td>boolean</td> |
| 286 | <td>Report dying program messages</td> |
| 287 | <td>Boolean value Yes/No</td> |
| 288 | <td>Y</td> |
| 289 | </tr> |
| 290 | |
| 291 | <tr bgcolor="#FFFFCC"> |
| 292 | <td> -version</td> |
| 293 | <td>boolean</td> |
| 294 | <td>Report version number and exit</td> |
| 295 | <td>Boolean value Yes/No</td> |
| 296 | <td>N</td> |
| 297 | </tr> |
| 298 | |
| 299 | </table> |
| 300 | |
| 301 | <H2> |
| 302 | Input file format |
| 303 | </H2> |
| 304 | |
| 305 | |
| 306 | <a name="input.1"></a> |
| 307 | <h3>Input files for usage example </h3> |
| 308 | <p><h3>File: molwts.dat</h3> |
| 309 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 310 | <pre> |
| 311 | 874.364756 |
| 312 | 927.450380 |
| 313 | 1045.572 |
| 314 | 1068.397129 |
| 315 | 1121.431124 |
| 316 | 1163.584593 |
| 317 | 1305.660840 |
| 318 | 1428.596448 |
| 319 | 1479.748341 |
| 320 | 1502.549157 |
| 321 | 1554.591658 |
| 322 | 1567.686209 |
| 323 | 1576.708354 |
| 324 | 1639.868056 |
| 325 | 1748.611920 |
| 326 | 1753.745298 |
| 327 | 1880.841178 |
| 328 | 2383.99 |
| 329 | </pre> |
| 330 | </td></tr></table><p> |
| 331 | |
| 332 | <p> |
| 333 | |
| 334 | The input file is a simple list of the experimental molecular weights. |
| 335 | <br> |
| 336 | There should be one weight per line. |
| 337 | |
| 338 | <p> |
| 339 | |
| 340 | Comments in the data file start with a '#' character in the first column. |
| 341 | <br> |
| 342 | Blank lines are ignored. |
| 343 | |
| 344 | |
| 345 | <H2> |
| 346 | Output file format |
| 347 | </H2> |
| 348 | |
| 349 | The output is a list of the molecular weights with the unwanted (noisy) |
| 350 | data removed. |
| 351 | |
| 352 | <p> |
| 353 | |
| 354 | |
| 355 | <a name="output.1"></a> |
| 356 | <h3>Output files for usage example </h3> |
| 357 | <p><h3>File: molwts.mwfilter</h3> |
| 358 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 359 | <pre> |
| 360 | 874.364756 |
| 361 | 927.450380 |
| 362 | 1068.397129 |
| 363 | 1121.431124 |
| 364 | 1163.584593 |
| 365 | 1305.660840 |
| 366 | 1428.596448 |
| 367 | 1479.748341 |
| 368 | 1502.549157 |
| 369 | 1554.591658 |
| 370 | 1567.686209 |
| 371 | 1576.708354 |
| 372 | 1639.868056 |
| 373 | 1748.611920 |
| 374 | 1753.745298 |
| 375 | 1880.841178 |
| 376 | </pre> |
| 377 | </td></tr></table><p> |
| 378 | |
| 379 | <H2> |
| 380 | Data files |
| 381 | </H2> |
| 382 | |
| 383 | The program reads the data file <b>Emwfilter.dat</b> for the molecular |
| 384 | weights of items to be deleted from the experimental data. |
| 385 | |
| 386 | <p> |
| 387 | |
| 388 | <p> |
| 389 | EMBOSS data files are distributed with the application and stored |
| 390 | in the standard EMBOSS data directory, which is defined |
| 391 | by the EMBOSS environment variable EMBOSS_DATA. |
| 392 | |
| 393 | <p> |
| 394 | |
| 395 | To see the available EMBOSS data files, run: |
| 396 | <p> |
| 397 | <pre> |
| 398 | % embossdata -showall |
| 399 | </pre> |
| 400 | <p> |
| 401 | To fetch one of the data files (for example 'Exxx.dat') into your |
| 402 | current directory for you to inspect or modify, run: |
| 403 | |
| 404 | <pre> |
| 405 | |
| 406 | % embossdata -fetch -file Exxx.dat |
| 407 | |
| 408 | </pre> |
| 409 | <p> |
| 410 | |
| 411 | Users can provide their own data files in their own directories. |
| 412 | Project specific files can be put in the current directory, or for |
| 413 | tidier directory listings in a subdirectory called |
| 414 | ".embossdata". Files for all EMBOSS runs can be put in the user's home |
| 415 | directory, or again in a subdirectory called ".embossdata". |
| 416 | |
| 417 | <p> |
| 418 | The directories are searched in the following order: |
| 419 | |
| 420 | <ul> |
| 421 | <li> . (your current directory) |
| 422 | <li> .embossdata (under your current directory) |
| 423 | <li> ~/ (your home directory) |
| 424 | <li> ~/.embossdata |
| 425 | </ul> |
| 426 | <p> |
| 427 | |
| 428 | <H2> |
| 429 | Notes |
| 430 | </H2> |
| 431 | |
| 432 | None. |
| 433 | |
| 434 | <H2> |
| 435 | References |
| 436 | </H2> |
| 437 | |
| 438 | None. |
| 439 | |
| 440 | <H2> |
| 441 | Warnings |
| 442 | </H2> |
| 443 | |
| 444 | None. |
| 445 | |
| 446 | <H2> |
| 447 | Diagnostic Error Messages |
| 448 | </H2> |
| 449 | |
| 450 | None. |
| 451 | |
| 452 | <H2> |
| 453 | Exit status |
| 454 | </H2> |
| 455 | |
| 456 | It always exits with status 0. |
| 457 | |
| 458 | |
| 459 | <H2> |
| 460 | Known bugs |
| 461 | </H2> |
| 462 | |
| 463 | None. |
| 464 | |
| 465 | <h2><a name="See also">See also</a></h2> |
| 466 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 467 | <tr><th>Program name</th> |
| 468 | <th>Description</th></tr> |
| 469 | <tr> |
| 470 | <td><a href="backtranambig.html">backtranambig</a></td> |
| 471 | <td>Back-translate a protein sequence to ambiguous nucleotide sequence</td> |
| 472 | </tr> |
| 473 | |
| 474 | <tr> |
| 475 | <td><a href="backtranseq.html">backtranseq</a></td> |
| 476 | <td>Back-translate a protein sequence to a nucleotide sequence</td> |
| 477 | </tr> |
| 478 | |
| 479 | <tr> |
| 480 | <td><a href="compseq.html">compseq</a></td> |
| 481 | <td>Calculate the composition of unique words in sequences</td> |
| 482 | </tr> |
| 483 | |
| 484 | <tr> |
| 485 | <td><a href="emowse.html">emowse</a></td> |
| 486 | <td>Search protein sequences by digest fragment molecular weight</td> |
| 487 | </tr> |
| 488 | |
| 489 | <tr> |
| 490 | <td><a href="freak.html">freak</a></td> |
| 491 | <td>Generate residue/base frequency table or plot</td> |
| 492 | </tr> |
| 493 | |
| 494 | <tr> |
| 495 | <td><a href="mwcontam.html">mwcontam</a></td> |
| 496 | <td>Find weights common to multiple molecular weights files</td> |
| 497 | </tr> |
| 498 | |
| 499 | <tr> |
| 500 | <td><a href="oddcomp.html">oddcomp</a></td> |
| 501 | <td>Identify proteins with specified sequence word composition</td> |
| 502 | </tr> |
| 503 | |
| 504 | <tr> |
| 505 | <td><a href="pepdigest.html">pepdigest</a></td> |
| 506 | <td>Report on protein proteolytic enzyme or reagent cleavage sites</td> |
| 507 | </tr> |
| 508 | |
| 509 | <tr> |
| 510 | <td><a href="pepinfo.html">pepinfo</a></td> |
| 511 | <td>Plot amino acid properties of a protein sequence in parallel</td> |
| 512 | </tr> |
| 513 | |
| 514 | <tr> |
| 515 | <td><a href="pepstats.html">pepstats</a></td> |
| 516 | <td>Calculate statistics of protein properties</td> |
| 517 | </tr> |
| 518 | |
| 519 | <tr> |
| 520 | <td><a href="wordcount.html">wordcount</a></td> |
| 521 | <td>Count and extract unique words in molecular sequence(s)</td> |
| 522 | </tr> |
| 523 | |
| 524 | </table> |
| 525 | |
| 526 | <H2> |
| 527 | Author(s) |
| 528 | </H2> |
| 529 | |
| 530 | Alan Bleasby |
| 531 | <br> |
| 532 | European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 533 | |
| 534 | <p> |
| 535 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 536 | |
| 537 | <H2> |
| 538 | History |
| 539 | </H2> |
| 540 | |
| 541 | Written (Jan 2002) - Alan Bleasby. |
| 542 | |
| 543 | <H2> |
| 544 | Target users |
| 545 | </H2> |
| 546 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 547 | |
| 548 | <H2> |
| 549 | Comments |
| 550 | </H2> |
| 551 | None |
| 552 | |
| 553 | |
| 554 | </BODY> |
| 555 | </HTML> |
| 556 |