function newWindow(url) { window.open(url, "sideWin", 'toolbar=no,location=no,scrollbars=yes,resizable=yes') } function newWindow2(url) { window.open(url, "sideWin2", 'toolbar=yes,location=yes,scrollbars=yes,statusbar=yes,menubar=yes,resizable=yes,personalbar=yes') } function subgif(form, addEl) { form.elements[form.elements.length-1].name = addEl form.submit() } function printText(str){ var ie4 = (document.all) ? true : false; var nn4 = (document.layers) ? true : false; mydiv = (ie4) ? div1 : eval(document.who); if (ie4){ mydiv.innerHTML = str } else if (nn4) { layer = document.layers['layer1'] doc = layer.document; anchor = document.layerAnchor layer.x = anchor.x layer.y = anchor.y layer.visibility = "show" doc.open('text/html') doc.write(str) doc.close(); } }
       
SRS Users Manual
Introduction to SRS
SRS Sessions
Querying With SRS
Linking
Views
Applications
Command Line SRS
  7.1  getz
The SRS Query Language 

Command Line SRS

 
7.1 getz
  The SRS command line interface is made available to you through a unix shell window. You will need to contact your SRS administrator to get access.

 The program used for command line SRS is called "getz". Once you have access to "getz" you can query a databank from the command line.

 The "SRS Query Language" chapter will help you to write out your queries, here are a few examples:
 
 

 
getz [swissprot-des:azurin]'
gets a list of entries from the swissprot databank that have "azurin" mentioned in the description.
 
 
 
getz -e [swissprot-des:azurin]'
same as above but returns the complete entries.
 
 
 
getz -f seq -sf fasta [swissprot-des:azurin]'
gets the sequence for the entries in the fasta format.
Important Options
  The following table lists the options available for command line SRS.

 You can use it to help improve your getz queries. You can learn more about getz with the command:
 
 

 
getz -help
TABLE 7.1 Important getz Options 
Option
Default
What it does
-help Help with getz.
-e FALSE prints entire entry.
-f <string> "" include fields in entry list.
-vf <string> "" List of fields that will be placed into a table view.
-w FALSE appends a wildcard to each search word.
-lb <n> 0 number of first entry in set to be viewed.
-ll <n> 0 number of entries to be viewed in one go.
-lv FALSE List all values that match the query.
-lvf FALSE List all values after the first match of.
-lmin <n> 0 List only values that occur at least specified number of times. Use together with "lv".
-c FALSE Report only number of entries found.
-info FALSE prints info about specified library.
-libs FALSE prints a list of all active libraries.
-view <string> "" Name of view to be used when displaying entries.
-rs <string> "" String of one or more characters to separate records in view.
-cs <string> "" String of one or more characters to separate columns in view.
-sf <string> "" format of sequence output file.
-af <string> "" format of sequence alignment output file.
-html FALSE Select HTML format for output.
-off FALSE Accesses the off-line version of a databank.
SRS 6.0.7.3