63 "uncultured bacterium",
64 "Uncultured Actinobacteria",
65 "Uncultured Actinobacteridae",
66 "Uncultured Actinobacteridae bacterium",
67 "Uncultured Actinomycetales",
68 "Uncultured Anaerolineaceae",
69 "Uncultured Chloroflexi",
70 "Uncultured Clostridium",
71 "Uncultured Deltaproteobacteria",
72 "Uncultured Desulfomonile",
73 "Uncultured Firmicutes",
74 "Uncultured Gemmatimonadetes",
75 "Uncultured Hyphomicrobiaceae",
76 "Uncultured Hyphomicrobium",
77 "Uncultured Legionella",
78 "Uncultured Marinobacterium",
79 "Uncultured Methylocystaceae",
80 "Uncultured Methylophilaceae",
81 "Uncultured Nitrospiraceae",
82 "Uncultured Nitrospirae",
83 "Uncultured Piscirickettsiaceae",
84 "Uncultured Porphyrobacter",
85 "Uncultured Rhizobiaceae",
86 "Uncultured Rhodobacter",
87 "Uncultured Rhodobacteraceae",
88 "Uncultured Rhodobiaceae",
89 "Uncultured Rhodocyclaceae",
90 "Uncultured Rubrobacteraceae",
91 "Uncultured Sphingobacteriia",
92 "Uncultured Thiohalophilus",
93 "uncultured Acidobacteria bacterium",
94 "uncultured Mycobacterium sp.",
95 "uncultured Pseudomonas sp.",
96 "uncultured Roseobacter sp.",
97 "uncultured alpha proteobacterium",
98 "uncultured beta proteobacterium",
99 "uncultured gamma proteobacterium",
100 "Uncultured Parachlamydia acanthamoebae",
101 "Uncultured Uncultured Trichococcus sp.",
102 "Uncultured Zymophilus paucivorans",
103 "uncultured Anaerovorax sp.",
104 "uncultured Clostridium sp.",
105 "uncultured Microbacterium sp.",
106 "uncultured Peptostreptococcaceae bacterium",
107 "uncultured Prosthecobacter sp.",
108 "uncultured Verrucomicrobia bacterium",
109 "Methanobacterium formicicum phage",
110 "Myrtapenidiella tenuiramis",
111 "Parateratosphaeria bellula"
115 "uncultured bacterium",
116 "uncultured bacterium",
117 "uncultured bacterium",
118 "uncultured Actinomycetota bacterium",
119 "uncultured Actinomycetes bacterium",
120 "uncultured Actinobacteridae bacterium",
121 "uncultured Actinomycetales bacterium",
122 "uncultured Anaerolineaceae bacterium",
123 "uncultured Chloroflexi",
124 "uncultured Clostridium sp.",
125 "uncultured delta proteobacterium",
126 "uncultured Desulfomonile sp.",
127 "uncultured Firmicutes bacterium",
128 "uncultured Gemmatimonadetes",
129 "uncultured Hyphomicrobiaceae bacterium",
130 "uncultured Hyphomicrobium sp.",
131 "uncultured Legionella sp.",
132 "uncultured Marinobacterium sp.",
133 "uncultured Methylocystaceae bacterium",
134 "uncultured Methylophilaceae bacterium",
135 "uncultured Nitrospiraceae bacterium",
136 "uncultured Nitrospirota bacterium",
137 "Uncultured Piscirickettsiaceae",
138 "uncultured Porphyrobacter sp.",
139 "uncultured Rhizobiaceae bacterium",
140 "uncultured Rhodobacter sp.",
141 "uncultured Rhodobacteraceae",
142 "uncultured Rhodobiaceae bacterium",
143 "uncultured Rhodocyclaceae bacterium",
144 "uncultured Rubrobacteraceae bacterium",
145 "uncultured Sphingobacteriia bacterium",
146 "uncultured Thiohalophilus sp.",
147 "uncultured Acidobacteriota bacterium",
148 "uncultured Mycobacterium sp.",
149 "uncultured Pseudomonas sp.",
150 "uncultured Roseobacter sp.",
151 "uncultured Alphaproteobacteria bacterium",
152 "uncultured beta proteobacterium",
153 "uncultured Gammaproteobacteria bacterium",
154 "uncultured Parachlamydia sp.",
155 "uncultured Trichococcus sp.",
156 "uncultured Propionispira sp.",
157 "uncultured Anaerovorax sp.",
158 "uncultured Clostridium sp.",
159 "uncultured Microbacterium sp.",
160 "uncultured Peptostreptococcaceae bacterium",
161 "uncultured Prosthecobacter sp.",
162 "uncultured Verrucomicrobiota bacterium",
163 "uncultured Methanobacterium formicicum phage",
164 "uncultured Myrtapenidiella",
165 "uncultured Parateratosphaeria"
189 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
193 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
201 bsrc->
SetOrg().SetTaxname(
"uncultured type I methanotroph");
204 "[uncultured (using universal primers)]")));
207 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
208 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
211 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
"uncultured type I methanotroph");
212 BOOST_CHECK(!converted_note);
213 BOOST_CHECK(!removed_note_sp);
214 BOOST_CHECK(removed_note_univ);
220 bsrc->
SetOrg().SetTaxname(
"uncultured bacterium");
223 "[BankIt_uncultured16S_wizard]; [universal primers]")));
226 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
227 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
230 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
"uncultured bacterium");
231 BOOST_CHECK(!converted_note);
232 BOOST_CHECK(!removed_note_sp);
233 BOOST_CHECK(removed_note_univ);
239 bsrc->
SetOrg().SetTaxname(
"Clonothrix fusca");
242 "[BankIt_uncultured16S_wizard]; [universal primers]")));
245 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
246 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
249 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
"uncultured Clonothrix");
250 BOOST_CHECK(!converted_note);
251 BOOST_CHECK(!removed_note_sp);
252 BOOST_CHECK(removed_note_univ);
258 bsrc->
SetOrg().SetTaxname(
"Clonothrix fusca");
261 "[uncultured (with species-specific primers)]")));
264 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
265 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
268 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
"Clonothrix fusca");
269 BOOST_CHECK(converted_note);
270 BOOST_CHECK(!removed_note_sp);
271 BOOST_CHECK(!removed_note_univ);
277 bsrc->
SetOrg().SetTaxname(
"Pandoraea pnomenusa");
279 "[uncultured (with species-specific primers)]")));
282 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
283 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
285 BOOST_CHECK(converted_note);
286 BOOST_CHECK(!removed_note_sp);
287 BOOST_CHECK(!removed_note_univ);
288 BOOST_CHECK_EQUAL(
MakeAsn(*bsrc),
291 " taxname \"Pandoraea pnomenusa\"\n"
296 " name \"amplified with species-specific primers\"\n"
299 " subtype environmental-sample,\n"
310 bsrc->
SetOrg().SetTaxname(
"Pandoraea pnomenusa sp.");
312 "[uncultured (with species-specific primers)]")));
315 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
316 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
318 BOOST_CHECK(converted_note);
319 BOOST_CHECK(!removed_note_sp);
320 BOOST_CHECK(!removed_note_univ);
321 BOOST_CHECK_EQUAL(
MakeAsn(*bsrc),
324 " taxname \"Pandoraea pnomenusa\"\n"
329 " name \"amplified with species-specific primers\"\n"
332 " subtype environmental-sample,\n"
343 bsrc->
SetOrg().SetTaxname(
"Anaplasma phagocytophilum");
346 "amplified with species-specific primers")));
349 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
350 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
353 BOOST_CHECK(converted_note);
354 BOOST_CHECK(!removed_note_sp);
355 BOOST_CHECK(!removed_note_univ);
356 BOOST_CHECK_EQUAL(
MakeAsn(*bsrc),
359 " taxname \"Anaplasma phagocytophilum\"\n"
363 " subtype environmental-sample,\n"
368 " name \"amplified with species-specific primers\"\n"
377 bsrc->
SetOrg().SetTaxname(
"Bacillus sp.");
379 "amplified with species-specific primers")));
383 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
384 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
386 BOOST_CHECK(!converted_note);
387 BOOST_CHECK(removed_note_sp);
388 BOOST_CHECK(!removed_note_univ);
389 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"uncultured Bacillus sp."));
396 bsrc->
SetOrg().SetTaxname(
"Eschericia coli");
398 "[uncultured (using species-specific primers) bacterial source]")));
401 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
402 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
405 BOOST_CHECK(converted_note);
406 BOOST_CHECK(!removed_note_sp);
407 BOOST_CHECK(!removed_note_univ);
408 BOOST_CHECK_EQUAL(
MakeAsn(*bsrc),
411 " taxname \"Escherichia coli\"\n"
416 " name \"amplified with species-specific primers\"\n"
419 " subtype environmental-sample,\n"
429 bsrc->
SetOrg().SetTaxname(
"Anaplasma phagocytophilum");
434 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
435 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
438 BOOST_CHECK(!converted_note);
439 BOOST_CHECK(!removed_note_sp);
440 BOOST_CHECK(!removed_note_univ);
441 BOOST_CHECK_EQUAL(
MakeAsn(*bsrc),
444 " taxname \"uncultured Anaplasma sp.\"\n"
449 " name \"some note\"\n"
458 bsrc->
SetOrg().SetTaxname(
"Anaplasma sp.");
460 "[uncultured (using species-specific primers) bacterial source]")));
463 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
464 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
467 BOOST_CHECK(!converted_note);
468 BOOST_CHECK(removed_note_sp);
469 BOOST_CHECK(!removed_note_univ);
470 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"uncultured Anaplasma sp."));
478 bsrc->
SetOrg().SetTaxname(
"uncultured Chlamydiales");
480 "[BankIt_uncultured16S_wizard]; [species_specific primers]")));
483 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
484 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
487 BOOST_CHECK(!converted_note);
488 BOOST_CHECK(removed_note_sp);
489 BOOST_CHECK(!removed_note_univ);
490 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"uncultured Chlamydiales bacterium"));
498 bsrc->
SetOrg().SetTaxname(
"uncultured Enterococcus sp.");
501 "[BankIt_uncultured16S_wizard]; [species_specific primers]; [dgge]")));
504 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
505 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
508 BOOST_CHECK(!converted_note);
509 BOOST_CHECK(removed_note_sp);
510 BOOST_CHECK(!removed_note_univ);
511 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"uncultured Enterococcus sp."));
519 bsrc->
SetOrg().SetTaxname(
"Campylobacter jejuni");
524 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
525 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
528 BOOST_CHECK(!converted_note);
529 BOOST_CHECK(!removed_note_sp);
530 BOOST_CHECK(!removed_note_univ);
531 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"uncultured Campylobacter sp."));
539 bsrc->
SetOrg().SetTaxname(
"Actinomadura madurae");
541 "[uncultured (using universal primers)]")));
545 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
546 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
548 BOOST_CHECK(!converted_note);
549 BOOST_CHECK(!removed_note_sp);
550 BOOST_CHECK(removed_note_univ);
551 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"uncultured Actinomadura sp."));
557 bsrc->
SetOrg().SetTaxname(
"Bacillus sp.");
559 "[uncultured (using universal primers)]")));
563 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
564 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
566 BOOST_CHECK(!converted_note);
567 BOOST_CHECK(!removed_note_sp);
568 BOOST_CHECK(removed_note_univ);
569 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"uncultured Bacillus sp."));
575 bsrc->
SetOrg().SetTaxname(
"uncultured somename");
577 "[amplified with species-specific primers]; [uncultured; wizard]")));
581 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
582 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
584 BOOST_CHECK(!converted_note);
585 BOOST_CHECK(!removed_note_sp);
586 BOOST_CHECK(!removed_note_univ);
587 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"uncultured somename"));
596 bsrc->
SetOrg().SetTaxname(
"uncultured Somename");
598 "[uncultured (using universal primers)]")));
602 bool converted_note(
false), removed_note_sp(
false), removed_note_univ(
false);
603 uncultured_tool.
CorrectBioSource(*bsrc, converted_note, removed_note_sp, removed_note_univ);
605 BOOST_CHECK(!converted_note);
606 BOOST_CHECK(!removed_note_sp);
607 BOOST_CHECK(!removed_note_univ);
608 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"uncultured Somename"));
617 bsrc->
SetOrg().SetTaxname(
"novel Bacillus");
619 "[cultured bacterial source]")));
622 bool removed_note(
false);
625 BOOST_CHECK(removed_note);
626 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"Bacillus"));
630 bsrc->
SetOrg().SetTaxname(
"Legionella_species");
632 "[cultured bacterial source]")));
634 removed_note =
false;
637 BOOST_CHECK(removed_note);
638 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"Legionella sp."));
642 bsrc->
SetOrg().SetTaxname(
"unclassified Piscirickettsiaceae");
644 "[BankIt_cultured16S_wizard]; [species_specific primers]; [tgge]")));
646 removed_note =
false;
649 BOOST_CHECK(removed_note);
650 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"Piscirickettsiaceae"));
654 bsrc->
SetOrg().SetTaxname(
"Azotobactor Sp.");
656 removed_note =
false;
659 BOOST_CHECK(!removed_note);
660 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"Azotobactor sp."));
664 bsrc->
SetOrg().SetTaxname(
"Deltaproteobacteria spp");
666 removed_note =
false;
669 BOOST_CHECK(!removed_note);
670 BOOST_CHECK_EQUAL(bsrc->
GetTaxname(),
string(
"Deltaproteobacteria sp."));
const string & GetTaxname(void) const
bool IsSetOrgMod(void) const
const COrgName & GetOrgname(void) const
CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:
@OrgMod.hpp User-defined methods of the data storage class.
static const char * str(char *buf, int n)
string GetSuggestedCorrection(void)
void CorrectBioSource(objects::CBioSource &bsrc, bool &converted_note, bool &removed_note_sp, bool &removed_note_univ)
void CorrectBioSource(objects::CBioSource &bsrc, bool &remove_note)
void SetBioSource(const objects::CBioSource &bsrc)
#define MSerial_AsnText
I/O stream manipulators –.
CRef< C > Ref(C *object)
Helper functions to get CRef<> and CConstRef<> objects.
const TSubtype & GetSubtype(void) const
Get the Subtype member data.
bool IsSetSubtype(void) const
Check if a value has been assigned to Subtype data member.
void SetOrg(TOrg &value)
Assign a value to Org data member.
TSubtype & SetSubtype(void)
Assign a value to Subtype data member.
@ eSubtype_environmental_sample
const TMod & GetMod(void) const
Get the Mod member data.
@ eSubtype_other
ASN5: old-name (254) will be added to next spec.
@ eSubtype_nat_host
natural host of this specimen
Utility stuff for more convenient using of Boost.Test library.
string MakeAsn(const T &object)
BOOST_AUTO_TEST_CASE(Test_UncultTaxTool_TaxnameCorrections)
static const string uncultured_suggestions[]
static const string uncultured_taxnames[]