File: cdrom.asn

package info (click to toggle)
ncbi-tools6 6.1.20170106%2Bdfsg1-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 468,492 kB
  • sloc: ansic: 1,474,204; pascal: 6,740; cpp: 6,248; xml: 3,390; sh: 2,139; perl: 1,084; csh: 508; makefile: 437; javascript: 198; ruby: 93; lisp: 81
file content (144 lines) | stat: -rw-r--r-- 6,635 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
--$Revision: 6.0 $
--********************************************************************
--
--  CdRom Specific data structures
--  James Ostell, 1991
--
--  Revised:  06-03-94  Schuler
--  Revised:  07-14-94  Schuler
--
--********************************************************************

NCBI-CdRom DEFINITIONS ::=
BEGIN

EXPORTS Cdrom-inf, Docsum;

Cdrom-inf ::= SEQUENCE    -- MODIFIED
{
	volume-label VisibleString,                      -- title of this resource: "Entrez"
	version INTEGER,                                 -- major release number
	issue INTEGER,                                   -- minor release number
	format INTEGER,                                  -- version of cdrom format used
	descr VisibleString,                             -- a brief summary of contents
	no-compression BOOLEAN OPTIONAL,                 -- (DEFUNCT)
	huff-count INTEGER OPTIONAL,                     -- (DEFUNCT)
	huff-left SEQUENCE OF INTEGER OPTIONAL,          -- (DEFUNCT)
	huff-right SEQUENCE OF INTEGER OPTIONAL,         -- (DEFUNCT)
	type-count INTEGER,                              -- number of document types
	type-names SEQUENCE OF VisibleString OPTIONAL,   -- names of document types
	type-bucket-size INTEGER OPTIONAL,               -- size of buckets for uid index
	field-count INTEGER,                             -- number of field types
	field-names SEQUENCE OF VisibleString OPTIONAL,  -- names of field types
	field-bucket-size INTEGER OPTIONAL,              -- size of buckets for term index
	types SEQUENCE OF Typedata OPTIONAL,             -- doc-type information
	-- - - - - - - - new stuff below this line (all optional) - - - - - --
	release-date Cd-date OPTIONAL,                    -- release date
	close-date Cd-date OPTIONAL,                      -- close-of-data date
	type-info SEQUENCE OF Type-info OPTIONAL,        -- more doc-type information
	field-info SEQUENCE OF Field-info OPTIONAL,      -- field information
	div-count INTEGER OPTIONAL,                      -- number of divisions
	div-info SEQUENCE OF Div-info OPTIONAL,           -- division information
	link-count INTEGER OPTIONAL,
	link-info SEQUENCE OF Link-info OPTIONAL        -- link information
}

Typedata ::= SEQUENCE 
{
	num INTEGER,                       -- number of documents
	num-uids INTEGER,                  -- number of uids
	minuid INTEGER,                    -- minimum uid used
	maxuid INTEGER,                    -- maximum uid used
	num-bucket INTEGER,                -- number of index buckets
	fields SEQUENCE OF Fielddata       -- info by field within type
}

Fielddata ::= SEQUENCE
{
	num-terms INTEGER,                 -- number of terms in this field
	num-bucket INTEGER                 -- number of buckets for this field
}

Post-type ::= ENUMERATED    -- NEW TYPE
{
	sort (0),                          -- UIDs are sorted
	unsort (1),                        -- UIDs are not sorted
	hier (2) ,                         -- UIDs in hierarchical structure
	text (3) ,                         -- "postings" file contains ASCII text
	other (255)                        -- none of the above
}

Type-info ::= SEQUENCE   -- NEW TYPE
{
	id INTEGER,                        -- id number to pass to APIs
	tag VisibleString,                 -- 2-letter tag (for CdEntrez internal use)
	name VisibleString,                -- short string to go on menu
	descr VisibleString OPTIONAL,      -- longer, descriptive string
	asntype VisibleString              -- ASN.1 type (e.g. "Medline-entry")
}

Field-info ::= SEQUENCE   -- NEW TYPE
{
	id INTEGER,                        -- id number to pass to APIs
	tag VisibleString,                 -- 4-letter tag (for CdEntrez internal use)
	name VisibleString,                -- short string to go on menu
	descr VisibleString OPTIONAL,      -- longer, descriptive string
	single-token BOOLEAN DEFAULT FALSE, -- TRUE if terms are always a single token
	has-special BOOLEAN DEFAULT FALSE, -- TRUE if terms may have special postings
	hier-avail BOOLEAN DEFAULT FALSE,  -- TRUE if there is a hierarchical counterpart
	hier-id INTEGER OPTIONAL,          -- if hier-avail==TRUE, field id of hierarchy
	post-type Post-type DEFAULT sort   -- postings type
}

Link-info ::= SEQUENCE   -- NEW TYPE
{
	id INTEGER,                        -- id number
	tag VisibleString,                 -- string identifier
	name VisibleString,                -- short string to go on menu
	descr VisibleString OPTIONAL,      -- longer, descriptive string
	dbfrom INTEGER,			   -- database link points from
	dbto INTEGER,			   -- database link points to
	datasize INTEGER,		   -- size of link-associated data
	reciprocal INTEGER		   -- id of reciprocal link
}
                                      
Div-info ::= SEQUENCE   -- NEW TYPE
{
	tag VisibleString,                 -- 3-letter tag (for CdEntrez internal use)
	descr VisibleString,               -- Description
	reldate VisibleString OPTIONAL,    -- Release number and/or date string
	date Cd-date OPTIONAL,             -- Structured release date     
	docs SEQUENCE OF INTEGER OPTIONAL  -- Document counts for each type
}
   
Cd-date ::= SEQUENCE    -- NEW TYPE  (Entrez date)
{
	year INTEGER,                      -- includes century, e.g. 1994
	month INTEGER DEFAULT 0,           -- 1..12, 0 if unknown
	day INTEGER DEFAULT 0              -- 1..31, 0 if unknown
}

Docsum-set ::= SEQUENCE OF Docsum

Docsum ::= SEQUENCE  -- MODIFIED
{
	no-abstract BOOLEAN DEFAULT FALSE,               -- record has no abstract (ml)
	translated-title BOOLEAN DEFAULT FALSE,          -- translated title (ml)
	no-authors BOOLEAN DEFAULT FALSE,                -- no authors (ml)
	caption VisibleString OPTIONAL,                  -- short name
	title VisibleString OPTIONAL,                    -- full title
	-- - - - - - new stuff below this line (all optional) - - - - - --
	extra VisibleString OPTIONAL ,                   -- citation (ml) / seq-id (aa,nt)
	non-document BOOLEAN DEFAULT FALSE,              -- not an Entrez doc (aa,nt: seg part)
	is-segmented BOOLEAN DEFAULT FALSE,              -- seg seq (aa,nt) / multi-chain (st)
	is-partial BOOLEAN DEFAULT FALSE,                -- partial sequence (aa,nt)
	create Cd-date OPTIONAL,                         -- create date
	modify Cd-date OPTIONAL,                         -- modify date
	link-count SEQUENCE OF INTEGER OPTIONAL,         -- link counts to each type
	uid INTEGER OPTIONAL,                            -- UID of this document
	secondaryUid INTEGER OPTIONAL,                    -- Secondary UID of this document
	not-yet-neighbored BOOLEAN DEFAULT FALSE         -- this entry not yet neighbored
}

END