File: NCBI_SeqCode.mod.dtd

package info (click to toggle)
python-biopython 1.68%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 46,860 kB
  • ctags: 13,237
  • sloc: python: 160,306; xml: 93,216; ansic: 9,118; sql: 1,208; makefile: 155; sh: 63
file content (150 lines) | stat: -rw-r--r-- 4,231 bytes parent folder | download | duplicates (7)
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
145
146
147
148
149
150
<!-- ============================================
     ::DATATOOL:: Generated from "seqcode.asn"
     ::DATATOOL:: by application DATATOOL version 1.9.0
     ::DATATOOL:: on 04/10/2008 16:04:22
     ============================================ -->

<!-- ============================================ -->
<!-- This section is mapped from module "NCBI-SeqCode"
================================================= -->

<!--
$Revision: 6.0 $
  *********************************************************************

  These are code and conversion tables for NCBI sequence codes
  ASN.1 for the sequences themselves are define in seq.asn

  Seq-map-table and Seq-code-table REQUIRE that codes start with 0
    and increase continuously.  So IUPAC codes, which are upper case
    letters will always have 65 0 cells before the codes begin.  This
    allows all codes to do indexed lookups for things

  Valid names for code tables are:
    IUPACna
    IUPACaa
    IUPACeaa
    IUPACaa3     3 letter amino acid codes : parallels IUPACeaa
                   display only, not a data exchange type
    NCBI2na
    NCBI4na
    NCBI8na
    NCBI8aa
    NCBIstdaa
     probability types map to IUPAC types for display as characters
-->

<!-- Elements used by other modules:
          Seq-code-table,
          Seq-map-table,
          Seq-code-set -->
<!-- ============================================ -->

<!-- sequence representations -->
<!ELEMENT Seq-code-type %ENUM;>

<!--
    iupacna	-  IUPAC 1 letter nuc acid code
    iupacaa	-  IUPAC 1 letter amino acid code
    ncbi2na	-  2 bit nucleic acid code
    ncbi4na	-  4 bit nucleic acid code
    ncbi8na	-  8 bit extended nucleic acid code
    ncbipna	-  nucleic acid probabilities
    ncbi8aa	-  8 bit extended amino acid codes
    ncbieaa	-  extended ASCII 1 letter aa codes
    ncbipaa	-  amino acid probabilities
    iupacaa3	-  3 letter code only for display
    ncbistdaa	-  consecutive codes for std aas, 0-25
-->
<!ATTLIST Seq-code-type value (
        iupacna |
        iupacaa |
        ncbi2na |
        ncbi4na |
        ncbi8na |
        ncbipna |
        ncbi8aa |
        ncbieaa |
        ncbipaa |
        iupacaa3 |
        ncbistdaa
        ) #REQUIRED >


<!-- for tables of sequence mappings  -->
<!ELEMENT Seq-map-table (
        Seq-map-table_from, 
        Seq-map-table_to, 
        Seq-map-table_num, 
        Seq-map-table_start-at?, 
        Seq-map-table_table)>

<!-- code to map from -->
<!ELEMENT Seq-map-table_from (Seq-code-type)>

<!-- code to map to -->
<!ELEMENT Seq-map-table_to (Seq-code-type)>

<!-- number of rows in table -->
<!ELEMENT Seq-map-table_num (%INTEGER;)>

<!-- index offset of first element -->
<!ELEMENT Seq-map-table_start-at (%INTEGER;)>

<!-- table of values, in from-to order -->
<!ELEMENT Seq-map-table_table (Seq-map-table_table_E*)>


<!ELEMENT Seq-map-table_table_E (%INTEGER;)>

<!-- for names of coded values -->
<!ELEMENT Seq-code-table (
        Seq-code-table_code, 
        Seq-code-table_num, 
        Seq-code-table_one-letter, 
        Seq-code-table_start-at?, 
        Seq-code-table_table, 
        Seq-code-table_comps?)>

<!-- name of code -->
<!ELEMENT Seq-code-table_code (Seq-code-type)>

<!-- number of rows in table -->
<!ELEMENT Seq-code-table_num (%INTEGER;)>

<!-- symbol is ALWAYS 1 letter? -->
<!ELEMENT Seq-code-table_one-letter EMPTY>
<!ATTLIST Seq-code-table_one-letter value ( true | false ) #REQUIRED >


<!-- index offset of first element -->
<!ELEMENT Seq-code-table_start-at (%INTEGER;)>

<!-- an explanatory name or string -->
<!ELEMENT Seq-code-table_table (Seq-code-table_table_E*)>


<!ELEMENT Seq-code-table_table_E (
        Seq-code-table_table_E_symbol, 
        Seq-code-table_table_E_name)>

<!-- the printed symbol or letter -->
<!ELEMENT Seq-code-table_table_E_symbol (#PCDATA)>

<!ELEMENT Seq-code-table_table_E_name (#PCDATA)>

<!-- pointers to complement nuc acid -->
<!ELEMENT Seq-code-table_comps (Seq-code-table_comps_E*)>


<!ELEMENT Seq-code-table_comps_E (%INTEGER;)>

<!-- for distribution -->
<!ELEMENT Seq-code-set (
        Seq-code-set_codes?, 
        Seq-code-set_maps?)>

<!ELEMENT Seq-code-set_codes (Seq-code-table*)>

<!ELEMENT Seq-code-set_maps (Seq-map-table*)>