1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144
|
<HTML>
<HEAD>
<TITLE>
EMBOSS: showdb
</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" text="#000000">
<table align=center border=0 cellspacing=0 cellpadding=0>
<tr><td valign=top>
<A HREF="/" ONMOUSEOVER="self.status='Go to the EMBOSS home page';return true"><img border=0 src="emboss_icon.jpg" alt="" width=150 height=48></a>
</td>
<td align=left valign=middle>
<b><font size="+6">
showdb
</font></b>
</td></tr>
</table>
<br>
<p>
<H2>
Function
</H2>
Displays information on the currently available databases
<H2>
Description
</H2>
This writes out a simple table displaying the names, contents and
available ways of accessing the sequence databases.
<p>
The available ways of accessing the databases are 'ID', 'Query' and
'All'. These refer to the way that you can search the databases to
get entries from them, which is governed by the ways the database has
been set up and the way it is organised and indexed.
<p>
Different databases may have different access capabilities, depending
on how your local site is organised.
<p>
EMBOSS has been designed to be extremely flexible in its use of
sequence databases formats, so that it is easy to set EMBOSS up to use
your site's existing databases. Sometimes this means that it is hard
to extract entries from some databases in particular ways. For
example, a flat file database with no index is only useful for reading
all entries, while a database located in another site that is
available via the WWW may only provide single entries.
<p>
'ID' (also known as 'single entry') allows the programs to extract a
single explicitly named entry from the database, for example
embl:x13776
<p>
'Query' (also known as 'wild') indicates that programs can extract a
set of matching wildcard entry names (this may be slow for some
methods of access). For example you can look at all of the human PAX
proteins in SWISS_PROT by: swissprot:pax*_human
<p>
'All' allows the programs to analyse all the entries in the database
sequentially. For example this lets you look at all entries in the
database with the notation: embl:*
<p>
A database may have several different methods of access available.
Ideally all of the databases available on your site will be available
in all three ways, but this is not the best of all posssible worlds
and so you might like to check how you can access the databases by
running this program and having a look.
<H2>
Usage
</H2>
<b>Here is a sample session with showdb</b>
<p>
Display information on the currently available databases:
<p>
<p>
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
% <b>showdb </b>
Displays information on the currently available databases
# Name Type ID Qry All Comment
# ============== ==== == === === =======
qapblast P OK OK OK BLAST swissnew
qapblastall P OK OK OK BLAST swissnew, all fields indexed
qapblastsplit P OK OK OK BLAST swissnew split in 5 files
qapblastsplitexc P OK OK OK BLAST swissnew split in 5 files, not file 02
qapblastsplitinc P OK OK OK BLAST swissnew split in 5 files, only file 02
qapfasta P OK OK OK FASTA file swissnew entries
qapflat P OK OK OK SpTrEmbl flatfile
qapflatall P OK OK OK SpTrEmbl flatfiles, all fields indexed
qapir P OK OK OK PIR
qapirall P OK OK OK PIR
qapirinc P OK OK OK PIR
qapxfasta P OK OK OK FASTA file swissnew entries
qapxflat P OK OK OK Swissnew flatfiles
qaxpir P OK OK OK PIR
qaxpirall P OK OK OK PIR
qaxpirinc P OK OK OK PIR
tpir P OK OK OK PIR using NBRF access for 4 files
tsw P OK OK OK Swissprot native format with EMBL CD-ROM index
tswnew P OK OK OK SpTrEmbl as 3 files in native format with EMBL CD-ROM index
twp P OK OK OK EMBL new in native format with EMBL CD-ROM index
genbanksrs N OK - - Genbank IDs
qanfasta N OK OK OK FASTA file EMBL rodents
qanfastaall N OK OK OK FASTA file EMBL rodents, all fields indexed
qanflat N OK OK OK EMBL flatfiles
qanflatall N OK OK OK EMBL flatfiles
qanflatexc N OK OK OK EMBL flatfiles, no rodent file
qanflatinc N OK OK OK EMBL flatfiles, only rodent file
qangcg N OK OK OK GCG format EMBL
qangcgall N OK OK OK GCG format EMBL
qangcgexc N OK OK OK GCG format EMBL without prokaryotes
qangcginc N OK OK OK GCG format EMBL only prokaryotes
qanxfasta N OK OK OK FASTA file EMBL rodents
qanxfastaall N OK OK OK FASTA file EMBL rodents, all fields indexed
qanxflat N OK OK OK EMBL flatfiles
qanxflatall N OK OK OK EMBL flatfiles, all fields indexed
qanxflatexc N OK OK OK EMBL flatfiles, no rodent file
qanxflatinc N OK OK OK EMBL flatfiles, only rodent file
qanxgcg N OK OK OK GCG format EMBL
qanxgcgall N OK OK OK GCG format EMBL
qanxgcgexc N OK OK OK GCG format EMBL without prokaryotes
qanxgcginc N OK OK OK GCG format EMBL only prokaryotes
qapirexc N OK OK OK PIR
qasrswww N OK - - Remote SRS web server
qawfasta N OK OK OK FASTA file wormpep entries
qawxfasta N OK OK OK FASTA file wormpep entries
qaxpirexc N OK OK OK PIR
tembl N OK OK OK EMBL in native format with EMBL CD-ROM index
temblall N - - OK EMBL in native format with EMBL CD-ROM index
temblrest N - - OK EMBL in native format with EMBL CD-ROM index
temblvrt N - - OK EMBL in native format with EMBL CD-ROM index
testdb N OK OK OK test sequence data
tgb N OK - - Genbank IDs
tgenbank N OK OK OK GenBank in native format with EMBL CD-ROM index
</pre></td></tr></table><p>
<p>
<p>
<p>
<b>Example 2</b>
<p>
Write the results to a file:
<p>
<p>
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
% <b>showdb -outfile showdb.out </b>
Displays information on the currently available databases
</pre></td></tr></table><p>
<p>
<a href="#output.2">Go to the output files for this example</a><p><p>
<p>
<b>Example 3</b>
<p>
Display information on one explicit database:
<p>
<p>
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
% <b>showdb -database tsw </b>
Displays information on the currently available databases
# Name Type ID Qry All Comment
# ============ ==== == === === =======
tsw P OK OK OK Swissprot native format with EMBL CD-ROM index
</pre></td></tr></table><p>
<p>
<a href="#input.3">Go to the input files for this example</a><br><p>
<p>
<b>Example 4</b>
<p>
Display information on the databases formatted in HTML:
<p>
<p>
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
% <b>showdb -html </b>
Displays information on the currently available databases
<table border cellpadding=4 bgcolor="#FFFFF0">
<tr><th>Name</th><th>Type</th><th>ID</th><th>Qry</th><th>All</th><th>Comment</th></tr>
<tr><td>qapblast</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>BLAST swissnew</td></tr>
<tr><td>qapblastall</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>BLAST swissnew, all fields indexed</td></tr>
<tr><td>qapblastsplit</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>BLAST swissnew split in 5 files</td></tr>
<tr><td>qapblastsplitexc</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>BLAST swissnew split in 5 files, not file 02</td></tr>
<tr><td>qapblastsplitinc</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>BLAST swissnew split in 5 files, only file 02</td></tr>
<tr><td>qapfasta</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>FASTA file swissnew entries</td></tr>
<tr><td>qapflat</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>SpTrEmbl flatfile</td></tr>
<tr><td>qapflatall</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>SpTrEmbl flatfiles, all fields indexed</td></tr>
<tr><td>qapir</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>PIR</td></tr>
<tr><td>qapirall</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>PIR</td></tr>
<tr><td>qapirinc</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>PIR</td></tr>
<tr><td>qapxfasta</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>FASTA file swissnew entries</td></tr>
<tr><td>qapxflat</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>Swissnew flatfiles</td></tr>
<tr><td>qaxpir</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>PIR</td></tr>
<tr><td>qaxpirall</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>PIR</td></tr>
<tr><td>qaxpirinc</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>PIR</td></tr>
<tr><td>tpir</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>PIR using NBRF access for 4 files</td></tr>
<tr><td>tsw</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>Swissprot native format with EMBL CD-ROM index</td></tr>
<tr><td>tswnew</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>SpTrEmbl as 3 files in native format with EMBL CD-ROM index</td></tr>
<tr><td>twp</td><td>P</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL new in native format with EMBL CD-ROM index</td></tr>
<tr><td>genbanksrs</td><td>N</td><td>OK </td><td>- </td><td>- </td><td>Genbank IDs</td></tr>
<tr><td>qanfasta</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>FASTA file EMBL rodents</td></tr>
<tr><td>qanfastaall</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>FASTA file EMBL rodents, all fields indexed</td></tr>
<tr><td>qanflat</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL flatfiles</td></tr>
<tr><td>qanflatall</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL flatfiles</td></tr>
<tr><td>qanflatexc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL flatfiles, no rodent file</td></tr>
<tr><td>qanflatinc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL flatfiles, only rodent file</td></tr>
<tr><td>qangcg</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>GCG format EMBL</td></tr>
<tr><td>qangcgall</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>GCG format EMBL</td></tr>
<tr><td>qangcgexc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>GCG format EMBL without prokaryotes</td></tr>
<tr><td>qangcginc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>GCG format EMBL only prokaryotes</td></tr>
<tr><td>qanxfasta</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>FASTA file EMBL rodents</td></tr>
<tr><td>qanxfastaall</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>FASTA file EMBL rodents, all fields indexed</td></tr>
<tr><td>qanxflat</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL flatfiles</td></tr>
<tr><td>qanxflatall</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL flatfiles, all fields indexed</td></tr>
<tr><td>qanxflatexc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL flatfiles, no rodent file</td></tr>
<tr><td>qanxflatinc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL flatfiles, only rodent file</td></tr>
<tr><td>qanxgcg</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>GCG format EMBL</td></tr>
<tr><td>qanxgcgall</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>GCG format EMBL</td></tr>
<tr><td>qanxgcgexc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>GCG format EMBL without prokaryotes</td></tr>
<tr><td>qanxgcginc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>GCG format EMBL only prokaryotes</td></tr>
<tr><td>qapirexc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>PIR</td></tr>
<tr><td>qasrswww</td><td>N</td><td>OK </td><td>- </td><td>- </td><td>Remote SRS web server</td></tr>
<tr><td>qawfasta</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>FASTA file wormpep entries</td></tr>
<tr><td>qawxfasta</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>FASTA file wormpep entries</td></tr>
<tr><td>qaxpirexc</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>PIR</td></tr>
<tr><td>tembl</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>EMBL in native format with EMBL CD-ROM index</td></tr>
<tr><td>temblall</td><td>N</td><td>- </td><td>- </td><td>OK </td><td>EMBL in native format with EMBL CD-ROM index</td></tr>
<tr><td>temblrest</td><td>N</td><td>- </td><td>- </td><td>OK </td><td>EMBL in native format with EMBL CD-ROM index</td></tr>
<tr><td>temblvrt</td><td>N</td><td>- </td><td>- </td><td>OK </td><td>EMBL in native format with EMBL CD-ROM index</td></tr>
<tr><td>testdb</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>test sequence data</td></tr>
<tr><td>tgb</td><td>N</td><td>OK </td><td>- </td><td>- </td><td>Genbank IDs</td></tr>
<tr><td>tgenbank</td><td>N</td><td>OK </td><td>OK </td><td>OK </td><td>GenBank in native format with EMBL CD-ROM index</td></tr>
</table>
</pre></td></tr></table><p>
<p>
<p>
<p>
<b>Example 5</b>
<p>
Display protein databases only:
<p>
<p>
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
% <b>showdb -nonucleic </b>
Displays information on the currently available databases
# Name Type ID Qry All Comment
# ============== ==== == === === =======
qapblast P OK OK OK BLAST swissnew
qapblastall P OK OK OK BLAST swissnew, all fields indexed
qapblastsplit P OK OK OK BLAST swissnew split in 5 files
qapblastsplitexc P OK OK OK BLAST swissnew split in 5 files, not file 02
qapblastsplitinc P OK OK OK BLAST swissnew split in 5 files, only file 02
qapfasta P OK OK OK FASTA file swissnew entries
qapflat P OK OK OK SpTrEmbl flatfile
qapflatall P OK OK OK SpTrEmbl flatfiles, all fields indexed
qapir P OK OK OK PIR
qapirall P OK OK OK PIR
qapirinc P OK OK OK PIR
qapxfasta P OK OK OK FASTA file swissnew entries
qapxflat P OK OK OK Swissnew flatfiles
qaxpir P OK OK OK PIR
qaxpirall P OK OK OK PIR
qaxpirinc P OK OK OK PIR
tpir P OK OK OK PIR using NBRF access for 4 files
tsw P OK OK OK Swissprot native format with EMBL CD-ROM index
tswnew P OK OK OK SpTrEmbl as 3 files in native format with EMBL CD-ROM index
twp P OK OK OK EMBL new in native format with EMBL CD-ROM index
</pre></td></tr></table><p>
<p>
<p>
<p>
<b>Example 6</b>
<p>
Display the information with no headings:
<p>
<p>
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
% <b>showdb -noheading </b>
Displays information on the currently available databases
qapblast P OK OK OK BLAST swissnew
qapblastall P OK OK OK BLAST swissnew, all fields indexed
qapblastsplit P OK OK OK BLAST swissnew split in 5 files
qapblastsplitexc P OK OK OK BLAST swissnew split in 5 files, not file 02
qapblastsplitinc P OK OK OK BLAST swissnew split in 5 files, only file 02
qapfasta P OK OK OK FASTA file swissnew entries
qapflat P OK OK OK SpTrEmbl flatfile
qapflatall P OK OK OK SpTrEmbl flatfiles, all fields indexed
qapir P OK OK OK PIR
qapirall P OK OK OK PIR
qapirinc P OK OK OK PIR
qapxfasta P OK OK OK FASTA file swissnew entries
qapxflat P OK OK OK Swissnew flatfiles
qaxpir P OK OK OK PIR
qaxpirall P OK OK OK PIR
qaxpirinc P OK OK OK PIR
tpir P OK OK OK PIR using NBRF access for 4 files
tsw P OK OK OK Swissprot native format with EMBL CD-ROM index
tswnew P OK OK OK SpTrEmbl as 3 files in native format with EMBL CD-ROM index
twp P OK OK OK EMBL new in native format with EMBL CD-ROM index
genbanksrs N OK - - Genbank IDs
qanfasta N OK OK OK FASTA file EMBL rodents
qanfastaall N OK OK OK FASTA file EMBL rodents, all fields indexed
qanflat N OK OK OK EMBL flatfiles
qanflatall N OK OK OK EMBL flatfiles
qanflatexc N OK OK OK EMBL flatfiles, no rodent file
qanflatinc N OK OK OK EMBL flatfiles, only rodent file
qangcg N OK OK OK GCG format EMBL
qangcgall N OK OK OK GCG format EMBL
qangcgexc N OK OK OK GCG format EMBL without prokaryotes
qangcginc N OK OK OK GCG format EMBL only prokaryotes
qanxfasta N OK OK OK FASTA file EMBL rodents
qanxfastaall N OK OK OK FASTA file EMBL rodents, all fields indexed
qanxflat N OK OK OK EMBL flatfiles
qanxflatall N OK OK OK EMBL flatfiles, all fields indexed
qanxflatexc N OK OK OK EMBL flatfiles, no rodent file
qanxflatinc N OK OK OK EMBL flatfiles, only rodent file
qanxgcg N OK OK OK GCG format EMBL
qanxgcgall N OK OK OK GCG format EMBL
qanxgcgexc N OK OK OK GCG format EMBL without prokaryotes
qanxgcginc N OK OK OK GCG format EMBL only prokaryotes
qapirexc N OK OK OK PIR
qasrswww N OK - - Remote SRS web server
qawfasta N OK OK OK FASTA file wormpep entries
qawxfasta N OK OK OK FASTA file wormpep entries
qaxpirexc N OK OK OK PIR
tembl N OK OK OK EMBL in native format with EMBL CD-ROM index
temblall N - - OK EMBL in native format with EMBL CD-ROM index
temblrest N - - OK EMBL in native format with EMBL CD-ROM index
temblvrt N - - OK EMBL in native format with EMBL CD-ROM index
testdb N OK OK OK test sequence data
tgb N OK - - Genbank IDs
tgenbank N OK OK OK GenBank in native format with EMBL CD-ROM index
</pre></td></tr></table><p>
<p>
<p>
<p>
<b>Example 7</b>
<p>
Display just a list of the available database names:
<p>
<p>
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
% <b>showdb -noheading -notype -noid -noquery -noall -nocomment -auto </b>
qapblast
qapblastall
qapblastsplit
qapblastsplitexc
qapblastsplitinc
qapfasta
qapflat
qapflatall
qapir
qapirall
qapirinc
qapxfasta
qapxflat
qaxpir
qaxpirall
qaxpirinc
tpir
tsw
tswnew
twp
genbanksrs
qanfasta
qanfastaall
qanflat
qanflatall
qanflatexc
qanflatinc
qangcg
qangcgall
qangcgexc
qangcginc
qanxfasta
qanxfastaall
qanxflat
qanxflatall
qanxflatexc
qanxflatinc
qanxgcg
qanxgcgall
qanxgcgexc
qanxgcginc
qapirexc
qasrswww
qawfasta
qawxfasta
qaxpirexc
tembl
temblall
temblrest
temblvrt
testdb
tgb
tgenbank
</pre></td></tr></table><p>
<p>
<p>
<p>
<b>Example 8</b>
<p>
Display only the names and types:
<p>
<p>
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
% <b>showdb -only -type </b>
Displays information on the currently available databases
qapblast P
qapblastall P
qapblastsplit P
qapblastsplitexc P
qapblastsplitinc P
qapfasta P
qapflat P
qapflatall P
qapir P
qapirall P
qapirinc P
qapxfasta P
qapxflat P
qaxpir P
qaxpirall P
qaxpirinc P
tpir P
tsw P
tswnew P
twp P
genbanksrs N
qanfasta N
qanfastaall N
qanflat N
qanflatall N
qanflatexc N
qanflatinc N
qangcg N
qangcgall N
qangcgexc N
qangcginc N
qanxfasta N
qanxfastaall N
qanxflat N
qanxflatall N
qanxflatexc N
qanxflatinc N
qanxgcg N
qanxgcgall N
qanxgcgexc N
qanxgcginc N
qapirexc N
qasrswww N
qawfasta N
qawxfasta N
qaxpirexc N
tembl N
temblall N
temblrest N
temblvrt N
testdb N
tgb N
tgenbank N
</pre></td></tr></table><p>
<p>
<p>
<p>
<b>Example 9</b>
<p>
Display everything
<p>
<p>
<table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
% <b>showdb -full </b>
Displays information on the currently available databases
# Name Type ID Qry All Method Fields Defined Release Comment
# ============== ==== == === === ========= ================= ======= ======= =======
qapblast P OK OK OK blast - special BLAST swissnew
qapblastall P OK OK OK blast sv,des special BLAST swissnew, all fields indexed
qapblastsplit P OK OK OK blast - special BLAST swissnew split in 5 files
qapblastsplitexc P OK OK OK blast - special BLAST swissnew split in 5 files, not file 02
qapblastsplitinc P OK OK OK blast - special BLAST swissnew split in 5 files, only file 02
qapfasta P OK OK OK emblcd - special FASTA file swissnew entries
qapflat P OK OK OK emblcd - special SpTrEmbl flatfile
qapflatall P OK OK OK emblcd sv,des,org,key special SpTrEmbl flatfiles, all fields indexed
qapir P OK OK OK gcg - special PIR
qapirall P OK OK OK gcg des,org,key special PIR
qapirinc P OK OK OK gcg - special PIR
qapxfasta P OK OK OK emboss - special FASTA file swissnew entries
qapxflat P OK OK OK emboss - special Swissnew flatfiles
qaxpir P OK OK OK embossgcg - special PIR
qaxpirall P OK OK OK embossgcg des,org,key special PIR
qaxpirinc P OK OK OK embossgcg - special PIR
tpir P OK OK OK gcg des,org,key special PIR using NBRF access for 4 files
tsw P OK OK OK emblcd sv,des,org,key special 36 Swissprot native format with EMBL CD-ROM index
tswnew P OK OK OK emblcd sv,des,org,key special 37 SpTrEmbl as 3 files in native format with EMBL CD-ROM index
twp P OK OK OK emblcd des special 16 EMBL new in native format with EMBL CD-ROM index
genbanksrs N OK - - srswww gi,sv,des,org,key global Genbank IDs
qanfasta N OK OK OK emblcd - special FASTA file EMBL rodents
qanfastaall N OK OK OK emblcd sv,des special FASTA file EMBL rodents, all fields indexed
qanflat N OK OK OK emblcd - special EMBL flatfiles
qanflatall N OK OK OK emblcd - special EMBL flatfiles
qanflatexc N OK OK OK emblcd - special EMBL flatfiles, no rodent file
qanflatinc N OK OK OK emblcd - special EMBL flatfiles, only rodent file
qangcg N OK OK OK gcg - special GCG format EMBL
qangcgall N OK OK OK gcg sv,des,org,key special GCG format EMBL
qangcgexc N OK OK OK gcg - special GCG format EMBL without prokaryotes
qangcginc N OK OK OK gcg - special GCG format EMBL only prokaryotes
qanxfasta N OK OK OK emboss - special FASTA file EMBL rodents
qanxfastaall N OK OK OK emboss sv,des special FASTA file EMBL rodents, all fields indexed
qanxflat N OK OK OK emboss - special EMBL flatfiles
qanxflatall N OK OK OK emboss des,org,key special EMBL flatfiles, all fields indexed
qanxflatexc N OK OK OK emboss - special EMBL flatfiles, no rodent file
qanxflatinc N OK OK OK emboss - special EMBL flatfiles, only rodent file
qanxgcg N OK OK OK embossgcg - special GCG format EMBL
qanxgcgall N OK OK OK embossgcg sv,des,org,key special GCG format EMBL
qanxgcgexc N OK OK OK embossgcg - special GCG format EMBL without prokaryotes
qanxgcginc N OK OK OK embossgcg - special GCG format EMBL only prokaryotes
qapirexc N OK OK OK gcg - special PIR
qasrswww N OK - - srswww sv,des,org,key special Remote SRS web server
qawfasta N OK OK OK emblcd - special FASTA file wormpep entries
qawxfasta N OK OK OK emboss - special FASTA file wormpep entries
qaxpirexc N OK OK OK embossgcg - special PIR
tembl N OK OK OK emblcd sv,des,org,key special 57 EMBL in native format with EMBL CD-ROM index
temblall N - - OK direct sv,des,org,key special 57 EMBL in native format with EMBL CD-ROM index
temblrest N - - OK direct sv,des,org,key special 57 EMBL in native format with EMBL CD-ROM index
temblvrt N - - OK direct sv,des,org,key special 57 EMBL in native format with EMBL CD-ROM index
testdb N OK OK OK emblcd des special 01 test sequence data
tgb N OK - - srswww sv,des,org,key special Genbank IDs
tgenbank N OK OK OK emblcd sv,des,org,key special 01 GenBank in native format with EMBL CD-ROM index
</pre></td></tr></table><p>
<p>
<p>
<H2>
Command line arguments
</H2>
<table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
<pre>
Standard (Mandatory) qualifiers: (none)
Additional (Optional) qualifiers:
-database string Name of a single database to give
information on (Any string is accepted)
-html boolean [N] Format output as an HTML table
-[no]protein boolean [Y] Display protein databases
-[no]nucleic boolean [Y] Display nucleic acid databases
-full boolean [N] Display all columns
-methods boolean [$(full)] This displays the access methods
that can be used on this database, for all,
query or ID access
-fields boolean [$(full)] This displays the search fields
that can be used on this database, other
than the standard 'id' or 'acc' fields.
-defined boolean [$(full)] This displays a short name for the
file containing the database definition
-release boolean [$(full)] Display 'release' column
-outfile outfile [stdout] Output file name
Advanced (Unprompted) qualifiers:
-only toggle [N] This is a way of shortening the command
line if you only want a few standard columns
to be displayed. Instead of specifying:
'-nohead -notype -noid -noquery -noall'
to get only the comment output, you can
specify
'-only -comment'
-heading boolean [@(!$(only))] Display column headings
-type boolean [@(!$(only))] Display 'type' column
-id boolean [@(!$(only))] Display 'id' column
-query boolean [@(!$(only))] Display 'qry' column
-all boolean [@(!$(only))] Display 'all' column
-comment boolean [@(!$(only))] Display 'comment' column
Associated qualifiers:
"-outfile" associated qualifiers
-odirectory string Output directory
General qualifiers:
-auto boolean Turn off prompts
-stdout boolean Write standard output
-filter boolean Read standard input, write standard output
-options boolean Prompt for standard and additional values
-debug boolean Write debug output to program.dbg
-verbose boolean Report some/full command line options
-help boolean Report command line options. More
information on associated and general
qualifiers can be found with -help -verbose
-warning boolean Report warnings
-error boolean Report errors
-fatal boolean Report fatal errors
-die boolean Report dying program messages
</pre>
</td></tr></table>
<P>
<table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
<tr bgcolor="#FFFFCC">
<th align="left" colspan=2>Standard (Mandatory) qualifiers</th>
<th align="left">Allowed values</th>
<th align="left">Default</th>
</tr>
<tr>
<td colspan=4>(none)</td>
</tr>
<tr bgcolor="#FFFFCC">
<th align="left" colspan=2>Additional (Optional) qualifiers</th>
<th align="left">Allowed values</th>
<th align="left">Default</th>
</tr>
<tr>
<td>-database</td>
<td>Name of a single database to give information on</td>
<td>Any string is accepted</td>
<td><i>An empty string is accepted</i></td>
</tr>
<tr>
<td>-html</td>
<td>Format output as an HTML table</td>
<td>Boolean value Yes/No</td>
<td>No</td>
</tr>
<tr>
<td>-[no]protein</td>
<td>Display protein databases</td>
<td>Boolean value Yes/No</td>
<td>Yes</td>
</tr>
<tr>
<td>-[no]nucleic</td>
<td>Display nucleic acid databases</td>
<td>Boolean value Yes/No</td>
<td>Yes</td>
</tr>
<tr>
<td>-full</td>
<td>Display all columns</td>
<td>Boolean value Yes/No</td>
<td>No</td>
</tr>
<tr>
<td>-methods</td>
<td>This displays the access methods that can be used on this database, for all, query or ID access</td>
<td>Boolean value Yes/No</td>
<td>$(full)</td>
</tr>
<tr>
<td>-fields</td>
<td>This displays the search fields that can be used on this database, other than the standard 'id' or 'acc' fields.</td>
<td>Boolean value Yes/No</td>
<td>$(full)</td>
</tr>
<tr>
<td>-defined</td>
<td>This displays a short name for the file containing the database definition</td>
<td>Boolean value Yes/No</td>
<td>$(full)</td>
</tr>
<tr>
<td>-release</td>
<td>Display 'release' column</td>
<td>Boolean value Yes/No</td>
<td>$(full)</td>
</tr>
<tr>
<td>-outfile</td>
<td>Output file name</td>
<td>Output file</td>
<td>stdout</td>
</tr>
<tr bgcolor="#FFFFCC">
<th align="left" colspan=2>Advanced (Unprompted) qualifiers</th>
<th align="left">Allowed values</th>
<th align="left">Default</th>
</tr>
<tr>
<td>-only</td>
<td>This is a way of shortening the command line if you only want a few standard columns to be displayed. Instead of specifying:
'-nohead -notype -noid -noquery -noall'
to get only the comment output, you can specify
'-only -comment'</td>
<td>Toggle value Yes/No</td>
<td>No</td>
</tr>
<tr>
<td>-heading</td>
<td>Display column headings</td>
<td>Boolean value Yes/No</td>
<td>@(!$(only))</td>
</tr>
<tr>
<td>-type</td>
<td>Display 'type' column</td>
<td>Boolean value Yes/No</td>
<td>@(!$(only))</td>
</tr>
<tr>
<td>-id</td>
<td>Display 'id' column</td>
<td>Boolean value Yes/No</td>
<td>@(!$(only))</td>
</tr>
<tr>
<td>-query</td>
<td>Display 'qry' column</td>
<td>Boolean value Yes/No</td>
<td>@(!$(only))</td>
</tr>
<tr>
<td>-all</td>
<td>Display 'all' column</td>
<td>Boolean value Yes/No</td>
<td>@(!$(only))</td>
</tr>
<tr>
<td>-comment</td>
<td>Display 'comment' column</td>
<td>Boolean value Yes/No</td>
<td>@(!$(only))</td>
</tr>
</table>
<H2>
Input file format
</H2>
None.
<p>
<a name="input.3"></a>
<h3>Input files for usage example 3</h3>
'tsw' is a sequence entry in the example protein database 'tsw'
<p>
<H2>
Output file format
</H2>
<a name="output.2"></a>
<h3>Output files for usage example 2</h3>
<p><h3>File: showdb.out</h3>
<table width="90%"><tr><td bgcolor="#CCFFCC">
<pre>
# Name Type ID Qry All Comment
# ============== ==== == === === =======
qapblast P OK OK OK BLAST swissnew
qapblastall P OK OK OK BLAST swissnew, all fields indexed
qapblastsplit P OK OK OK BLAST swissnew split in 5 files
qapblastsplitexc P OK OK OK BLAST swissnew split in 5 files, not file 02
qapblastsplitinc P OK OK OK BLAST swissnew split in 5 files, only file 02
qapfasta P OK OK OK FASTA file swissnew entries
qapflat P OK OK OK SpTrEmbl flatfile
qapflatall P OK OK OK SpTrEmbl flatfiles, all fields indexed
qapir P OK OK OK PIR
qapirall P OK OK OK PIR
qapirinc P OK OK OK PIR
qapxfasta P OK OK OK FASTA file swissnew entries
qapxflat P OK OK OK Swissnew flatfiles
qaxpir P OK OK OK PIR
qaxpirall P OK OK OK PIR
qaxpirinc P OK OK OK PIR
tpir P OK OK OK PIR using NBRF access for 4 files
tsw P OK OK OK Swissprot native format with EMBL CD-ROM index
tswnew P OK OK OK SpTrEmbl as 3 files in native format with EMBL CD-ROM index
twp P OK OK OK EMBL new in native format with EMBL CD-ROM index
genbanksrs N OK - - Genbank IDs
qanfasta N OK OK OK FASTA file EMBL rodents
qanfastaall N OK OK OK FASTA file EMBL rodents, all fields indexed
qanflat N OK OK OK EMBL flatfiles
qanflatall N OK OK OK EMBL flatfiles
qanflatexc N OK OK OK EMBL flatfiles, no rodent file
qanflatinc N OK OK OK EMBL flatfiles, only rodent file
qangcg N OK OK OK GCG format EMBL
qangcgall N OK OK OK GCG format EMBL
qangcgexc N OK OK OK GCG format EMBL without prokaryotes
qangcginc N OK OK OK GCG format EMBL only prokaryotes
qanxfasta N OK OK OK FASTA file EMBL rodents
qanxfastaall N OK OK OK FASTA file EMBL rodents, all fields indexed
qanxflat N OK OK OK EMBL flatfiles
qanxflatall N OK OK OK EMBL flatfiles, all fields indexed
qanxflatexc N OK OK OK EMBL flatfiles, no rodent file
qanxflatinc N OK OK OK EMBL flatfiles, only rodent file
qanxgcg N OK OK OK GCG format EMBL
qanxgcgall N OK OK OK GCG format EMBL
qanxgcgexc N OK OK OK GCG format EMBL without prokaryotes
qanxgcginc N OK OK OK GCG format EMBL only prokaryotes
qapirexc N OK OK OK PIR
qasrswww N OK - - Remote SRS web server
qawfasta N OK OK OK FASTA file wormpep entries
qawxfasta N OK OK OK FASTA file wormpep entries
qaxpirexc N OK OK OK PIR
tembl N OK OK OK EMBL in native format with EMBL CD-ROM index
temblall N - - OK EMBL in native format with EMBL CD-ROM index
temblrest N - - OK EMBL in native format with EMBL CD-ROM index
temblvrt N - - OK EMBL in native format with EMBL CD-ROM index
testdb N OK OK OK test sequence data
tgb N OK - - Genbank IDs
tgenbank N OK OK OK GenBank in native format with EMBL CD-ROM index
</pre>
</td></tr></table><p>
<p>
The output is a simple table.
<p>
Type 'P' indicates that this is a Protein database.
<p>
Type 'N' indicates that this is a Nucleic database.
<p>
'OK' under ID, Qry or All indicates that that access method can be
used on this database. A '-' indicates that you cannot access this
database in that way.
<p>
Note that 'OK' does not mean that the database is working correctly. It
simply means that <b>showdb</b> has read the database definition
correctly and that this method of access to the database should be
possible.
<p>
If you are setting up a new database, then you should check that it
works correctly by extracting entries from it using <b>seqret</b>.
<p>
When the -html qualifier is specified, then the output will be wrapped
in HTML tags, ready for inclusion in a Web page. Note that tags such
as <HTML>, <BODY>, </BODY> and </HTML> are not
output by this program as the table of databases is expected to form
only part of the contents of a web page - the rest of the web page
must be supplied by the user.
<H2>
Data files
</H2>
The databases are specified in the files <i>"emboss.defaults"</i> for
site wide definitions, and <i>"~/.embossrc"</i> for the user's own
settings.
<H2>
Notes
</H2>
Note that 'OK' in the output does not mean that the database is working
correctly. It simply means that <b>showdb</b> has read the database
definition correctly and that this method of access to the database
should be possible.
<p>
If you are setting up a new database, then you should check that it
works correctly by extracting entries from it using <b>seqret</b>.
<p>
You can set up your own private databases by editing a file called
'.embossrc' to contain database specifications.
<p>
You can set up public databases by editing the file
'/usr/local/share/EMBOSS/emboss.default' (if you have the permission to
do this).
<p>
The 'emboss.default' file will already have the definitions of the test
databases in: tsw, tembl, tpir, etc. These are the databases that are
used in the examples shown in the documentation of the programs.
<p>
For details of the database definitions, you should first read David's
Administration Guide:
<a href="/docs/adminguide/">
http://emboss.sourceforge.net/docs/adminguide/
</a>
especially:
<a href="/docs/adminguide/node4.html">
http://emboss.sourceforge.net/docs/adminguide/adminguide/node4.html
</a>
<p>
See also:
<a href="/docs/themes/Databases.html">
http://emboss.sourceforge.net/docs/themes/Databases.html
</a>
for a lot of detail of the syntax of database definition.
<p>
Just because showdb can display the database definitions, it does NOT
mean that the databases are set up correctly. You must now test them
using <b>seqret</b>.
<H2>
References
</H2>
None.
<H2>
Warnings
</H2>
None.
<H2>
Diagnostic Error Messages
</H2>
"The database 'xyz' does not exist" You have supplied the name of a
database with the -database qualifier, but that database does not
exist as far as EMBOSS is concerned.
<H2>
Exit status
</H2>
It always exits with status 0, unless the above diagnostic message is
displayed.
<H2>
Known bugs
</H2>
None noted.
<h2><a name="See also">See also</a></h2>
<table border cellpadding=4 bgcolor="#FFFFF0">
<tr><th>Program name</th><th>Description</th></tr>
<tr>
<td><a href="abiview.html">abiview</a></td>
<td>Reads ABI file and display the trace</td>
</tr>
<tr>
<td><a href="cirdna.html">cirdna</a></td>
<td>Draws circular maps of DNA constructs</td>
</tr>
<tr>
<td><a href="infoalign.html">infoalign</a></td>
<td>Information on a multiple sequence alignment</td>
</tr>
<tr>
<td><a href="infoseq.html">infoseq</a></td>
<td>Displays some simple information about sequences</td>
</tr>
<tr>
<td><a href="lindna.html">lindna</a></td>
<td>Draws linear maps of DNA constructs</td>
</tr>
<tr>
<td><a href="pepnet.html">pepnet</a></td>
<td>Displays proteins as a helical net</td>
</tr>
<tr>
<td><a href="pepwheel.html">pepwheel</a></td>
<td>Shows protein sequences as helices</td>
</tr>
<tr>
<td><a href="prettyplot.html">prettyplot</a></td>
<td>Displays aligned sequences, with colouring and boxing</td>
</tr>
<tr>
<td><a href="prettyseq.html">prettyseq</a></td>
<td>Output sequence with translated ranges</td>
</tr>
<tr>
<td><a href="remap.html">remap</a></td>
<td>Display sequence with restriction sites, translation etc</td>
</tr>
<tr>
<td><a href="seealso.html">seealso</a></td>
<td>Finds programs sharing group names</td>
</tr>
<tr>
<td><a href="showalign.html">showalign</a></td>
<td>Displays a multiple sequence alignment</td>
</tr>
<tr>
<td><a href="showfeat.html">showfeat</a></td>
<td>Show features of a sequence</td>
</tr>
<tr>
<td><a href="showseq.html">showseq</a></td>
<td>Display a sequence with features, translation etc</td>
</tr>
<tr>
<td><a href="sixpack.html">sixpack</a></td>
<td>Display a DNA sequence with 6-frame translation and ORFs</td>
</tr>
<tr>
<td><a href="textsearch.html">textsearch</a></td>
<td>Search sequence documentation. Slow, use SRS and Entrez!</td>
</tr>
<tr>
<td><a href="tfm.html">tfm</a></td>
<td>Displays a program's help documentation manual</td>
</tr>
<tr>
<td><a href="whichdb.html">whichdb</a></td>
<td>Search all databases for an entry</td>
</tr>
<tr>
<td><a href="wossname.html">wossname</a></td>
<td>Finds programs by keywords in their one-line documentation</td>
</tr>
</table>
<H2>
Author(s)
</H2>
Gary Williams (gwilliam © rfcgr.mrc.ac.uk)
<br>
MRC Rosalind Franklin Centre for Genomics Research
Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SB, UK
<H2>
History
</H2>
Completed 6th August 1999.
<H2>
Target users
</H2>
This program is intended to be used by everyone and everything, from naive users to embedded scripts.
<H2>
Comments
</H2>
None
</BODY>
</HTML>
|