Debian Codegraph @

whelp/keysets

raw
1 // $Id: keysets,v 1.2 1995/02/18 20:50:04 rd Exp $
2
3 Keysets (summary) -- Sam Cartinhour
4
5 A keyset is a collection of object names from one or more classes.
6 They are used thoughout ACEDB to support browsing, queries, analysis,
7 display, and data management. Keyset windows can have a variety of
8 labels ("Keyset", "New Keyset", "Query Answer", "Exported Keyset",
9 "Main Keyset", and "Copied Keyset") but their functionality is the
10 same. Note that there is a class called "KeySet" that may appear on
11 your main window. It is possible to name and save keysets; if you do
12 so they will appear as members of this class.
13
14 -----Putting things into and getting them out of keysets
15
16 Users first encounter keysets via the main window. When ACEDB starts
17 the most "senior" class (upper-left) on the main window is opened and
18 the names of its members displayed in the Main Keyset. The contents of
19 the keyset are replaced if a new class is double-clicked. The default
20 is always to show every member of a class. However, the Template box
21 makes it possible to display only those objects whose names fit a
22 certain pattern. For example the Template *a will pass only those
23 objects whose name ends with the character 'a'.
24
25 The Text search box (main window) also generates a keyset but differs
26 from the Template box in three important ways. (1). Although the Text
27 Search examines object names, it does so for all classes, not just the
28 one currently selected in the main window. (2). Text Search looks
29 inside every object and examines the contents of any ?Text fields
30 against the pattern. (3). The resulting keyset may contain objects
31 from more than one class. The user will need to open them to determine
32 class identities.
33
34 Other simple keyset manipulations are available in any keyset window's
35 pop-up menu. "Add-Remove Keys" makes it possible to assemble a keyset
36 using completely arbitrary criteria. Items are added by
37 double-clicking on object or object symbols in any available window
38 (try the arrow keys!!). An object is removed from the keyset by
39 double-clicking on it in the keyset window. "Copy" copies all the
40 members a keyset to a "Copied Keyset" window. "Save" allows the user
41 to name and save a keyset. It then appears as a member of the KeySet
42 class on the main window.
43
44 Set operations (AND, OR, XOR, MINUS) are also available on a keyset's
45 pop-up menu. Note however that these apply to a pair of keysets.
46 Select the first keyset by clicking once on any of its objects; you
47 have succeeded when the pink "Selected Keyset" box shows at the top of
48 the window. Then pop the menu in the second keyset and choose one of
49 the operations. "AND" will display the intersection; "OR" their union;
50 "MINUS" will remove whatever is in the first keyset from the second
51 keyset; "XOR" will display whatever is *not* in common between the
52 keysets. Warning: currently these operations are destructive in that
53 they replace the second keyset (the one from which the menu is popped)
54 with the "answer" and there is no "undo". Also, popping the menu from
55 the selected (pink rectangled) keyset means that the two keysets being
56 compared are identical. Thus: AND, MINUS and XOR will wipe out your
57 keyset and OR will do nothing.
58
59 "Find Neighbors" generates a new keyset. Each keyset object is
60 examined and any object linked to it is added to the keyset. A few
61 rounds of this will collect zillions of objects in a
62 well-interconnected database.
63
64 Note that keysets can be acquired from "highlighted" objects on some
65 graphical displays. Howeverm "highlighted" means more than "specially
66 colored". For example, clicking once on a map locus does *not*
67 "highlight" it. Keysets can also be generated by analysis tools.
68
69 -----Dumping information into files from keysets
70
71 Information can be dumped from a keyset window using the menu items
72 "Ace Dump", "Name Dump" and "Sequence Dump". The first dumps (in .ace
73 format) all the information associated with each object in the keyset.
74 The second dumps only the object names (you can use this to create
75 a keyset as a .ace file). The third option creates a file of sequence
76 data in FastA format.
77
78 -----Miscellaneous things you can do to keyset members
79
80 "Show as Text": show any selected object in the keyset in a tree
81 (text) display; useful if the default for the object is a special
82 graphical display.
83
84 "Show as Multimap": allows maps to be compared via the Multimap
85 display.
86
87 "Show Related Biblio": triggers the biblio display for all the
88 members of the keyset. Currently this works only if the objects
89 are associated with bibliographic references via a "Paper" tag.
90
91 Don't forget: you can browse keyset members using the up or down arrow
92 keys.
93
94 -----not discussed at all (hopefully will be covered by others)
95
96 Some displays (e.g., the genetic map) are sensitive to keysets.
97 Some analysis tools (e.g. DNA) also use them.
98 Query answers are always expressed as keysets.
99 The TableMaker can examine keysets and can export objects to them.