| 1 | <HTML> |
| 2 | |
| 3 | <HEAD> |
| 4 | <TITLE> |
| 5 | EMBOSS |
| 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 | vectorstrip |
| 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 | Remove vectors from the ends of nucleotide sequence(s) |
| 40 | |
| 41 | <H2> |
| 42 | Description |
| 43 | </H2> |
| 44 | |
| 45 | <p><b>vectorstrip</b> reads one or more nucleotide sequences and writes them out again but with any of a specified set of vector sequences removed from the 5' and 3' termini. An output file with a summary of the results is also written. The vector sequences to strip out are (typically) provided in an input file. The pair of 5' and 3' vector sequences are searched against each input sequence allowing a specified maximum level of mismatches. Each 5' hit is paired with each 3' hit and the resulting subsequences output. By default only the best match between the vector patterns and each sequence are reported. Optionally, all matches up to the specified maximum mismatch level are reported.</p> |
| 46 | |
| 47 | <H2> |
| 48 | Usage |
| 49 | </H2> |
| 50 | Here is a sample session with <b>vectorstrip</b> |
| 51 | <p> |
| 52 | |
| 53 | <p> |
| 54 | <table width="90%"><tr><td bgcolor="#CCFFFF"><pre> |
| 55 | |
| 56 | % <b>vectorstrip @vecseqs.list </b> |
| 57 | Remove vectors from the ends of nucleotide sequence(s) |
| 58 | Are your vector sequences in a file? [Y]: <b></b> |
| 59 | Cloning vector definition file (optional): <b>vectors</b> |
| 60 | Max allowed % mismatch [10]: <b></b> |
| 61 | Show only the best hits (minimise mismatches)? [Y]: <b></b> |
| 62 | Output file [pbluescript.vectorstrip]: <b>vector.strip</b> |
| 63 | output sequence(s) [pbluescript.fasta]: <b>vector.fasta</b> |
| 64 | |
| 65 | </pre></td></tr></table><p> |
| 66 | <p> |
| 67 | <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> |
| 68 | |
| 69 | |
| 70 | <H2> |
| 71 | Command line arguments |
| 72 | </H2> |
| 73 | <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td> |
| 74 | <pre> |
| 75 | Remove vectors from the ends of nucleotide sequence(s) |
| 76 | Version: EMBOSS:6.6.0.0 |
| 77 | |
| 78 | Standard (Mandatory) qualifiers (* if not always prompted): |
| 79 | [-sequence] seqall Nucleotide sequence(s) filename and optional |
| 80 | format, or reference (input USA) |
| 81 | [-[no]readfile] toggle [Y] Are your vector sequences in a file? |
| 82 | * -vectorsfile infile Cloning vector definition file (optional) |
| 83 | -mismatch integer [10] Max allowed % mismatch (Any integer |
| 84 | value) |
| 85 | -[no]besthits boolean [Y] Show only the best hits (minimise |
| 86 | mismatches)? |
| 87 | * -alinker string The 5' sequence (Any string) |
| 88 | * -blinker string The 3' sequence (Any string) |
| 89 | [-outfile] outfile [*.vectorstrip] Output file name |
| 90 | [-outseq] seqoutall [<sequence>.<format>] Sequence set(s) |
| 91 | filename and optional format (output USA) |
| 92 | |
| 93 | Additional (Optional) qualifiers: |
| 94 | -allsequences boolean [N] Show all sequences in output |
| 95 | |
| 96 | Advanced (Unprompted) qualifiers: (none) |
| 97 | Associated qualifiers: |
| 98 | |
| 99 | "-sequence" associated qualifiers |
| 100 | -sbegin1 integer Start of each sequence to be used |
| 101 | -send1 integer End of each sequence to be used |
| 102 | -sreverse1 boolean Reverse (if DNA) |
| 103 | -sask1 boolean Ask for begin/end/reverse |
| 104 | -snucleotide1 boolean Sequence is nucleotide |
| 105 | -sprotein1 boolean Sequence is protein |
| 106 | -slower1 boolean Make lower case |
| 107 | -supper1 boolean Make upper case |
| 108 | -scircular1 boolean Sequence is circular |
| 109 | -squick1 boolean Read id and sequence only |
| 110 | -sformat1 string Input sequence format |
| 111 | -iquery1 string Input query fields or ID list |
| 112 | -ioffset1 integer Input start position offset |
| 113 | -sdbname1 string Database name |
| 114 | -sid1 string Entryname |
| 115 | -ufo1 string UFO features |
| 116 | -fformat1 string Features format |
| 117 | -fopenfile1 string Features file name |
| 118 | |
| 119 | "-outfile" associated qualifiers |
| 120 | -odirectory3 string Output directory |
| 121 | |
| 122 | "-outseq" associated qualifiers |
| 123 | -osformat4 string Output seq format |
| 124 | -osextension4 string File name extension |
| 125 | -osname4 string Base file name |
| 126 | -osdirectory4 string Output directory |
| 127 | -osdbname4 string Database name to add |
| 128 | -ossingle4 boolean Separate file for each entry |
| 129 | -oufo4 string UFO features |
| 130 | -offormat4 string Features format |
| 131 | -ofname4 string Features file name |
| 132 | -ofdirectory4 string Output directory |
| 133 | |
| 134 | General qualifiers: |
| 135 | -auto boolean Turn off prompts |
| 136 | -stdout boolean Write first file to standard output |
| 137 | -filter boolean Read first file from standard input, write |
| 138 | first file to standard output |
| 139 | -options boolean Prompt for standard and additional values |
| 140 | -debug boolean Write debug output to program.dbg |
| 141 | -verbose boolean Report some/full command line options |
| 142 | -help boolean Report command line options and exit. More |
| 143 | information on associated and general |
| 144 | qualifiers can be found with -help -verbose |
| 145 | -warning boolean Report warnings |
| 146 | -error boolean Report errors |
| 147 | -fatal boolean Report fatal errors |
| 148 | -die boolean Report dying program messages |
| 149 | -version boolean Report version number and exit |
| 150 | |
| 151 | </pre> |
| 152 | </td></tr></table> |
| 153 | <P> |
| 154 | <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff"> |
| 155 | <tr bgcolor="#FFFFCC"> |
| 156 | <th align="left">Qualifier</th> |
| 157 | <th align="left">Type</th> |
| 158 | <th align="left">Description</th> |
| 159 | <th align="left">Allowed values</th> |
| 160 | <th align="left">Default</th> |
| 161 | </tr> |
| 162 | |
| 163 | <tr bgcolor="#FFFFCC"> |
| 164 | <th align="left" colspan=5>Standard (Mandatory) qualifiers</th> |
| 165 | </tr> |
| 166 | |
| 167 | <tr bgcolor="#FFFFCC"> |
| 168 | <td>[-sequence]<br>(Parameter 1)</td> |
| 169 | <td>seqall</td> |
| 170 | <td>Nucleotide sequence(s) filename and optional format, or reference (input USA)</td> |
| 171 | <td>Readable sequence(s)</td> |
| 172 | <td><b>Required</b></td> |
| 173 | </tr> |
| 174 | |
| 175 | <tr bgcolor="#FFFFCC"> |
| 176 | <td>[-[no]readfile]<br>(Parameter 2)</td> |
| 177 | <td>toggle</td> |
| 178 | <td>Are your vector sequences in a file?</td> |
| 179 | <td>Toggle value Yes/No</td> |
| 180 | <td>Yes</td> |
| 181 | </tr> |
| 182 | |
| 183 | <tr bgcolor="#FFFFCC"> |
| 184 | <td>-vectorsfile</td> |
| 185 | <td>infile</td> |
| 186 | <td>Cloning vector definition file (optional)</td> |
| 187 | <td>Input file</td> |
| 188 | <td><b>Required</b></td> |
| 189 | </tr> |
| 190 | |
| 191 | <tr bgcolor="#FFFFCC"> |
| 192 | <td>-mismatch</td> |
| 193 | <td>integer</td> |
| 194 | <td>Max allowed % mismatch</td> |
| 195 | <td>Any integer value</td> |
| 196 | <td>10</td> |
| 197 | </tr> |
| 198 | |
| 199 | <tr bgcolor="#FFFFCC"> |
| 200 | <td>-[no]besthits</td> |
| 201 | <td>boolean</td> |
| 202 | <td>Show only the best hits (minimise mismatches)?</td> |
| 203 | <td>Boolean value Yes/No</td> |
| 204 | <td>Yes</td> |
| 205 | </tr> |
| 206 | |
| 207 | <tr bgcolor="#FFFFCC"> |
| 208 | <td>-alinker</td> |
| 209 | <td>string</td> |
| 210 | <td>The 5' sequence</td> |
| 211 | <td>Any string</td> |
| 212 | <td> </td> |
| 213 | </tr> |
| 214 | |
| 215 | <tr bgcolor="#FFFFCC"> |
| 216 | <td>-blinker</td> |
| 217 | <td>string</td> |
| 218 | <td>The 3' sequence</td> |
| 219 | <td>Any string</td> |
| 220 | <td> </td> |
| 221 | </tr> |
| 222 | |
| 223 | <tr bgcolor="#FFFFCC"> |
| 224 | <td>[-outfile]<br>(Parameter 3)</td> |
| 225 | <td>outfile</td> |
| 226 | <td>Output file name</td> |
| 227 | <td>Output file</td> |
| 228 | <td><i><*></i>.vectorstrip</td> |
| 229 | </tr> |
| 230 | |
| 231 | <tr bgcolor="#FFFFCC"> |
| 232 | <td>[-outseq]<br>(Parameter 4)</td> |
| 233 | <td>seqoutall</td> |
| 234 | <td>Sequence set(s) filename and optional format (output USA)</td> |
| 235 | <td>Writeable sequence(s)</td> |
| 236 | <td><i><*></i>.<i>format</i></td> |
| 237 | </tr> |
| 238 | |
| 239 | <tr bgcolor="#FFFFCC"> |
| 240 | <th align="left" colspan=5>Additional (Optional) qualifiers</th> |
| 241 | </tr> |
| 242 | |
| 243 | <tr bgcolor="#FFFFCC"> |
| 244 | <td>-allsequences</td> |
| 245 | <td>boolean</td> |
| 246 | <td>Show all sequences in output</td> |
| 247 | <td>Boolean value Yes/No</td> |
| 248 | <td>No</td> |
| 249 | </tr> |
| 250 | |
| 251 | <tr bgcolor="#FFFFCC"> |
| 252 | <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th> |
| 253 | </tr> |
| 254 | |
| 255 | <tr> |
| 256 | <td colspan=5>(none)</td> |
| 257 | </tr> |
| 258 | |
| 259 | <tr bgcolor="#FFFFCC"> |
| 260 | <th align="left" colspan=5>Associated qualifiers</th> |
| 261 | </tr> |
| 262 | |
| 263 | <tr bgcolor="#FFFFCC"> |
| 264 | <td align="left" colspan=5>"-sequence" associated seqall qualifiers |
| 265 | </td> |
| 266 | </tr> |
| 267 | |
| 268 | <tr bgcolor="#FFFFCC"> |
| 269 | <td> -sbegin1<br>-sbegin_sequence</td> |
| 270 | <td>integer</td> |
| 271 | <td>Start of each sequence to be used</td> |
| 272 | <td>Any integer value</td> |
| 273 | <td>0</td> |
| 274 | </tr> |
| 275 | |
| 276 | <tr bgcolor="#FFFFCC"> |
| 277 | <td> -send1<br>-send_sequence</td> |
| 278 | <td>integer</td> |
| 279 | <td>End of each sequence to be used</td> |
| 280 | <td>Any integer value</td> |
| 281 | <td>0</td> |
| 282 | </tr> |
| 283 | |
| 284 | <tr bgcolor="#FFFFCC"> |
| 285 | <td> -sreverse1<br>-sreverse_sequence</td> |
| 286 | <td>boolean</td> |
| 287 | <td>Reverse (if DNA)</td> |
| 288 | <td>Boolean value Yes/No</td> |
| 289 | <td>N</td> |
| 290 | </tr> |
| 291 | |
| 292 | <tr bgcolor="#FFFFCC"> |
| 293 | <td> -sask1<br>-sask_sequence</td> |
| 294 | <td>boolean</td> |
| 295 | <td>Ask for begin/end/reverse</td> |
| 296 | <td>Boolean value Yes/No</td> |
| 297 | <td>N</td> |
| 298 | </tr> |
| 299 | |
| 300 | <tr bgcolor="#FFFFCC"> |
| 301 | <td> -snucleotide1<br>-snucleotide_sequence</td> |
| 302 | <td>boolean</td> |
| 303 | <td>Sequence is nucleotide</td> |
| 304 | <td>Boolean value Yes/No</td> |
| 305 | <td>N</td> |
| 306 | </tr> |
| 307 | |
| 308 | <tr bgcolor="#FFFFCC"> |
| 309 | <td> -sprotein1<br>-sprotein_sequence</td> |
| 310 | <td>boolean</td> |
| 311 | <td>Sequence is protein</td> |
| 312 | <td>Boolean value Yes/No</td> |
| 313 | <td>N</td> |
| 314 | </tr> |
| 315 | |
| 316 | <tr bgcolor="#FFFFCC"> |
| 317 | <td> -slower1<br>-slower_sequence</td> |
| 318 | <td>boolean</td> |
| 319 | <td>Make lower case</td> |
| 320 | <td>Boolean value Yes/No</td> |
| 321 | <td>N</td> |
| 322 | </tr> |
| 323 | |
| 324 | <tr bgcolor="#FFFFCC"> |
| 325 | <td> -supper1<br>-supper_sequence</td> |
| 326 | <td>boolean</td> |
| 327 | <td>Make upper case</td> |
| 328 | <td>Boolean value Yes/No</td> |
| 329 | <td>N</td> |
| 330 | </tr> |
| 331 | |
| 332 | <tr bgcolor="#FFFFCC"> |
| 333 | <td> -scircular1<br>-scircular_sequence</td> |
| 334 | <td>boolean</td> |
| 335 | <td>Sequence is circular</td> |
| 336 | <td>Boolean value Yes/No</td> |
| 337 | <td>N</td> |
| 338 | </tr> |
| 339 | |
| 340 | <tr bgcolor="#FFFFCC"> |
| 341 | <td> -squick1<br>-squick_sequence</td> |
| 342 | <td>boolean</td> |
| 343 | <td>Read id and sequence only</td> |
| 344 | <td>Boolean value Yes/No</td> |
| 345 | <td>N</td> |
| 346 | </tr> |
| 347 | |
| 348 | <tr bgcolor="#FFFFCC"> |
| 349 | <td> -sformat1<br>-sformat_sequence</td> |
| 350 | <td>string</td> |
| 351 | <td>Input sequence format</td> |
| 352 | <td>Any string</td> |
| 353 | <td> </td> |
| 354 | </tr> |
| 355 | |
| 356 | <tr bgcolor="#FFFFCC"> |
| 357 | <td> -iquery1<br>-iquery_sequence</td> |
| 358 | <td>string</td> |
| 359 | <td>Input query fields or ID list</td> |
| 360 | <td>Any string</td> |
| 361 | <td> </td> |
| 362 | </tr> |
| 363 | |
| 364 | <tr bgcolor="#FFFFCC"> |
| 365 | <td> -ioffset1<br>-ioffset_sequence</td> |
| 366 | <td>integer</td> |
| 367 | <td>Input start position offset</td> |
| 368 | <td>Any integer value</td> |
| 369 | <td>0</td> |
| 370 | </tr> |
| 371 | |
| 372 | <tr bgcolor="#FFFFCC"> |
| 373 | <td> -sdbname1<br>-sdbname_sequence</td> |
| 374 | <td>string</td> |
| 375 | <td>Database name</td> |
| 376 | <td>Any string</td> |
| 377 | <td> </td> |
| 378 | </tr> |
| 379 | |
| 380 | <tr bgcolor="#FFFFCC"> |
| 381 | <td> -sid1<br>-sid_sequence</td> |
| 382 | <td>string</td> |
| 383 | <td>Entryname</td> |
| 384 | <td>Any string</td> |
| 385 | <td> </td> |
| 386 | </tr> |
| 387 | |
| 388 | <tr bgcolor="#FFFFCC"> |
| 389 | <td> -ufo1<br>-ufo_sequence</td> |
| 390 | <td>string</td> |
| 391 | <td>UFO features</td> |
| 392 | <td>Any string</td> |
| 393 | <td> </td> |
| 394 | </tr> |
| 395 | |
| 396 | <tr bgcolor="#FFFFCC"> |
| 397 | <td> -fformat1<br>-fformat_sequence</td> |
| 398 | <td>string</td> |
| 399 | <td>Features format</td> |
| 400 | <td>Any string</td> |
| 401 | <td> </td> |
| 402 | </tr> |
| 403 | |
| 404 | <tr bgcolor="#FFFFCC"> |
| 405 | <td> -fopenfile1<br>-fopenfile_sequence</td> |
| 406 | <td>string</td> |
| 407 | <td>Features file name</td> |
| 408 | <td>Any string</td> |
| 409 | <td> </td> |
| 410 | </tr> |
| 411 | |
| 412 | <tr bgcolor="#FFFFCC"> |
| 413 | <td align="left" colspan=5>"-outfile" associated outfile qualifiers |
| 414 | </td> |
| 415 | </tr> |
| 416 | |
| 417 | <tr bgcolor="#FFFFCC"> |
| 418 | <td> -odirectory3<br>-odirectory_outfile</td> |
| 419 | <td>string</td> |
| 420 | <td>Output directory</td> |
| 421 | <td>Any string</td> |
| 422 | <td> </td> |
| 423 | </tr> |
| 424 | |
| 425 | <tr bgcolor="#FFFFCC"> |
| 426 | <td align="left" colspan=5>"-outseq" associated seqoutall qualifiers |
| 427 | </td> |
| 428 | </tr> |
| 429 | |
| 430 | <tr bgcolor="#FFFFCC"> |
| 431 | <td> -osformat4<br>-osformat_outseq</td> |
| 432 | <td>string</td> |
| 433 | <td>Output seq format</td> |
| 434 | <td>Any string</td> |
| 435 | <td> </td> |
| 436 | </tr> |
| 437 | |
| 438 | <tr bgcolor="#FFFFCC"> |
| 439 | <td> -osextension4<br>-osextension_outseq</td> |
| 440 | <td>string</td> |
| 441 | <td>File name extension</td> |
| 442 | <td>Any string</td> |
| 443 | <td> </td> |
| 444 | </tr> |
| 445 | |
| 446 | <tr bgcolor="#FFFFCC"> |
| 447 | <td> -osname4<br>-osname_outseq</td> |
| 448 | <td>string</td> |
| 449 | <td>Base file name</td> |
| 450 | <td>Any string</td> |
| 451 | <td> </td> |
| 452 | </tr> |
| 453 | |
| 454 | <tr bgcolor="#FFFFCC"> |
| 455 | <td> -osdirectory4<br>-osdirectory_outseq</td> |
| 456 | <td>string</td> |
| 457 | <td>Output directory</td> |
| 458 | <td>Any string</td> |
| 459 | <td> </td> |
| 460 | </tr> |
| 461 | |
| 462 | <tr bgcolor="#FFFFCC"> |
| 463 | <td> -osdbname4<br>-osdbname_outseq</td> |
| 464 | <td>string</td> |
| 465 | <td>Database name to add</td> |
| 466 | <td>Any string</td> |
| 467 | <td> </td> |
| 468 | </tr> |
| 469 | |
| 470 | <tr bgcolor="#FFFFCC"> |
| 471 | <td> -ossingle4<br>-ossingle_outseq</td> |
| 472 | <td>boolean</td> |
| 473 | <td>Separate file for each entry</td> |
| 474 | <td>Boolean value Yes/No</td> |
| 475 | <td>N</td> |
| 476 | </tr> |
| 477 | |
| 478 | <tr bgcolor="#FFFFCC"> |
| 479 | <td> -oufo4<br>-oufo_outseq</td> |
| 480 | <td>string</td> |
| 481 | <td>UFO features</td> |
| 482 | <td>Any string</td> |
| 483 | <td> </td> |
| 484 | </tr> |
| 485 | |
| 486 | <tr bgcolor="#FFFFCC"> |
| 487 | <td> -offormat4<br>-offormat_outseq</td> |
| 488 | <td>string</td> |
| 489 | <td>Features format</td> |
| 490 | <td>Any string</td> |
| 491 | <td> </td> |
| 492 | </tr> |
| 493 | |
| 494 | <tr bgcolor="#FFFFCC"> |
| 495 | <td> -ofname4<br>-ofname_outseq</td> |
| 496 | <td>string</td> |
| 497 | <td>Features file name</td> |
| 498 | <td>Any string</td> |
| 499 | <td> </td> |
| 500 | </tr> |
| 501 | |
| 502 | <tr bgcolor="#FFFFCC"> |
| 503 | <td> -ofdirectory4<br>-ofdirectory_outseq</td> |
| 504 | <td>string</td> |
| 505 | <td>Output directory</td> |
| 506 | <td>Any string</td> |
| 507 | <td> </td> |
| 508 | </tr> |
| 509 | |
| 510 | <tr bgcolor="#FFFFCC"> |
| 511 | <th align="left" colspan=5>General qualifiers</th> |
| 512 | </tr> |
| 513 | |
| 514 | <tr bgcolor="#FFFFCC"> |
| 515 | <td> -auto</td> |
| 516 | <td>boolean</td> |
| 517 | <td>Turn off prompts</td> |
| 518 | <td>Boolean value Yes/No</td> |
| 519 | <td>N</td> |
| 520 | </tr> |
| 521 | |
| 522 | <tr bgcolor="#FFFFCC"> |
| 523 | <td> -stdout</td> |
| 524 | <td>boolean</td> |
| 525 | <td>Write first file to standard output</td> |
| 526 | <td>Boolean value Yes/No</td> |
| 527 | <td>N</td> |
| 528 | </tr> |
| 529 | |
| 530 | <tr bgcolor="#FFFFCC"> |
| 531 | <td> -filter</td> |
| 532 | <td>boolean</td> |
| 533 | <td>Read first file from standard input, write first file to standard output</td> |
| 534 | <td>Boolean value Yes/No</td> |
| 535 | <td>N</td> |
| 536 | </tr> |
| 537 | |
| 538 | <tr bgcolor="#FFFFCC"> |
| 539 | <td> -options</td> |
| 540 | <td>boolean</td> |
| 541 | <td>Prompt for standard and additional values</td> |
| 542 | <td>Boolean value Yes/No</td> |
| 543 | <td>N</td> |
| 544 | </tr> |
| 545 | |
| 546 | <tr bgcolor="#FFFFCC"> |
| 547 | <td> -debug</td> |
| 548 | <td>boolean</td> |
| 549 | <td>Write debug output to program.dbg</td> |
| 550 | <td>Boolean value Yes/No</td> |
| 551 | <td>N</td> |
| 552 | </tr> |
| 553 | |
| 554 | <tr bgcolor="#FFFFCC"> |
| 555 | <td> -verbose</td> |
| 556 | <td>boolean</td> |
| 557 | <td>Report some/full command line options</td> |
| 558 | <td>Boolean value Yes/No</td> |
| 559 | <td>Y</td> |
| 560 | </tr> |
| 561 | |
| 562 | <tr bgcolor="#FFFFCC"> |
| 563 | <td> -help</td> |
| 564 | <td>boolean</td> |
| 565 | <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td> |
| 566 | <td>Boolean value Yes/No</td> |
| 567 | <td>N</td> |
| 568 | </tr> |
| 569 | |
| 570 | <tr bgcolor="#FFFFCC"> |
| 571 | <td> -warning</td> |
| 572 | <td>boolean</td> |
| 573 | <td>Report warnings</td> |
| 574 | <td>Boolean value Yes/No</td> |
| 575 | <td>Y</td> |
| 576 | </tr> |
| 577 | |
| 578 | <tr bgcolor="#FFFFCC"> |
| 579 | <td> -error</td> |
| 580 | <td>boolean</td> |
| 581 | <td>Report errors</td> |
| 582 | <td>Boolean value Yes/No</td> |
| 583 | <td>Y</td> |
| 584 | </tr> |
| 585 | |
| 586 | <tr bgcolor="#FFFFCC"> |
| 587 | <td> -fatal</td> |
| 588 | <td>boolean</td> |
| 589 | <td>Report fatal errors</td> |
| 590 | <td>Boolean value Yes/No</td> |
| 591 | <td>Y</td> |
| 592 | </tr> |
| 593 | |
| 594 | <tr bgcolor="#FFFFCC"> |
| 595 | <td> -die</td> |
| 596 | <td>boolean</td> |
| 597 | <td>Report dying program messages</td> |
| 598 | <td>Boolean value Yes/No</td> |
| 599 | <td>Y</td> |
| 600 | </tr> |
| 601 | |
| 602 | <tr bgcolor="#FFFFCC"> |
| 603 | <td> -version</td> |
| 604 | <td>boolean</td> |
| 605 | <td>Report version number and exit</td> |
| 606 | <td>Boolean value Yes/No</td> |
| 607 | <td>N</td> |
| 608 | </tr> |
| 609 | |
| 610 | </table> |
| 611 | |
| 612 | |
| 613 | <H2> |
| 614 | Input file format |
| 615 | </H2> |
| 616 | |
| 617 | <a name="input.1"></a> |
| 618 | <h3>Input files for usage example </h3> |
| 619 | <p><h3>File: vecseqs.list</h3> |
| 620 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 621 | <pre> |
| 622 | ../../data/bluescript.seq |
| 623 | ../../data/litmus.seq |
| 624 | ../../data/pTYB1.seq |
| 625 | </pre> |
| 626 | </td></tr></table><p> |
| 627 | <p><h3>File: vectors</h3> |
| 628 | <table width="90%"><tr><td bgcolor="#FFCCFF"> |
| 629 | <pre> |
| 630 | # Example vector file for use by vectorstrip |
| 631 | |
| 632 | # Vector 5' 3' |
| 633 | |
| 634 | pTYB1 GACGGCGGCCGCGAATTCC TCGAGGGCTCTTCCTGC |
| 635 | pBS_KS+ GGGTACCGGGCCCCCCC TCGAGGTCGACGGTA |
| 636 | pLITMUS GATATCCTGCAGGAATTCC TCGAGACCGTACGTGCG |
| 637 | </pre> |
| 638 | </td></tr></table><p> |
| 639 | |
| 640 | <p> |
| 641 | |
| 642 | The same fragment has been cloned into the XhoI site of the polylinker |
| 643 | of each vector. The cloned fragment is represented in lower case and |
| 644 | the vector sequence in upper case so the sequence trimming can be |
| 645 | readily seen. |
| 646 | |
| 647 | <p> |
| 648 | |
| 649 | |
| 650 | Each line of the vector file should contain the name of the vector, the |
| 651 | 5' pattern and the 3' pattern. |
| 652 | |
| 653 | <br> |
| 654 | |
| 655 | Lines beginning with # are treated as comments and ignored. |
| 656 | |
| 657 | <br> |
| 658 | |
| 659 | If only one vector sequence is given in the it will be assumed that |
| 660 | this is the 5' pattern. |
| 661 | |
| 662 | <br> |
| 663 | |
| 664 | If a vector name is given but no pattern data, the vector will not |
| 665 | be used. |
| 666 | |
| 667 | |
| 668 | |
| 669 | <H2> |
| 670 | Output file format |
| 671 | </H2> |
| 672 | |
| 673 | <a name="output.1"></a> |
| 674 | <h3>Output files for usage example </h3> |
| 675 | <p><h3>File: vector.strip</h3> |
| 676 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 677 | <pre> |
| 678 | |
| 679 | Sequence: pBlueScript Vector: pTYB1 No match |
| 680 | |
| 681 | |
| 682 | Sequence: pBlueScript Vector: pBS_KS+ |
| 683 | 5' sequence matches: |
| 684 | From 67 to 83 with 0 mismatches |
| 685 | 3' sequence matches: |
| 686 | From 205 to 219 with 0 mismatches |
| 687 | Sequences output to file: |
| 688 | from 84 to 204 |
| 689 | tcgagagccgtattgcgatatagcgcacatgcgttggacacagatgagca |
| 690 | cacagtgacatgagagacacagatatagagacagatagacgatagacaga |
| 691 | cagcatatatagacagatagc |
| 692 | sequence trimmed from 5' end: |
| 693 | GGAAACAGCTAATGACCATGATTACGCCAAGCGCGCAATTAACCCTCACT |
| 694 | AAAGGGAACAAAAGCTGGGTACCGGGCCCCCCC |
| 695 | sequence trimmed from 3' end: |
| 696 | TCGAGGTCGACGGTATCGATAAGCTTGATATCG |
| 697 | |
| 698 | |
| 699 | Sequence: pBlueScript Vector: pLITMUS No match |
| 700 | |
| 701 | Sequence: litmus.seq Vector: pTYB1 No match |
| 702 | |
| 703 | Sequence: litmus.seq Vector: pBS_KS+ No match |
| 704 | |
| 705 | |
| 706 | Sequence: litmus.seq Vector: pLITMUS |
| 707 | 5' sequence matches: |
| 708 | From 43 to 61 with 0 mismatches |
| 709 | 3' sequence matches: |
| 710 | From 183 to 199 with 0 mismatches |
| 711 | Sequences output to file: |
| 712 | from 62 to 182 |
| 713 | tcgagagccgtattgcgatatagcgcacatgcgttggacacagatgagca |
| 714 | cacagtgacatgagagacacagatatagagacagatagacgatagacaga |
| 715 | cagcatatatagacagatagc |
| 716 | sequence trimmed from 5' end: |
| 717 | TCTAGAACCGGTGACGTCTCCCATGGTGAAGCTTGGATCCACGATATCCT |
| 718 | GCAGGAATTCC |
| 719 | sequence trimmed from 3' end: |
| 720 | TCGAGACCGTACGTGCGCGCGAATGCATCCAGATCTTCCCTCTAGTCAAG |
| 721 | GCCTTAAGTGAGTCGTATTACGGA |
| 722 | |
| 723 | |
| 724 | |
| 725 | Sequence: pTYB1.seq Vector: pTYB1 |
| 726 | 5' sequence matches: |
| 727 | From 40 to 58 with 0 mismatches |
| 728 | 3' sequence matches: |
| 729 | From 180 to 196 with 0 mismatches |
| 730 | Sequences output to file: |
| 731 | from 59 to 179 |
| 732 | tcgagagccgtattgcgatatagcgcacatgcgttggacacagatgagca |
| 733 | cacagtgacatgagagacacagatatagagacagatagacgatagacaga |
| 734 | cagcatatatagacagatagc |
| 735 | sequence trimmed from 5' end: |
| 736 | CTTTAAGAAGGAGATATACATATGGCTAGCTCGCGAGTCGACGGCGGCCG |
| 737 | CGAATTCC |
| 738 | sequence trimmed from 3' end: |
| 739 | TCGAGGGCTCTTCCTGCTTTGCCAAGGGTACCAATGTTTTAATGGCGGAT |
| 740 | |
| 741 | |
| 742 | Sequence: pTYB1.seq Vector: pBS_KS+ No match |
| 743 | |
| 744 | Sequence: pTYB1.seq Vector: pLITMUS No match |
| 745 | </pre> |
| 746 | </td></tr></table><p> |
| 747 | <p><h3>File: vector.fasta</h3> |
| 748 | <table width="90%"><tr><td bgcolor="#CCFFCC"> |
| 749 | <pre> |
| 750 | >pBlueScript_from_84_to_204 KS+ |
| 751 | tcgagagccgtattgcgatatagcgcacatgcgttggacacagatgagcacacagtgaca |
| 752 | tgagagacacagatatagagacagatagacgatagacagacagcatatatagacagatag |
| 753 | c |
| 754 | >litmus.seq_from_62_to_182 |
| 755 | tcgagagccgtattgcgatatagcgcacatgcgttggacacagatgagcacacagtgaca |
| 756 | tgagagacacagatatagagacagatagacgatagacagacagcatatatagacagatag |
| 757 | c |
| 758 | >pTYB1.seq_from_59_to_179 |
| 759 | tcgagagccgtattgcgatatagcgcacatgcgttggacacagatgagcacacagtgaca |
| 760 | tgagagacacagatatagagacagatagacgatagacagacagcatatatagacagatag |
| 761 | c |
| 762 | </pre> |
| 763 | </td></tr></table><p> |
| 764 | |
| 765 | <p> |
| 766 | |
| 767 | Two types of output file are produced: |
| 768 | <ol> |
| 769 | |
| 770 | <li>The sequence file(s) - contain the trimmed subsequence(s) produced |
| 771 | by <b>vectorstrip</b> either all in one file, or in separate files if |
| 772 | the command line flag <tt>-ossingle</tt> is used. |
| 773 | |
| 774 | <li>Results summary file |
| 775 | </ol> |
| 776 | |
| 777 | <H2> |
| 778 | Data files |
| 779 | </H2> |
| 780 | |
| 781 | None. |
| 782 | |
| 783 | <H2> |
| 784 | Notes |
| 785 | </H2> |
| 786 | |
| 787 | <p><b>vectorstrip</b> is intended for stripping vector sequence from the ends of sequences of interest. For example, if a fragment has been cloned into a vector and then sequenced, the sequence may contain vector data eg from the cloning polylinker at the 5' and 3' ends of the sequence. <b>vectorstrip</b> will remove these contaminating regions and output trimmed sequence ready for input into another application.</p> |
| 788 | |
| 789 | <p><b>vectorstrip</b> is suitable for use with low quality sequence data as it can allow for mismatches between the sequence and the vector patterns provided. You can specify the maximum level of mismatch expected.</p> |
| 790 | |
| 791 | <p>Vector data can either be provided in a file or interactively. If presented in a file, <b>vectorstrip</b> will search all input sequences with all vectors listed in that file. The intention is that the user can maintain a single file for use with <b>vectorstrip</b>, containing all the linker sequences commonly used in the laboratory.</p> |
| 792 | |
| 793 | <p>The two patterns for each vector are searched separately against the sequence. Once the search is completed, each of the hits of the 5' sequence is paired with each of the hits of the 3' sequence and the resulting subsequences are output. For example, if the 5' sequence matches the sequence from (a) position 30-60, and(b)position 70-100, and the 3' sequence matches from 150-175, then two subsequences will be output: from 61-149, and from 101-149. The lower the quality of the sequence, the more likely multiple hits become if nonzero mismatches are accepted.</p> |
| 794 | |
| 795 | <p>Default behaviour is to report only the best matches between the vector patterns and the sequence. This means that if you specify a maximum mismatch level of 10%, but the vector patterns match the sequence with zero mismatches, the search will stop and the program will output only these "best" matches. If there are no perfect matches, the program will try searching again allowing 1 mismatch, then 2, and so on until either the patterns match the sequence or the maximum specified mismatch level is exceeded. You can tell <b>vectorstrip</b> to show all possible matches up to your specified maximum level, as illustrated in the examples below.</p> |
| 796 | |
| 797 | |
| 798 | |
| 799 | |
| 800 | |
| 801 | <H2> |
| 802 | References |
| 803 | </H2> |
| 804 | |
| 805 | None. |
| 806 | |
| 807 | |
| 808 | <H2> |
| 809 | Warnings |
| 810 | </H2> |
| 811 | |
| 812 | None. |
| 813 | |
| 814 | |
| 815 | <H2> |
| 816 | Diagnostic Error Messages |
| 817 | </H2> |
| 818 | |
| 819 | <ol> |
| 820 | |
| 821 | <li><pre>No suitable vectors found - exiting</pre> indicates that the |
| 822 | 5' and 3' patterns for the vectors were blank - usually this is as a |
| 823 | result of an empty vectorfile. |
| 824 | |
| 825 | <li><pre>Illegal pattern</pre> indicates that one of the vector |
| 826 | patterns could not be compiled and therefore cannot be searched. |
| 827 | |
| 828 | <li><pre>5' and 3' sequence matches are identical; inconclusive</pre> |
| 829 | indicates that the 5' and 3' patterns provided were identical, and |
| 830 | that they only match the sequence once. Thus the program cannot |
| 831 | determine which part of the sequence is vector and which is insert. |
| 832 | |
| 833 | </ol> |
| 834 | |
| 835 | <H2> |
| 836 | Exit status |
| 837 | </H2> |
| 838 | |
| 839 | It always exits with status 0. |
| 840 | |
| 841 | <H2> |
| 842 | Known bugs |
| 843 | </H2> |
| 844 | |
| 845 | |
| 846 | None. |
| 847 | |
| 848 | <h2><a name="See also">See also</a></h2> |
| 849 | <table border cellpadding=4 bgcolor="#FFFFF0"> |
| 850 | <tr><th>Program name</th> |
| 851 | <th>Description</th></tr> |
| 852 | <tr> |
| 853 | <td><a href="aligncopy.html">aligncopy</a></td> |
| 854 | <td>Read and write alignments</td> |
| 855 | </tr> |
| 856 | |
| 857 | <tr> |
| 858 | <td><a href="aligncopypair.html">aligncopypair</a></td> |
| 859 | <td>Read and write pairs from alignments</td> |
| 860 | </tr> |
| 861 | |
| 862 | <tr> |
| 863 | <td><a href="biosed.html">biosed</a></td> |
| 864 | <td>Replace or delete sequence sections</td> |
| 865 | </tr> |
| 866 | |
| 867 | <tr> |
| 868 | <td><a href="codcopy.html">codcopy</a></td> |
| 869 | <td>Copy and reformat a codon usage table</td> |
| 870 | </tr> |
| 871 | |
| 872 | <tr> |
| 873 | <td><a href="cutseq.html">cutseq</a></td> |
| 874 | <td>Remove a section from a sequence</td> |
| 875 | </tr> |
| 876 | |
| 877 | <tr> |
| 878 | <td><a href="degapseq.html">degapseq</a></td> |
| 879 | <td>Remove non-alphabetic (e.g. gap) characters from sequences</td> |
| 880 | </tr> |
| 881 | |
| 882 | <tr> |
| 883 | <td><a href="descseq.html">descseq</a></td> |
| 884 | <td>Alter the name or description of a sequence</td> |
| 885 | </tr> |
| 886 | |
| 887 | <tr> |
| 888 | <td><a href="entret.html">entret</a></td> |
| 889 | <td>Retrieve sequence entries from flatfile databases and files</td> |
| 890 | </tr> |
| 891 | |
| 892 | <tr> |
| 893 | <td><a href="extractalign.html">extractalign</a></td> |
| 894 | <td>Extract regions from a sequence alignment</td> |
| 895 | </tr> |
| 896 | |
| 897 | <tr> |
| 898 | <td><a href="extractfeat.html">extractfeat</a></td> |
| 899 | <td>Extract features from sequence(s)</td> |
| 900 | </tr> |
| 901 | |
| 902 | <tr> |
| 903 | <td><a href="extractseq.html">extractseq</a></td> |
| 904 | <td>Extract regions from a sequence</td> |
| 905 | </tr> |
| 906 | |
| 907 | <tr> |
| 908 | <td><a href="featcopy.html">featcopy</a></td> |
| 909 | <td>Read and write a feature table</td> |
| 910 | </tr> |
| 911 | |
| 912 | <tr> |
| 913 | <td><a href="featmerge.html">featmerge</a></td> |
| 914 | <td>Merge two overlapping feature tables</td> |
| 915 | </tr> |
| 916 | |
| 917 | <tr> |
| 918 | <td><a href="featreport.html">featreport</a></td> |
| 919 | <td>Read and write a feature table</td> |
| 920 | </tr> |
| 921 | |
| 922 | <tr> |
| 923 | <td><a href="feattext.html">feattext</a></td> |
| 924 | <td>Return a feature table original text</td> |
| 925 | </tr> |
| 926 | |
| 927 | <tr> |
| 928 | <td><a href="listor.html">listor</a></td> |
| 929 | <td>Write a list file of the logical OR of two sets of sequences</td> |
| 930 | </tr> |
| 931 | |
| 932 | <tr> |
| 933 | <td><a href="makenucseq.html">makenucseq</a></td> |
| 934 | <td>Create random nucleotide sequences</td> |
| 935 | </tr> |
| 936 | |
| 937 | <tr> |
| 938 | <td><a href="makeprotseq.html">makeprotseq</a></td> |
| 939 | <td>Create random protein sequences</td> |
| 940 | </tr> |
| 941 | |
| 942 | <tr> |
| 943 | <td><a href="maskambignuc.html">maskambignuc</a></td> |
| 944 | <td>Mask all ambiguity characters in nucleotide sequences with N</td> |
| 945 | </tr> |
| 946 | |
| 947 | <tr> |
| 948 | <td><a href="maskambigprot.html">maskambigprot</a></td> |
| 949 | <td>Mask all ambiguity characters in protein sequences with X</td> |
| 950 | </tr> |
| 951 | |
| 952 | <tr> |
| 953 | <td><a href="maskfeat.html">maskfeat</a></td> |
| 954 | <td>Write a sequence with masked features</td> |
| 955 | </tr> |
| 956 | |
| 957 | <tr> |
| 958 | <td><a href="maskseq.html">maskseq</a></td> |
| 959 | <td>Write a sequence with masked regions</td> |
| 960 | </tr> |
| 961 | |
| 962 | <tr> |
| 963 | <td><a href="newseq.html">newseq</a></td> |
| 964 | <td>Create a sequence file from a typed-in sequence</td> |
| 965 | </tr> |
| 966 | |
| 967 | <tr> |
| 968 | <td><a href="nohtml.html">nohtml</a></td> |
| 969 | <td>Remove mark-up (e.g. HTML tags) from an ASCII text file</td> |
| 970 | </tr> |
| 971 | |
| 972 | <tr> |
| 973 | <td><a href="noreturn.html">noreturn</a></td> |
| 974 | <td>Remove carriage return from ASCII files</td> |
| 975 | </tr> |
| 976 | |
| 977 | <tr> |
| 978 | <td><a href="nospace.html">nospace</a></td> |
| 979 | <td>Remove whitespace from an ASCII text file</td> |
| 980 | </tr> |
| 981 | |
| 982 | <tr> |
| 983 | <td><a href="notab.html">notab</a></td> |
| 984 | <td>Replace tabs with spaces in an ASCII text file</td> |
| 985 | </tr> |
| 986 | |
| 987 | <tr> |
| 988 | <td><a href="notseq.html">notseq</a></td> |
| 989 | <td>Write to file a subset of an input stream of sequences</td> |
| 990 | </tr> |
| 991 | |
| 992 | <tr> |
| 993 | <td><a href="nthseq.html">nthseq</a></td> |
| 994 | <td>Write to file a single sequence from an input stream of sequences</td> |
| 995 | </tr> |
| 996 | |
| 997 | <tr> |
| 998 | <td><a href="nthseqset.html">nthseqset</a></td> |
| 999 | <td>Read and write (return) one set of sequences from many</td> |
| 1000 | </tr> |
| 1001 | |
| 1002 | <tr> |
| 1003 | <td><a href="pasteseq.html">pasteseq</a></td> |
| 1004 | <td>Insert one sequence into another</td> |
| 1005 | </tr> |
| 1006 | |
| 1007 | <tr> |
| 1008 | <td><a href="revseq.html">revseq</a></td> |
| 1009 | <td>Reverse and complement a nucleotide sequence</td> |
| 1010 | </tr> |
| 1011 | |
| 1012 | <tr> |
| 1013 | <td><a href="seqcount.html">seqcount</a></td> |
| 1014 | <td>Read and count sequences</td> |
| 1015 | </tr> |
| 1016 | |
| 1017 | <tr> |
| 1018 | <td><a href="seqret.html">seqret</a></td> |
| 1019 | <td>Read and write (return) sequences</td> |
| 1020 | </tr> |
| 1021 | |
| 1022 | <tr> |
| 1023 | <td><a href="seqretsetall.html">seqretsetall</a></td> |
| 1024 | <td>Read and write (return) many sets of sequences</td> |
| 1025 | </tr> |
| 1026 | |
| 1027 | <tr> |
| 1028 | <td><a href="seqretsplit.html">seqretsplit</a></td> |
| 1029 | <td>Read sequences and write them to individual files</td> |
| 1030 | </tr> |
| 1031 | |
| 1032 | <tr> |
| 1033 | <td><a href="sizeseq.html">sizeseq</a></td> |
| 1034 | <td>Sort sequences by size</td> |
| 1035 | </tr> |
| 1036 | |
| 1037 | <tr> |
| 1038 | <td><a href="skipredundant.html">skipredundant</a></td> |
| 1039 | <td>Remove redundant sequences from an input set</td> |
| 1040 | </tr> |
| 1041 | |
| 1042 | <tr> |
| 1043 | <td><a href="skipseq.html">skipseq</a></td> |
| 1044 | <td>Read and write (return) sequences, skipping first few</td> |
| 1045 | </tr> |
| 1046 | |
| 1047 | <tr> |
| 1048 | <td><a href="splitsource.html">splitsource</a></td> |
| 1049 | <td>Split sequence(s) into original source sequences</td> |
| 1050 | </tr> |
| 1051 | |
| 1052 | <tr> |
| 1053 | <td><a href="splitter.html">splitter</a></td> |
| 1054 | <td>Split sequence(s) into smaller sequences</td> |
| 1055 | </tr> |
| 1056 | |
| 1057 | <tr> |
| 1058 | <td><a href="trimest.html">trimest</a></td> |
| 1059 | <td>Remove poly-A tails from nucleotide sequences</td> |
| 1060 | </tr> |
| 1061 | |
| 1062 | <tr> |
| 1063 | <td><a href="trimseq.html">trimseq</a></td> |
| 1064 | <td>Remove unwanted characters from start and end of sequence(s)</td> |
| 1065 | </tr> |
| 1066 | |
| 1067 | <tr> |
| 1068 | <td><a href="trimspace.html">trimspace</a></td> |
| 1069 | <td>Remove extra whitespace from an ASCII text file</td> |
| 1070 | </tr> |
| 1071 | |
| 1072 | <tr> |
| 1073 | <td><a href="union.html">union</a></td> |
| 1074 | <td>Concatenate multiple sequences into a single sequence</td> |
| 1075 | </tr> |
| 1076 | |
| 1077 | <tr> |
| 1078 | <td><a href="yank.html">yank</a></td> |
| 1079 | <td>Add a sequence reference (a full USA) to a list file</td> |
| 1080 | </tr> |
| 1081 | |
| 1082 | </table> |
| 1083 | |
| 1084 | <H2> |
| 1085 | Author(s) |
| 1086 | </H2> |
| 1087 | |
| 1088 | Val Curwen formerly at: |
| 1089 | <br> |
| 1090 | Sanger Institute, Wellcome Trust Genome Campus, Hinxton, |
| 1091 | Cambridge, CB10 1SA, UK. |
| 1092 | |
| 1093 | <p> |
| 1094 | Please report all bugs to the EMBOSS bug team (emboss-bug © emboss.open-bio.org) not to the original author. |
| 1095 | |
| 1096 | |
| 1097 | <H2> |
| 1098 | History |
| 1099 | </H2> |
| 1100 | |
| 1101 | 16 August 2000 - Val Curwen - Written. |
| 1102 | |
| 1103 | <H2> |
| 1104 | Target users |
| 1105 | </H2> |
| 1106 | This program is intended to be used by everyone and everything, from naive users to embedded scripts. |
| 1107 | |
| 1108 | |
| 1109 | <H2> |
| 1110 | Comments |
| 1111 | </H2> |
| 1112 | None |
| 1113 | |
| 1114 | |
| 1115 | </BODY> |
| 1116 | </HTML> |
| 1117 |