Download 8. FULL DESCRIPTIONS

Transcript
Full Descriptions
Fetch 8-3
FETCH
FUNCTION
Fetch copies GCG sequences or data files from the GCG database into your directory or displays
them on your terminal screen.
DESCRIPTION
The expression % fetch *bov* will retrieve every GCG data file or sequence entry whose
name contains the string bov. Sequence specification is described in detail in the Chapter 2,
Using Sequences of the User’s Guide.
When copying a sequence from a database, Fetch creates a file in GCG format whose name is the
entry name and whose extension is the database logical name.
For example,
% fetch EMBL:Hsrep2 copies the requested sequence into a file called hsrep2.em_pr. The
filename extension is taken from the logical name for the database. In this example, the
extension .em_pr indicates that the sequence was copied from the Primate division of the EMBL
nucleotide sequence database. (See "Using Database Sequences" in Chapter 2, Using Sequences
of the User’s Guide for a complete listing of logical names for all available in HUSAR/GCG
databases.) If the file being copied is not from a sequence database, for example enzyme.dat, then
its name is not changed.
If your sequence specification contains no logical name, Fetch looks in all the databases and in
all the GCG data directories to find all possible entry names. For example, % fetch hum*
would do almost the same thing as % fetch GenBank:hum*, except that if any sequences
beginning with hum were present in databases other than GenBank or in any GCG data
directories, they would also be retrieved.
Special Considerations for Searching
Keep in mind that filenames are case sensitive and database entry names are case
insensitive. Because this program searches for both filenames and database entry names,
you must take care when you enter the character pattern that makes up your
specification.
For example, if you entered Gamma* as a file specification, this program would find all
entries in the databases whose names begin with Gamma but no GCG-supplied files
would be found. This is because all the files in the Wisconsin Package are named using
lowercase letters. Conversely, if you entered gamma*, this program would find all of the
entries in the databases and all the GCG-supplied files whose names begin with gamma.
(Note that it is often convenient to add -OUTfile=Term to the command line so the data are
displayed on your terminal screen.)
EXAMPLE
Here is a session using Fetch to retrieve local copies of most of the GenBank human beta globin
sequences: