|
|
 |
 |
4.3 Initiate
A Linking Operation |
|
It is possible to initiate a linking operation from many
pages, for example:
-
the "Results" page
-
the "Entry List" page
-
the "Entry" page
are just a few. |
Link
Whole Queries |
|
You can link an entire set from the "Entry List" page or
from the "Results" page. To link from the "Entry List" page: do your query
as normal, when the "Entry List" page appears click the "Link" button to
bring up the "Linking" page. Finish the linking operation as you did in
the previous example.
There are two ways to link your queries from the "Results" Page.
The most common is to select the checkbox that corresponds to a query set
and click the "Link" button. This takes you to the "Linking" page where
you specify the type of link to perform. The second option is to use the
"Expression" box near the top of the "Results" page. This option is discussed
later in the "Expression Linking" section.
Using the "Linking" Page:
-
Select the query to link.
-
In the "Results" page you will see a listing of all the queries performed
during the current session. See figure 3.
FIGURE 3. Select the Query to Link.
-
Click the "Link" button.
-
This will bring up the "Linking" page.
-
Pick the type of linking operation to perform.
-
See "Picking a Linking Option" earlier in this chapter.
-
Choose the databanks to run the linking operation against.
-
Select the checkbox to the left of the databank name.
-
Click the "Submit Link" button.
|
Multiple
Entry Linking |
|
Link several entries from a query by selecting only the
entries that you want to perform the linking operation on (or selecting
the entries to exclude from the linking operation).
Linking "selected" entries from the "Entry List":
-
Select all the checkboxes for the entries that you want to link.
|
|
-
The "Perform Operation" option is set to "On Selected" automatically when
you begin selecting entries to link.
-
Click the "Link" button.
-
This will bring up the "Linking" page.
-
Choose a linking operation (or use the default option).
-
See the "Picking a Linking Option" section earlier in this chapter.
-
Select the databanks.
-
Click the "Submit Links" button.
Linking "all but selected" entries from the "Entry List":
You can also link most of the entries in a set, just select the ones that
you do not want included in the linking operation and change the "Perform
Operation" selection to "on all but selected".
-
Select all the checkboxes for the entries that you do not want included
in the linking operation.
-
Set the "Perform Operation" option to "on all but Selected".
-
Click the "Link" Button.
-
Pick the type of linking operation.
-
Select the databanks.
-
Click the "Submit Links" button.
|
Linking
a Single Entry |
|
Before you can link a single entry you need to bring up
the "Entry" page for that entry.
-
Click the "Results" tab.
-
Choose the set that contains the entry you want to link.
-
Select the checkbox to the left of the query set.
-
Click the "View" button.
-
This will bring up the "Entry List" page for the query set.
-
Click the hyperlink for the entry that you want to link.
-
This will bring up the "Entry" page. See figure 4.
FIGURE 4. Link the entry.
To link a single entry from the Entry Page (once the "Entry" page is displayed):
-
Click the "Link" button.
-
This brings up the "Single Entry Linking" page. See figure 5.
FIGURE 5. Linking a single entry.
-
Select the databanks to perform the linking operation on.
-
Click the "Submit Link" button.
You do not have the options with a link from the "Entry" page that you
have when you link a single entry from a list of entries or when you link
a complete set of entries. You are limited to linking the entry to other
databanks. |
Expression
Linking |
|
If you want to link between two sets of results, a set of
DNA sequences in "Q1" and a set of protein sequences in "Q2", for example,
you would use the "Expression" box.
The question you are asking might be, are there any links between'
If there are links between entries in the queries you have the choice of
having the entries in "Q1" that are linked to "Q2" returned as the results
or of having the entries in "Q2" that are linked to "Q1" returned as the
results.
The "Expression" box is shown in figure 6. Enter your expression
in the textarea as is indicated in step 4 below.
FIGURE 6. Expression Linking.
To link complete query sets using the "Expression" box:
-
Key in the name of the query set to link.
-
Specify the type of query (See example below).
-
Specify the databank or second query that the set should link to.
-
Click the "Query Expression" button.
-
will list all the entries in "Q1" that are linked to "Q2".
-
will list all the entries in "Q2" that are linked to "Q1".
|
Linking
Operators |
|
The linking operators are explained here:
-
<
-
Entries to the left of the operator are returned in the "Results List"
if they have a link to any entries in the set or databank to the right
of the operator.
-
>
-
Entries to the right of the operator are returned in the "Results List"
if they have a link to any entries in the set or databank to the left of
the operator.
You can also use the query operators, as is shown in the following table,
with a linking operation. For example, "Q1 < Q2 & Q3" will return
a set of entries from "Q1" that have links to "Q2" and "Q3".
TABLE 4.1 Linking operations.
Operators
|
Example
|
Returns Entries in:
|
< |
"Q1 < Q2" |
"Q1" that have link to "Q2". |
& |
"Q1 < Q2 & Q3" |
"Q1" that link to "Q2" and "Q3". |
| |
"Q1 < Q2 | Q3" |
"Q1" that link to "Q2" or "Q3". |
! |
"Q1 < Q2 ! Q3" |
"Q1" that link to "Q2" but not "Q3". |
> |
"Q1 > Q2" |
"Q2" that have link to "Q1". |
|
Linking
Examples |
|
Linking through the "Expression" box is a powerful alternative
to the standard linking methods discussed earlier. In addition to linking
between queries you can use the "Expression" box to check for databank
links without going through the "Linking" page.
If you have a set of EMBL entries in "Q1" that you want to link
with SWISS-PROT, type:
To see the EMBL entries from the original query that have links
to SWISS-PROT.
If you would rather see the SWISS-PROT entries that the above operation
returned turn the link around, like this:
which returns the SWISS-PROT entries that have links with the
entries in the "Q1" set.
|
 |