1 | #Modified by FOG, 17.05.2009# |
---|
2 | #field type INT added for start, stop, insdc, version# |
---|
3 | |
---|
4 | AUTODETECT "ID *\nFT rRNA *\nSQ*" |
---|
5 | # Global settings: |
---|
6 | KEYWIDTH 5 |
---|
7 | FILETAG "EBI" |
---|
8 | |
---|
9 | BEGIN "ID*" |
---|
10 | |
---|
11 | MATCH "ID *" |
---|
12 | SRT "* *=*1" |
---|
13 | WRITE "name" |
---|
14 | |
---|
15 | MATCH "ID *" |
---|
16 | SRT "*; SV *;*=*2" |
---|
17 | WRITE_INT "version" |
---|
18 | |
---|
19 | MATCH "AC *" |
---|
20 | ACI "extract_words("0123456789",4.0)" |
---|
21 | WRITE "acc" |
---|
22 | |
---|
23 | MATCH "PR *" |
---|
24 | SRT "PR *=*:*\:*=*2:;=" |
---|
25 | WRITE_INT "insdc" |
---|
26 | |
---|
27 | MATCH "DT *Created*" |
---|
28 | SRT "DT *=*:* \(*=*1;" |
---|
29 | APPEND "date" |
---|
30 | |
---|
31 | MATCH "DT *updated*" |
---|
32 | SRT "DT *=*:* \(*=*1:" |
---|
33 | APPEND "date" |
---|
34 | |
---|
35 | MATCH "DE *" |
---|
36 | SRT "DE *=*:;=" |
---|
37 | APPEND "description" |
---|
38 | |
---|
39 | MATCH "OS *" |
---|
40 | SRT "OS *=*" |
---|
41 | WRITE "full_name" |
---|
42 | |
---|
43 | MATCH "OC *" |
---|
44 | SRT "OC *=*" |
---|
45 | APPEND "tax_embl" |
---|
46 | |
---|
47 | MATCH "OS *" |
---|
48 | SRT "OS *=*" |
---|
49 | WRITE "tax_embl_name" |
---|
50 | |
---|
51 | MATCH "RP *" |
---|
52 | SRT "RP *=*" |
---|
53 | APPEND "nuc_rp" |
---|
54 | |
---|
55 | MATCH "RX DOI*" |
---|
56 | SRT "*DOI*=*2:;=: =" |
---|
57 | WRITE "publication_doi" |
---|
58 | |
---|
59 | MATCH "RX PUBMED*" |
---|
60 | SRT "*PUBMED*=*2:;=: =:.=" |
---|
61 | WRITE "pubmed_id" |
---|
62 | |
---|
63 | MATCH "RA *" |
---|
64 | SRT "RA *=*:;=" |
---|
65 | APPEND "author" |
---|
66 | |
---|
67 | MATCH "RT *" |
---|
68 | SRT "RT *=*:;=:"=" |
---|
69 | APPEND "title" |
---|
70 | |
---|
71 | MATCH "RL *)." |
---|
72 | SRT "RL *=*:\).=)" |
---|
73 | APPEND "journal" |
---|
74 | |
---|
75 | MATCH "RL *Submitted*" |
---|
76 | SRT "RL *=*:Submitted=:\(*\)*=*1" |
---|
77 | WRITE "submit_date" |
---|
78 | |
---|
79 | MATCH "RL *" |
---|
80 | SRT "*Submitted*bases.=:*.\n*=*2" |
---|
81 | APPEND "submit_author" |
---|
82 | |
---|
83 | MATCH "FT source*" |
---|
84 | SRT "*source*=*2: =" |
---|
85 | WRITE "nuc_region" |
---|
86 | |
---|
87 | MATCH "FT *clone*" |
---|
88 | SRT "*clone*=*2:\"=:\==" |
---|
89 | APPEND "clone" |
---|
90 | |
---|
91 | MATCH "FT *db_xref=*taxon*" |
---|
92 | SRT "*db_xref*=*2:*\:*=*2:\"=:\==" |
---|
93 | APPEND "tax_xref_embl" |
---|
94 | |
---|
95 | MATCH "FT *isolate=*" |
---|
96 | SRT "*isolate*=*2:\"=:\==" |
---|
97 | APPEND "isolate" |
---|
98 | |
---|
99 | MATCH "FT *strain*" |
---|
100 | SRT "*/strain*=*2:\"=:\==" |
---|
101 | APPEND "strain" |
---|
102 | |
---|
103 | MATCH "FT *isolation_source*" |
---|
104 | SRT "*/isolation_source*=*2:\"=:\==" |
---|
105 | APPEND "isolation_source" |
---|
106 | |
---|
107 | MATCH "FT *country*" |
---|
108 | SRT "*/country*=*2:\"=:\==" |
---|
109 | APPEND "country" |
---|
110 | |
---|
111 | MATCH "FT *lat_lon*" |
---|
112 | SRT "*/lat_lon*=*2:\"=:\==" |
---|
113 | APPEND "lat_lon" |
---|
114 | |
---|
115 | MATCH "FT *specimen_voucher*" |
---|
116 | SRT "*/specimen_voucher*=*2:\"=:\==" |
---|
117 | APPEND "specimen_voucher" |
---|
118 | |
---|
119 | MATCH "FT *specific_host*" |
---|
120 | SRT "*/specific_host*=*2:\"=:\==" |
---|
121 | APPEND "specific_host" |
---|
122 | |
---|
123 | MATCH "FT *collected_by*" |
---|
124 | SRT "*/collected_by*=*2:\"=:\==" |
---|
125 | APPEND "collected_by" |
---|
126 | |
---|
127 | MATCH "FT *collection_date*" |
---|
128 | SRT "*/collection_date*=*2:\"=:\==" |
---|
129 | APPEND "collection_date" |
---|
130 | |
---|
131 | MATCH "FT rRNA*" |
---|
132 | SRT "*rRNA*=*2: =:*..*=*1:<=:>=" |
---|
133 | |
---|
134 | WRITE_INT "start" |
---|
135 | |
---|
136 | MATCH "FT rRNA *" |
---|
137 | SRT "*rRNA*=*2: =:*..*=*2:<=:>=" |
---|
138 | WRITE_INT "stop" |
---|
139 | |
---|
140 | MATCH "FT *gene*" |
---|
141 | SRT "*gene*=*2:\==:"=" |
---|
142 | APPEND "gene" |
---|
143 | |
---|
144 | MATCH "FT *product*" |
---|
145 | SRT "*product*=*2:\==:"=" |
---|
146 | APPEND "product" |
---|
147 | |
---|
148 | SEQUENCEAFTER "SQ*" |
---|
149 | SEQUENCESRT "*Check*..*=*3" |
---|
150 | SEQUENCEACI "remove("0123456789 /")" |
---|
151 | SEQUENCEEND "//" |
---|
152 | CREATE_ACC_FROM_SEQUENCE |
---|
153 | # DONT_GEN_NAMES |
---|
154 | |
---|
155 | END "//" |
---|