[ Team LiB ] |
showseq displays a protein or a nucleic acid sequence in a style suitable for publication. Here is a sample session with showseq. By default, the output appears on standard output (the terminal) but can be saved to a file. We only look at a small section of the sequence to save space: % showseq tembl:eclac -sbeg 1 -send 100 Display a sequence with features, translation etc.. Things to display 0 : Enter your own list of things to display 1 : Sequence only 2 : Default sequence with features 3 : Pretty sequence 4 : One frame translation 5 : Three frame translations 6 : Six frame translations 7 : Restriction enzyme map 8 : Baroque Display format [2]: Output file [eclac.showseq]: stdout ECLAC E.coli lactose operon with lacI, lacZ, lacY and lacA genes. 10 20 30 40 50 60 ----:----|----:----|----:----|----:----|----:----|----:----| gacaccatcgaatggcgcaaaacctttcgcggtatggcatgatagcgcccggaagagagt | variation note="c in wild-type; t in 'up' promoter mutant I-Q [11]" |= = = = = = = mRNA note="lacI (repressor) mRNA; preferred in vivo 3' end [12],[29]" 70 80 90 100 110 120 ----:----|----:----|----:----|----:----|----:----|----:----| caattcagggtggtgaatgtgaaaccagtaacgttatacgatgtcgcagagtatgccggt = = = = = = = = = = = = = = = = = = = = = mRNA note="lacI (repressor) mRNA; preferred in vivo 3' end [12],[29]" |======================================== CDS codon_start="1" db_xref="SWISS-PROT:P03023" note="lac repressor p Note that although we asked for the sequence display to end at position "100", it has displayed the sequence up to the end of the line - position "120". This is a feature of this program to make the display of things like restriction enzyme cutting sites easier. The standard list of output formats are only a small selection of the possible ways in which a sequence might be displayed. Precise control over the output format is achieved by selecting the qualifier -format 0 (Option 0 in the list of things to display). For example: % showseq tembl:eclac -sbeg 1 -send 120 Display a sequence with features, translation etc.. Output file [stdout]: Things to display 0 : Enter your own list of things to display 1 : Sequence only 2 : Default sequence with features 3 : Pretty sequence 4 : One frame translation 5 : Three frame translations 6 : Six frame translations 7 : Restriction enzyme map 8 : Baroque Display format [2]: 0 Specify your own things to display S : Sequence B : Blank line 1 : Frame1 translation 2 : Frame2 translation 3 : Frame3 translation -1 : CompFrame1 translation -2 : CompFrame2 translation -3 : CompFrame3 translation T : Ticks line N : Number ticks line C : Complement sequence F : Features R : Restriction enzyme cut sites in forward sense -R : Restriction enzyme cut sites in reverse sense A : Annotation Enter a list of things to display [B N T S A F]: b,s,t,c Output file [eclac.showseq]: stdout ECLAC E.coli lactose operon with lacI, lacZ, lacY and lacA genes. gacaccatcgaatggcgcaaaacctttcgcggtatggcatgatagcgcccggaagagagt ----:----|----:----|----:----|----:----|----:----|----:----| ctgtggtagcttaccgcgttttggaaagcgccataccgtactatcgcgggccttctctca caattcagggtggtgaatgtgaaaccagtaacgttatacgatgtcgcagagtatgccggt ----:----|----:----|----:----|----:----|----:----|----:----| gttaagtcccaccacttacactttggtcattgcaatatgctacagcgtctcatacggcca By choosing format "0" and specifying that we want to display the things: "b,s,t,c", we will output the sequence in the following way. For every new line that the sequence starts to write, the output display will contain first a blank line ("b"), then the sequence itself ("s"), a line of with ticks every 10 characters ("t"), and the reverse complement of the sequence ("c'"). Subsequent lines of the sequence output will repeat this format. The "thing" codes used in the list of standard formats are:
The following are some examples of different formats. Just sequence: % showseq embl:eclac stdout -sbeg 1 -send 120 -noname -nodesc -format 0 -thing S Display a sequence with features, translation etc.. gacaccatcgaatggcgcaaaacctttcgcggtatggcatgatagcgcccggaagagagt caattcagggtggtgaatgtgaaaccagtaacgttatacgatgtcgcagagtatgccggt Protein sequence displayed in three-letter codes. The codes are displayed downwards, so the first code is "Met": % showseq tsw:rs24_fugru stdout -three -format 2 RS24_FUGRU 40S RIBOSOMAL PROTEIN S24. 10 20 30 40 50 60 ----:----|----:----|----:----|----:----|----:----|----:----| MAATVTVATALPMTAALLGALGMVVAVLHPGLATVPLTGIAGLLALMTLTTPAVVPVPGP esshaharhryhehsreelryleaasaeirlylharyhllrlyelyeyyhhrsaahahlh tnprlrlgrgsetrnguungsntllplusoysarlosruegusuastrsrroplleleye 70 80 90 100 110 120 ----:----|----:----|----:----|----:----|----:----|----:----| ATGPGGGLTTGPAMVTASLATALLAGPLHALAAHGLPGLLLTSALGALGALAAMLLVAGT rhlhlllyhhlhleayseesylyyslryirelrilehlyyyherylrylrysreyyarlh grneyyysrryeatlrpruprassnuossguagsyueusssrrgsngsugsngtsslgyr 130 140 150 160 170 180 ----:----|----:----|----:----|----:----|----:----|----:----| LLASVGASLLLA yylealleyyys ssarlyarsssp Number the sequence lines in the margin: % showseq tembl:mmam stdout -format 1 -number Display a sequence with features, translation etc.. Output file [stdout]: MMAM Mus musculus (cell line C3H/F2-11) chromosome 12 anti-DNA antibody heavy chain mRNA. 1 gagnnccagctgcagcagtctggacctgagctggtaaagcctggggcttcagtgaagatg 60 61 tcctgcaaggcttctggatacacattcactagctatgttatgcactgggtgaatcagaag 120 121 cctgggcagggccttgagtggattggatatattaatccttacaatgatggtactaactac 180 181 aatgagaagttcaaaggcaaggccacactgacttcagacaaatcctccagcacagcctac 240 241 atggagttcagcagcctgacctctgaggactctgcggtctattactgtgcaagaaaaact 300 301 tcctactatagtaacctatattactttgactactggggccaaggcaccactctcacagtc 360 361 tcctca 366 Start the numbering at a specified value ("123" in this case): % showseq tembl:mmam stdout -format 1 -number -offset 123 Display a sequence with features, translation etc.. MMAM Mus musculus (cell line C3H/F2-11) chromosome 12 anti-DNA antibody heavy chain mRNA. 123 gagnnccagctgcagcagtctggacctgagctggtaaagcctggggcttcagtgaagatg 182 183 tcctgcaaggcttctggatacacattcactagctatgttatgcactgggtgaatcagaag 242 243 cctgggcagggccttgagtggattggatatattaatccttacaatgatggtactaactac 302 303 aatgagaagttcaaaggcaaggccacactgacttcagacaaatcctccagcacagcctac 362 363 atggagttcagcagcctgacctctgaggactctgcggtctattactgtgcaagaaaaact 422 423 tcctactatagtaacctatattactttgactactggggccaaggcaccactctcacagtc 482 483 tcctca 488 Make selected regions uppercase. Use -slower to force the rest of the sequence to be lowercase: % showseq tembl:mmam stdout -format 1 -slower -upper '25-45,101-203,333-362' Display a sequence with features, translation etc.. MMAM Mus musculus (cell line C3H/F2-11) chromosome 12 anti-DNA antibody heavy chain mRNA. gagnnccagctgcagcagtctggaCCTGAGCTGGTAAAGCCTGGGgcttcagtgaagatg tcctgcaaggcttctggatacacattcactagctatgttaTGCACTGGGTGAATCAGAAG CCTGGGCAGGGCCTTGAGTGGATTGGATATATTAATCCTTACAATGATGGTACTAACTAC AATGAGAAGTTCAAAGGCAAGGCcacactgacttcagacaaatcctccagcacagcctac atggagttcagcagcctgacctctgaggactctgcggtctattactgtgcaagaaaaact tcctactatagtaacctatattactttgactaCTGGGGCCAAGGCACCACTCTCACAGTC TCctca Translate selected regions: % showseq embl:mmam tstdout -format 4 -send 120 -trans 25-49,66-76 Display a sequence with features, translation etc.. MMAM Mus musculus (cell line C3H/F2-11) chromosome 12 anti-DNA antibody heavy chain mRNA. 10 20 30 40 50 60 ----:----|----:----|----:----|----:----|----:----|----:----| gagnnccagctgcagcagtctggacctgagctggtaaagcctggggcttcagtgaagatg P E L V K P G A S 70 80 90 100 110 120 ----:----|----:----|----:----|----:----|----:----|----:----| tcctgcaaggcttctggatacacattcactagctatgttatgcactgggtgaatcagaag R L L Add your own annotation to the display: % showseq tembl:mmam stdout -format 2 -send 120 -annotation '13-26 binding site 15-15 SNP' Display a sequence with features, translation etc.. MMAM Mus musculus (cell line C3H/F2-11) chromosome 12 anti-DNA antibody heavy chain mRNA. 10 20 30 40 50 60 ----:----|----:----|----:----|----:----|----:----|----:----| gagnnccagctgcagcagtctggacctgagctggtaaagcctggggcttcagtgaagatg |------------| binding site | SNP 70 80 90 100 110 120 ----:----|----:----|----:----|----:----|----:----|----:----| tcctgcaaggcttctggatacacattcactagctatgttatgcactgggtgaatcagaag Mandatory qualifiers (bold if not always prompted):
Optional qualifiers:
Advanced qualifiers:
|
[ Team LiB ] |