| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <TITLE> |
| 4 | EMBOSS: mwcontam |
| 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 | mwcontam |
| 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 | Find weights common to multiple molecular weights files |
| 39 | <H2> |
| 40 | Description |
| 41 | </H2> |
| 42 | |
| 43 | <p><p><b>mwcontam</b> finds molecular weights that are common between a set of mass spectrometry result files at a specified ppm tolerance. Such molecular weights are usually a form of contamination resulting from autolysis of a protease, degradation of the matrix or presence of keratin from the sample preparer. The input is a comma-separated list of files each containing a list of experimental molecular weights. The output is a file with a list of the molecular weights common to all files.</p></p> |
| 44 | |
| 45 | |
| 46 | |
| 47 | <H2> |
| 48 | Usage |
| 49 | </H2> |
| 50 | Here is a sample session with <b>mwcontam</b> |
| 51 | <p> |
| 52 | |
| 53 | <p> |
| 54 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 55 | |
| 56 | % <b>mwcontam </b> |
| 57 | Find weights common to multiple molecular weights files |
| 58 | Molecular weights file list: <b>../data/mw2.dat,mw3.dat</b> |
| 59 | Ppm tolerance [50.0]: <b></b> |
| 60 | Molecular weights output file [outfile.mwcontam]: <b></b> |
| 61 | |
| 62 | </pre></td></tr></table><p> |
| 63 | <p> |
| 64 | <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> |
| 65 | |
| 66 | <H2> |
| 67 | Command line arguments |
| 68 | </H2> |
| 69 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 70 | <pre> |
| 71 | Find weights common to multiple molecular weights files |
| 72 | Version: EMBOSS:6.6.0.0 |
| 73 | |
| 74 | Standard (Mandatory) qualifiers: |
| 75 | [-files] filelist Molecular weights file list |
| 76 | -tolerance float [50.0] Ppm tolerance (Any numeric value) |
| 77 | [-outfile] outfile [*.mwcontam] Molecular weights output file |
| 78 | |
| 79 | Additional (Optional) qualifiers: (none) |
| 80 | Advanced (Unprompted) qualifiers: (none) |
| 81 | Associated qualifiers: |
| 82 | |
| 83 | "-outfile" associated qualifiers |
| 84 | -odirectory2 string Output directory |
| 85 | |
| 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 bgcolor="#FFFFCC"> |
| 120 | <td>[-files]<br>(Parameter 1)</td> |
| 121 | <td>filelist</td> |
| 122 | <td>Molecular weights file list</td> |
| 123 | <td>Comma-separated file list</td> |
| 124 | <td><i>comma-separated file list</i></td> |
| 125 | </tr> |
| 126 | |
| 127 | <tr bgcolor="#FFFFCC"> |
| 128 | <td>-tolerance</td> |
| 129 | <td>float</td> |
| 130 | <td>Ppm tolerance</td> |
| 131 | <td>Any numeric value</td> |
| 132 | <td>50.0</td> |
| 133 | </tr> |
| 134 | |
| 135 | <tr bgcolor="#FFFFCC"> |
| 136 | <td>[-outfile]<br>(Parameter 2)</td> |
| 137 | <td>outfile</td> |
| 138 | <td>Molecular weights output file</td> |
| 139 | <td>Output file</td> |
| 140 | <td><i><*></i>.mwcontam</td> |
| 141 | </tr> |
| 142 | |
| 143 | <tr bgcolor="#FFFFCC"> |
| 144 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 145 | </tr> |
| 146 | |
| 147 | <tr> |
| 148 | <td colspan=5>(none)</td> |
| 149 | </tr> |
| 150 | |
| 151 | <tr bgcolor="#FFFFCC"> |
| 152 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 153 | </tr> |
| 154 | |
| 155 | <tr> |
| 156 | <td colspan=5>(none)</td> |
| 157 | </tr> |
| 158 | |
| 159 | <tr bgcolor="#FFFFCC"> |
| 160 | <th align="left" colspan=5>Associated qualifiers</th> |
| 161 | </tr> |
| 162 | |
| 163 | <tr bgcolor="#FFFFCC"> |
| 164 | <td align="left" colspan=5>"-outfile" associated outfile qualifiers |
| 165 | </td> |
| 166 | </tr> |
| 167 | |
| 168 | <tr bgcolor="#FFFFCC"> |
| 169 | <td> -odirectory2<br>-odirectory_outfile</td> |
| 170 | <td>string</td> |
| 171 | <td>Output directory</td> |
| 172 | <td>Any string</td> |
| 173 | <td> </td> |
| 174 | </tr> |
| 175 | |
| 176 | <tr bgcolor="#FFFFCC"> |
| 177 | <th align="left" colspan=5>General qualifiers</th> |
| 178 | </tr> |
| 179 | |
| 180 | <tr bgcolor="#FFFFCC"> |
| 181 | <td> -auto</td> |
| 182 | <td>boolean</td> |
| 183 | <td>Turn off prompts</td> |
| 184 | <td>Boolean value Yes/No</td> |
| 185 | <td>N</td> |
| 186 | </tr> |
| 187 | |
| 188 | <tr bgcolor="#FFFFCC"> |
| 189 | <td> -stdout</td> |
| 190 | <td>boolean</td> |
| 191 | <td>Write first file to standard output</td> |
| 192 | <td>Boolean value Yes/No</td> |
| 193 | <td>N</td> |
| 194 | </tr> |
| 195 | |
| 196 | <tr bgcolor="#FFFFCC"> |
| 197 | <td> -filter</td> |
| 198 | <td>boolean</td> |
| 199 | <td>Read first file from standard input, write first file to standard output</td> |
| 200 | <td>Boolean value Yes/No</td> |
| 201 | <td>N</td> |
| 202 | </tr> |
| 203 | |
| 204 | <tr bgcolor="#FFFFCC"> |
| 205 | <td> -options</td> |
| 206 | <td>boolean</td> |
| 207 | <td>Prompt for standard and additional values</td> |
| 208 | <td>Boolean value Yes/No</td> |
| 209 | <td>N</td> |
| 210 | </tr> |
| 211 | |
| 212 | <tr bgcolor="#FFFFCC"> |
| 213 | <td> -debug</td> |
| 214 | <td>boolean</td> |
| 215 | <td>Write debug output to program.dbg</td> |
| 216 | <td>Boolean value Yes/No</td> |
| 217 | <td>N</td> |
| 218 | </tr> |
| 219 | |
| 220 | <tr bgcolor="#FFFFCC"> |
| 221 | <td> -verbose</td> |
| 222 | <td>boolean</td> |
| 223 | <td>Report some/full command line options</td> |
| 224 | <td>Boolean value Yes/No</td> |
| 225 | <td>Y</td> |
| 226 | </tr> |
| 227 | |
| 228 | <tr bgcolor="#FFFFCC"> |
| 229 | <td> -help</td> |
| 230 | <td>boolean</td> |
| 231 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 232 | <td>Boolean value Yes/No</td> |
| 233 | <td>N</td> |
| 234 | </tr> |
| 235 | |
| 236 | <tr bgcolor="#FFFFCC"> |
| 237 | <td> -warning</td> |
| 238 | <td>boolean</td> |
| 239 | <td>Report warnings</td> |
| 240 | <td>Boolean value Yes/No</td> |
| 241 | <td>Y</td> |
| 242 | </tr> |
| 243 | |
| 244 | <tr bgcolor="#FFFFCC"> |
| 245 | <td> -error</td> |
| 246 | <td>boolean</td> |
| 247 | <td>Report errors</td> |
| 248 | <td>Boolean value Yes/No</td> |
| 249 | <td>Y</td> |
| 250 | </tr> |
| 251 | |
| 252 | <tr bgcolor="#FFFFCC"> |
| 253 | <td> -fatal</td> |
| 254 | <td>boolean</td> |
| 255 | <td>Report fatal errors</td> |
| 256 | <td>Boolean value Yes/No</td> |
| 257 | <td>Y</td> |
| 258 | </tr> |
| 259 | |
| 260 | <tr bgcolor="#FFFFCC"> |
| 261 | <td> -die</td> |
| 262 | <td>boolean</td> |
| 263 | <td>Report dying program messages</td> |
| 264 | <td>Boolean value Yes/No</td> |
| 265 | <td>Y</td> |
| 266 | </tr> |
| 267 | |
| 268 | <tr bgcolor="#FFFFCC"> |
| 269 | <td> -version</td> |
| 270 | <td>boolean</td> |
| 271 | <td>Report version number and exit</td> |
| 272 | <td>Boolean value Yes/No</td> |
| 273 | <td>N</td> |
| 274 | </tr> |
| 275 | |
| 276 | </table> |
| 277 | |
| 278 | |
| 279 | <H2> |
| 280 | Input file format |
| 281 | </H2> |
| 282 | |
| 283 | |
| 284 | <a name="input.1"></a> |
| 285 | <h3>Input files for usage example </h3> |
| 286 | <p><h3>File: mw1.dat</h3> |
| 287 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 288 | <pre> |
| 289 | 20.0 |
| 290 | 33.0 |
| 291 | 67.0 |
| 292 | 128.0 |
| 293 | 415.0 |
| 294 | 999.0 |
| 295 | </pre> |
| 296 | </td></tr></table><p> |
| 297 | <p><h3>File: mw2.dat</h3> |
| 298 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 299 | <pre> |
| 300 | 13.0 |
| 301 | 41.0 |
| 302 | 67.0 |
| 303 | 415.0 |
| 304 | 846.0 |
| 305 | 781.0 |
| 306 | </pre> |
| 307 | </td></tr></table><p> |
| 308 | <p><h3>File: mw3.dat</h3> |
| 309 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 310 | <pre> |
| 311 | 3.0 |
| 312 | 18.0 |
| 313 | 67.0 |
| 314 | 124.0 |
| 315 | 197.0 |
| 316 | 236.0 |
| 317 | 415.0 |
| 318 | 587.0 |
| 319 | 632.0 |
| 320 | </pre> |
| 321 | </td></tr></table><p> |
| 322 | |
| 323 | <p> |
| 324 | |
| 325 | The input is a comma-separated list of files containing simple list of |
| 326 | experimental molecular weights. |
| 327 | |
| 328 | <p> |
| 329 | |
| 330 | There should be one weight per line. |
| 331 | |
| 332 | <p> |
| 333 | |
| 334 | Comments in the data file start with a '#' character in the first |
| 335 | column. |
| 336 | |
| 337 | <p> |
| 338 | |
| 339 | Blank lines are ignored. |
| 340 | |
| 341 | |
| 342 | |
| 343 | <H2> |
| 344 | Output file format |
| 345 | </H2> |
| 346 | |
| 347 | The output is a list of the molecular weights common to all files. |
| 348 | |
| 349 | <p> |
| 350 | |
| 351 | |
| 352 | <a name="output.1"></a> |
| 353 | <h3>Output files for usage example </h3> |
| 354 | <p><h3>File: outfile.mwcontam</h3> |
| 355 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 356 | <pre> |
| 357 | 67.000 |
| 358 | 415.000 |
| 359 | </pre> |
| 360 | </td></tr></table><p> |
| 361 | |
| 362 | |
| 363 | |
| 364 | |
| 365 | <H2> |
| 366 | Data files |
| 367 | </H2> |
| 368 | |
| 369 | <b>mwcontam</b> uses no data files. |
| 370 | |
| 371 | <p> |
| 372 | |
| 373 | The output of <b>mwcontam</b>, with minimal editing, can be added to the |
| 374 | data file for the <a href="mwfilter.html"><b>mwfilter</b></a> program |
| 375 | ('Emwfilter.dat'). For example you might like to fetch 'Emwfilter.dat' |
| 376 | using <b>embossdata</b> (as described in the <b>mwfilter</b> |
| 377 | documentation) and edit it to include the lines: |
| 378 | |
| 379 | <p> |
| 380 | |
| 381 | <hr> |
| 382 | <pre> |
| 383 | # data produced from the program mwcontam |
| 384 | mwcontam 67.000 |
| 385 | mwcontam 415.000 |
| 386 | </pre> |
| 387 | |
| 388 | <H2> |
| 389 | Notes |
| 390 | </H2> |
| 391 | |
| 392 | <p>The output of <b>mwcontam</b>, with minimal editing, can be added to the data file for the <b>mwfilter</b> program (<tt>Emwfilter.dat</tt>), which will then remove these weights from its input file of molecular weights. For example you might like to fetch <tt>Emwfilter.dat</tt> using <b>embossdata</b> (as described in the <b>mwfilter</b> documentation) and edit it to include the lines: |
| 393 | |
| 394 | # data produced from the program mwcontam |
| 395 | mwcontam 67.000 |
| 396 | mwcontam 415.000 |
| 397 | </p> |
| 398 | |
| 399 | |
| 400 | <H2> |
| 401 | References |
| 402 | </H2> |
| 403 | |
| 404 | None. |
| 405 | |
| 406 | <H2> |
| 407 | Warnings |
| 408 | </H2> |
| 409 | |
| 410 | None. |
| 411 | |
| 412 | <H2> |
| 413 | Diagnostic Error Messages |
| 414 | </H2> |
| 415 | |
| 416 | None. |
| 417 | |
| 418 | <H2> |
| 419 | Exit status |
| 420 | </H2> |
| 421 | |
| 422 | It always exits with status 0. |
| 423 | |
| 424 | <H2> |
| 425 | Known bugs |
| 426 | </H2> |
| 427 | |
| 428 | None. |
| 429 | |
| 430 | <h2><a name="See also">See also</a></h2> |
| 431 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 432 | <tr><th>Program name</th> |
| 433 | <th>Description</th></tr> |
| 434 | <tr> |
| 435 | <td><a href="backtranambig.html">backtranambig</a></td> |
| 436 | <td>Back-translate a protein sequence to ambiguous nucleotide sequence</td> |
| 437 | </tr> |
| 438 | |
| 439 | <tr> |
| 440 | <td><a href="backtranseq.html">backtranseq</a></td> |
| 441 | <td>Back-translate a protein sequence to a nucleotide sequence</td> |
| 442 | </tr> |
| 443 | |
| 444 | <tr> |
| 445 | <td><a href="compseq.html">compseq</a></td> |
| 446 | <td>Calculate the composition of unique words in sequences</td> |
| 447 | </tr> |
| 448 | |
| 449 | <tr> |
| 450 | <td><a href="emowse.html">emowse</a></td> |
| 451 | <td>Search protein sequences by digest fragment molecular weight</td> |
| 452 | </tr> |
| 453 | |
| 454 | <tr> |
| 455 | <td><a href="freak.html">freak</a></td> |
| 456 | <td>Generate residue/base frequency table or plot</td> |
| 457 | </tr> |
| 458 | |
| 459 | <tr> |
| 460 | <td><a href="mwfilter.html">mwfilter</a></td> |
| 461 | <td>Filter noisy data from molecular weights file</td> |
| 462 | </tr> |
| 463 | |
| 464 | <tr> |
| 465 | <td><a href="oddcomp.html">oddcomp</a></td> |
| 466 | <td>Identify proteins with specified sequence word composition</td> |
| 467 | </tr> |
| 468 | |
| 469 | <tr> |
| 470 | <td><a href="pepdigest.html">pepdigest</a></td> |
| 471 | <td>Report on protein proteolytic enzyme or reagent cleavage sites</td> |
| 472 | </tr> |
| 473 | |
| 474 | <tr> |
| 475 | <td><a href="pepinfo.html">pepinfo</a></td> |
| 476 | <td>Plot amino acid properties of a protein sequence in parallel</td> |
| 477 | </tr> |
| 478 | |
| 479 | <tr> |
| 480 | <td><a href="pepstats.html">pepstats</a></td> |
| 481 | <td>Calculate statistics of protein properties</td> |
| 482 | </tr> |
| 483 | |
| 484 | <tr> |
| 485 | <td><a href="wordcount.html">wordcount</a></td> |
| 486 | <td>Count and extract unique words in molecular sequence(s)</td> |
| 487 | </tr> |
| 488 | |
| 489 | </table> |
| 490 | |
| 491 | |
| 492 | <H2> |
| 493 | Author(s) |
| 494 | </H2> |
| 495 | Alan Bleasby |
| 496 | <br> |
| 497 | European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK |
| 498 | |
| 499 | <p> |
| 500 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 501 | |
| 502 | |
| 503 | <H2> |
| 504 | History |
| 505 | </H2> |
| 506 | |
| 507 | |
| 508 | Written (July 2002) - Alan Bleasby. |
| 509 | |
| 510 | <H2> |
| 511 | Target users |
| 512 | </H2> |
| 513 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 514 | |
| 515 | <H2> |
| 516 | Comments |
| 517 | </H2> |
| 518 | None |
| 519 | |
| 520 | </BODY> |
| 521 | </HTML> |
| 522 |