1 | # written by Renzo Kottmann rkottman@mpi-bremen.de 2008-08 |
---|
2 | # modified by Joerg Peplies, Frank Oliver Gloeckner |
---|
3 | # start field is instantly set to 1 |
---|
4 | # Version 1.03 last modified 2008-11-01 |
---|
5 | # work out solution for PCR_primers |
---|
6 | # fasta identifier (">*") goes now to field "fasta_id" (new!) |
---|
7 | # content of contextual data field "organism" goes to ARB field "full_name" |
---|
8 | |
---|
9 | #AUTODETECT "*[*" |
---|
10 | KEYWIDTH 1 |
---|
11 | |
---|
12 | BEGIN ">??*" |
---|
13 | |
---|
14 | MATCH ">*" |
---|
15 | SRT "* *=*1:*\t*=*1" |
---|
16 | WRITE "name" |
---|
17 | SRT "*=1" |
---|
18 | WRITE_INT "start" |
---|
19 | |
---|
20 | MATCH ">*" |
---|
21 | SRT "* *=*1" |
---|
22 | WRITE "fasta_id" |
---|
23 | |
---|
24 | MATCH "*altitude=*" |
---|
25 | SRT "*altitude\=*] *=*2" |
---|
26 | WRITE "altitude_slv" |
---|
27 | |
---|
28 | MATCH "*bio-material=*" |
---|
29 | SRT "*bio-material\=*] *=*2" |
---|
30 | WRITE "bio_material" |
---|
31 | |
---|
32 | MATCH "*clone-lib=*" |
---|
33 | SRT "*clone-lib\=*] *=*2" |
---|
34 | WRITE "clone_lib" |
---|
35 | |
---|
36 | MATCH "*strain=*" |
---|
37 | SRT "*strain\=*] *=*2" |
---|
38 | WRITE "strain" |
---|
39 | |
---|
40 | MATCH "*fingerprint_lib=*" |
---|
41 | SRT "*fingerprint_lib\=*] *=*2" |
---|
42 | WRITE "fingerprint_lib" |
---|
43 | |
---|
44 | MATCH "*chlorophyll=*" |
---|
45 | SRT "*chlorophyll\=*] *=*2" |
---|
46 | WRITE "chlorophyll_slv" |
---|
47 | |
---|
48 | MATCH "*collected-by=*" |
---|
49 | SRT "*collected-by\=*] *=*2" |
---|
50 | WRITE "collected_by" |
---|
51 | |
---|
52 | MATCH "*collection-date=*" |
---|
53 | SRT "*collection-date\=*] *=*2" |
---|
54 | WRITE "collection_date" |
---|
55 | |
---|
56 | MATCH "*collection_time=*" |
---|
57 | SRT "*collection_time\=*] *=*2" |
---|
58 | WRITE "collection_time_slv" |
---|
59 | |
---|
60 | MATCH "*country=*" |
---|
61 | SRT "*country\=*] *=*2" |
---|
62 | WRITE "country" |
---|
63 | |
---|
64 | MATCH "*culture-collection=*" |
---|
65 | SRT "*culture-collection\=*] *=*2" |
---|
66 | WRITE "culture_collection" |
---|
67 | |
---|
68 | MATCH "*depth=*" |
---|
69 | SRT "*depth\=*] *=*2" |
---|
70 | WRITE "depth_slv" |
---|
71 | |
---|
72 | MATCH "*dissolved_oxygen=*" |
---|
73 | SRT "*dissolved_oxygen\=*] *=*2" |
---|
74 | WRITE "dissolved_oxygen_slv" |
---|
75 | |
---|
76 | MATCH "*DOC=*" |
---|
77 | SRT "*DOC\=*] *=*2" |
---|
78 | WRITE "DOC_slv" |
---|
79 | |
---|
80 | MATCH "*environmental-sample=*" |
---|
81 | SRT "*environmental-sample\=*] *=*2" |
---|
82 | WRITE "environmental_sample" |
---|
83 | |
---|
84 | MATCH "*fwd-pcr-primer-seq=*" |
---|
85 | SRT "*fwd-pcr-primer-seq\=*] *=*2" |
---|
86 | WRITE "fwd_pcr_primer_seq" |
---|
87 | |
---|
88 | MATCH "*geodetic_datum=*" |
---|
89 | SRT "*geodetic_datum\=*] *=*2" |
---|
90 | WRITE "geodetic_datum_slv" |
---|
91 | |
---|
92 | MATCH "*habitat=*" |
---|
93 | SRT "*habitat\=*] *=*2" |
---|
94 | WRITE "habitat_slv" |
---|
95 | |
---|
96 | MATCH "*haplotype=*" |
---|
97 | SRT "*haplotype\=*] *=*2" |
---|
98 | WRITE "haplotype" |
---|
99 | |
---|
100 | MATCH "*identified-by=*" |
---|
101 | SRT "*identified-by\=*] *=*2" |
---|
102 | WRITE "identified_by" |
---|
103 | |
---|
104 | MATCH "*isolation-source=*" |
---|
105 | SRT "*isolation-source\=*] *=*2" |
---|
106 | WRITE "isolation_source" |
---|
107 | |
---|
108 | MATCH "*lab-host=*" |
---|
109 | SRT "*lab-host\=*] *=*2" |
---|
110 | WRITE "lab_host" |
---|
111 | |
---|
112 | MATCH "*lat_lon_details=*" |
---|
113 | SRT "*lat_lon_details\=*] *=*2" |
---|
114 | WRITE "lat_lon_details_slv" |
---|
115 | |
---|
116 | MATCH "*lat-lon=*" |
---|
117 | SRT "*lat-lon\=*] *=*2" |
---|
118 | WRITE "lat_lon" |
---|
119 | |
---|
120 | MATCH "*metagenomic=*" |
---|
121 | SRT "*metagenomic\=*] *=*2" |
---|
122 | WRITE "metagenomic" |
---|
123 | |
---|
124 | MATCH "*nitrate=*" |
---|
125 | SRT "*nitrate\=*] *=*2" |
---|
126 | WRITE "nitrate_slv" |
---|
127 | |
---|
128 | MATCH "*pH=*" |
---|
129 | SRT "*pH\=*] *=*2" |
---|
130 | WRITE "pH_slv" |
---|
131 | |
---|
132 | MATCH "*phosphate=*" |
---|
133 | SRT "*phosphate\=*] *=*2" |
---|
134 | WRITE "phosphate_slv" |
---|
135 | |
---|
136 | MATCH "*plasmid-name=*" |
---|
137 | SRT "*plasmid-name\=*] *=*2" |
---|
138 | WRITE "plasmid_name" |
---|
139 | |
---|
140 | MATCH "*project_name=*" |
---|
141 | SRT "*project_name\=*] *=*2" |
---|
142 | WRITE "project_name_slv" |
---|
143 | |
---|
144 | MATCH "*POC=*" |
---|
145 | SRT "*POC\=*] *=*2" |
---|
146 | WRITE "POC_slv" |
---|
147 | |
---|
148 | MATCH "*rev-pcr-primer-seq=*" |
---|
149 | SRT "*rev-pcr-primer-seq\=*] *=*2" |
---|
150 | WRITE "rev_pcr_primer_seq" |
---|
151 | |
---|
152 | MATCH "*salinity=*" |
---|
153 | SRT "*salinity\=*] *=*2" |
---|
154 | WRITE "salinity_slv" |
---|
155 | |
---|
156 | MATCH "*sample_identifier=*" |
---|
157 | SRT "*sample_identifier\=*] *=*2" |
---|
158 | WRITE "sample_identifier_slv" |
---|
159 | |
---|
160 | MATCH "*sample_material=*" |
---|
161 | SRT "*sample_material\=*] *=*2" |
---|
162 | WRITE "sample_material_slv" |
---|
163 | |
---|
164 | MATCH "*sample_volume=*" |
---|
165 | SRT "*sample_volume\=*] *=*2" |
---|
166 | WRITE "sample_volume_slv" |
---|
167 | |
---|
168 | MATCH "*silicate=*" |
---|
169 | SRT "*silicate\=*] *=*2" |
---|
170 | WRITE "silicate_slv" |
---|
171 | |
---|
172 | MATCH "*specific-host=*" |
---|
173 | SRT "*specific-host\=*] *=*2" |
---|
174 | WRITE "specific_host" |
---|
175 | |
---|
176 | MATCH "*specimen-voucher=*" |
---|
177 | SRT "*specimen-voucher\=*] *=*2" |
---|
178 | WRITE "specimen_voucher" |
---|
179 | |
---|
180 | MATCH "*sub-species=*" |
---|
181 | SRT "*sub-species\=*] *=*2" |
---|
182 | WRITE "sub_species" |
---|
183 | |
---|
184 | MATCH "*temperature=*" |
---|
185 | SRT "*temperature\=*] *=*2" |
---|
186 | WRITE "temperature_slv" |
---|
187 | |
---|
188 | MATCH "*organism=*" |
---|
189 | SRT "*organism\=*] *=*2" |
---|
190 | WRITE "full_name" |
---|
191 | |
---|
192 | SEQUENCEAFTER "*" |
---|
193 | SEQUENCESRT "" |
---|
194 | SEQUENCEACI "remove(".-0123456789 /")" |
---|
195 | SEQUENCECOLUMN 0 |
---|
196 | SEQUENCEEND ">*" |
---|
197 | |
---|
198 | # DONT_GEN_NAMES |
---|
199 | CREATE_ACC_FROM_SEQUENCE |
---|
200 | |
---|
201 | END "//" |
---|