98 Commits
Author SHA1 Message Date
Matthijs BerendsandClaude Opus 5.5 0ca43df459 Update taxonomy of microorganisms (2026-10) (#312)
* Update taxonomy of microorganisms (2026-10)

Rebuild of the microorganisms data set from COL 2026-04-18 XR, LPSN and BacDive of October 2026
and MycoBank of January 2026, with v3.0.1 as the previous data set: 111,103 records (v3.0.1:
78,679), 0 changed MO codes of existing names, 522 released codes retired (275 to be reviewed).

Script fixes (data-raw/_reproduction_scripts/reproduction_of_microorganisms.R):
- previous data set from the last release; COL read as COL Data Package (NameUsage.tsv)
- keep COL records without authors (a filter on NA dropped them, e.g. Balamuthia mandrillaris)
- genus homonyms: unclassified MycoBank entries are not authoritative; the released domain of a
  genus wins if a source supports it (e.g. Moorella, Serpula, Pirella stay Bacteria)
- protect current names of relevant species instead of whole current genera (data set tripled)
- current names and synonyms only within the same domain and for known names (Brugia -> Lycoperdon)
- MycoBank names in Latin script only; old records outside their source's scope become manually added
- Graphium butterflies of v3.0.1 are not carried over, re-added or restored
- restore released taxa by name and rank; retire older cross-domain homonyms for review
- fill empty families from COL and a commented override list (Ascaris, Balamuthia)
- add Brugia malayi and B. timori; remove Salmonella species synonyms that are serovars
- BacDive: a minority of facultative strain records no longer decides (C. difficile)
- translate codes of other data sets with the development version; review unmatched codes
- scope decisions: COL XR names only if relevant or released; Protozoa follow the Fungi rules

Also: all checkpoints (data-raw/taxonomy*.rds), updated data sets, Bartlett et al. list, accessed
dates in TAXONOMY_VERSION, NEWS, two staphylococci added to CoNS, tests updated for real taxonomic
changes, known defects file removed (all solved), and the findings report with all review files in
data-raw/taxonomy_review/2026-10/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Taxonomy review report: note on the .dta export and the single commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fix as.mo() for Salmonella serovars written with the species; add S. xeri to CoNS

- "Salmonella enterica (subsp. enterica) serovar Typhi" returned S. bongori, and
  "S. enterica Typhimurium" S. enterica diarizonae; "Paratyphi A/B/C" became serogroups
- Staphylococcus xeri and S. parequorum confirmed as coagulase-negative

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Taxonomy build: remove lichens (decision of 5 October 2026)

Fungi in the lichen-forming classes and the order Verrucariales are removed unless their genus is
clinically relevant, with the synonyms that point to them (4,155 records); released lichens are
restored. microorganisms now has 107,126 records (Fungi 45,739); all tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Taxonomy review decisions: microsporidia in Fungi, accepted names, missing protozoa

- all microsporidia in the Fungi (1,394 names of v3.0.1 from P_ to F_, old codes translated by name)
- Enterocytozoon bieneusi and Encephalitozoon cuniculi as accepted names (accepted_name_override)
- Balantidium and Isospora added to MO_RELEVANT_GENERA; Cystoisospora belli as synonym of Isospora belli
- synonym cycles decided: Capillidium and Scolecobasidium are the current genera
- removed the stale data-raw/taxonomy_lpsn0.rds
- microorganisms now has 107,253 records; all tests pass

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Taxonomy review report: all items reviewed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Rule matching by accepted taxon; Erysipelatoclostridium as synonym of Thomasclavelia

- interpretive_rules(): species named in a rule (literal names, genus_species/fullname) now also match all other
  names of the same accepted taxon, e.g. 'Clostridium ramosum' for Thomasclavelia ramosa; not for genera or regex rules
- Erysipelatoclostridium and its species are synonyms of Thomasclavelia (accepted_name_override); E. merdavium is
  retired by decision of 6 October 2026, and the build removes taxa retired by a human decision
- microorganisms patched with the same logic as the build script (no full rebuild): 107,252 records
- intrinsic_resistant regenerated with the new taxonomy and rule matching: 308,646 rows
- clinical_breakpoints: EUCAST workbook rows merged again, 24 EUCAST 2026 rows moved from C. ramosum to T. ramosa

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Taxonomy: correct records for names listed twice, no synonyms without a current name, strict data tests

- one record per name keeps the accepted record (e.g. Eggerthella lenta, Gordonia amarae, Anisakis simplex and
  Enterobius vermicularis were synonyms without a current name), links to dropped records are moved
- LPSN lookup reads the taxonomic status and correct name; validly published synonyms are no longer 'accepted'
- synonyms without a current name: linked via LPSN or removed, released codes retired (3,668); records with kept
  children become 'unknown'; the M. tuberculosis complex is protected (decisions of 7 October 2026)
- subspecies codes reserved, current names of synonyms kept when pruning, missing parent records added or moved,
  higher taxonomy harmonised, shared identifiers resolved per domain and rank, pointers and parent links cleaned
- data sets refer only to current names (except intrinsic_resistant); group members only from current names;
  internal CoNS/CoPS/streptococcal lists keep a synonym only with its current name
- intrinsic_resistant, clinical_breakpoints (EUCAST workbooks) and microorganisms.groups regenerated
- 28 new tests in test-data.R; devtools::test(): 1,581 expectations, 0 failures
- open decisions listed in data-raw/taxonomy_review/2026-10/REPORT.md, section 6

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Taxonomy: protect WHO priority genera, follow LPSN for the M. tuberculosis complex, place protist groups in one domain

- all taxa of the genera in MO_WHO_PRIORITY_GENERA are protected, also names that are not validly published
  (replaces the hard-coded M. tuberculosis complex; keeps e.g. Klebsiella quasivariicola, M. canettii, M. orygis)
- LPSN is followed for the M. tuberculosis complex: M. bovis, M. africanum, M. caprae, M. microti and M. pinnipedii
  are heterotypic synonyms of M. tuberculosis (Riojas et al. 2018); a test enforces this
- labyrinthulids in the Chromista (Aplanochytrium), Dictydiaethalium in the Protozoa (genus_domain_move), and the
  rank suffix also between domains ('Acantharia {class}' next to the fungal genus Acantharia)
- devtools::test(): 1,582 expectations, 0 failures

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Taxonomy build no longer depends on the previous build

- intrinsic_resistant is no input of the microorganisms build anymore (it is computed from it); the genera named in
  the interpretive rules are read from the rules instead
- the previous data set no longer makes genera relevant; Debaryomyces added to MO_RELEVANT_GENERA
- new run_after_microorganisms_build.R recreates microorganisms.groups, the EUCAST breakpoints and
  intrinsic_resistant in the right order, and the build runs it at its end
- reproduction_of_intrinsic_resistant.R uses devtools::load_all() instead of the installed package
- effect: 24 never released, not relevant COL records less; devtools::test(): 1,582 expectations, 0 failures

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Taxonomy review report: summary updated to the second round

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* MO code retirements: mark the 265 reviewed retirements as reviewed

The Graphium and v2.x Protozoa retirements were reviewed and accepted on 6 October 2026 (see the taxonomy review
report, section 5); 'NEEDS REVIEW' is replaced by 'reviewed by Matthijs S. Berends on 2026-10-06'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 12:55:12 +02:00
Matthijs Berends 3f9f931777 (v3.0.1.9059) Update taxonomy of microorganisms 2026-06-23 01:38:13 +02:00
dr. M.S. (Matthijs) Berends 10ba36821e (v3.0.0.9034) fix MycoBank synonyms 2025-09-18 13:58:34 +01:00
dr. M.S. (Matthijs) Berends e6f88241b2 (v2.1.1.9225) fix geom_hline()/_vline() in MIC plotting, add EUCAT 1.2 in full, add London contribs, fix mo codes, add Kleb pneu complex 2025-03-26 17:19:17 +01:00
dr. M.S. (Matthijs) Berends 9aab129ea6 (v2.1.1.9195) add BTL-S, fix ranks in unknown microorganisms 2025-03-13 14:30:14 +01:00
dr. M.S. (Matthijs) Berends 9fb891eee2 (v2.1.1.9087) update unit tests 2024-10-04 15:28:44 +02:00
dr. M.S. (Matthijs) Berends 50a9f8f0e0 (v2.1.1.9086) website update 2024-10-02 10:20:05 +02:00
dr. M.S. (Matthijs) Berends 681fe011fe (v2.1.1.9082) algorithm updates 2024-09-30 18:46:55 +02:00
dr. M.S. (Matthijs) Berends ac1c40d8bb (v2.1.1.9081) HUGE microorganisms update for fungi! 2024-09-29 22:17:56 +02:00
dr. M.S. (Matthijs) Berends 7258a491b9 (v2.1.1.9068) fix for mo_url() and as.mo() for synonyms 2024-07-17 14:29:55 +02:00
dr. M.S. (Matthijs) Berends 640888f408 (v2.1.1.9064) update all microbial taxonomy, add mycobank, big documentation update 2024-07-16 14:53:17 +02:00
dr. M.S. (Matthijs) Berends 7a4628b73f Added C. freundii complex and Y. pseudotuberculosis complex 2023-07-14 10:49:06 +02:00
dr. M.S. (Matthijs) Berends acb534102b new species groups, updated clinical breakpoints 2023-07-08 17:30:05 +02:00
dr. M.S. (Matthijs) Berends 91fa73dedf add oxygen tolerance 2023-05-11 21:56:27 +02:00
dr. M.S. (Matthijs) Berends 9148a2dcf4 fix mo_rank() for 'unknown' MOs 2023-04-20 15:20:41 +02:00
dr. M.S. (Matthijs) Berends 1a02d302d4 Fix translatable strings 2023-04-15 09:32:13 +02:00
dr. M.S. (Matthijs) Berends ed70f95380 Fix clinical breakpoints 2023-04-14 23:14:34 +02:00
dr. M.S. (Matthijs) Berends 147f9112e9 Fix some WHONET codes 2023-04-14 11:12:26 +02:00
dr. M.S. (Matthijs) Berends 4416394e10 website update 2023-02-26 21:26:58 +01:00
dr. M.S. (Matthijs) Berends 9e99e66f01 use dplyr where available, new antibiogram() for WISCA, fixed Salmonella Typhi/Paratyphi 2023-02-06 11:57:22 +01:00
dr. M.S. (Matthijs) Berends f0a2cdbf5e update mo algorithm 2022-12-20 16:14:04 +01:00
dr. M.S. (Matthijs) Berends b1b7534c78 incorporate Bartlett et al (2022) 2022-12-19 15:32:41 +01:00
dr. M.S. (Matthijs) Berends 23fe427cbc Fixes for Salmonella 2022-12-17 14:31:33 +01:00
dr. M.S. (Matthijs) Berends 5f3a7694aa microorganisms update, added Salmonella groups 2022-12-16 16:10:43 +01:00
dr. M.S. (Matthijs) Berends 8da2467209 updated taxonomy 2022-12-12 00:14:56 +01:00
dr. M.S. (Matthijs) Berends 56dad34e68 update prevalence with new phyla 2022-12-09 13:37:08 +01:00
dr. M.S. (Matthijs) Berends 6ad7857d39 fix missing R breakpoints 2022-10-29 14:15:23 +02:00
dr. M.S. (Matthijs) Berends c2801ba7a1 new rsi_translation 2022-10-22 22:00:15 +02:00
Dr. Matthijs Berends cd2acc4a29 New mo algorithm, prepare for 2.0 2022-10-05 09:12:22 +02:00
dr. M.S. (Matthijs) Berends 303d61b473 new tibble export 2022-08-27 20:49:37 +02:00
dr. M.S. (Matthijs) Berends 3f2f60ab77 language updates 2022-08-19 12:33:14 +02:00
dr. M.S. (Matthijs) Berends ab97268f4c (v1.8.1.9014) add Toxoplasma 2022-08-12 23:27:15 +02:00
dr. M.S. (Matthijs) Berends 7f981e7778 (v1.8.1.9013) add Toxoplasma 2022-06-10 13:15:23 +02:00
dr. M.S. (Matthijs) Berends b84d647cac (v1.8.1.9012) update prevalence of some genera 2022-06-03 13:28:55 +02:00
dr. M.S. (Matthijs) Berends 5375f75829 (v1.7.1.9056) unit tests 2021-11-29 11:55:18 +01:00
dr. M.S. (Matthijs) Berends c8698347cb (v1.7.1.9055) added EUCAST 3.3 and all LPSN records numbers 2021-11-29 10:38:38 +01:00
dr. M.S. (Matthijs) Berends 37e6e35ec4 (v1.7.1.9051) updated taxonomy, updated git branch name 2021-10-06 13:23:57 +02:00
dr. M.S. (Matthijs) Berends 4e0a9533ad (v1.5.0.9041) SNOMED update 2021-03-11 21:42:30 +01:00
dr. M.S. (Matthijs) Berends 0d29bde693 (v1.5.0.9030) as.ab() speed improvement 2021-03-05 10:32:09 +01:00
dr. M.S. (Matthijs) Berends 0e0e3c4ffa (v1.5.0.9029) added missing families and orders 2021-03-05 01:31:46 +01:00
dr. M.S. (Matthijs) Berends ddf88345f1 (v1.5.0.9028) Updated taxonomy until March 2021 2021-03-04 23:28:32 +01:00
dr. M.S. (Matthijs) Berends c4b87fe241 (v1.3.0.9014) as.mo() speed improvement 2020-09-03 12:31:48 +02:00
dr. M.S. (Matthijs) Berends 09fba38ea6 (v1.2.0.9035) as.mo() speed improvement 2020-07-22 10:24:23 +02:00
dr. M.S. (Matthijs) Berends 76fc8e1b14 (v1.2.0.9026) move to github 2020-07-08 14:48:06 +02:00
dr. M.S. (Matthijs) Berends d9a4b0bcaf (v1.1.0.9021) 1st isolates update 2020-05-28 10:51:56 +02:00
dr. M.S. (Matthijs) Berends 86d44054f0 (v1.1.0.9020) updated taxonomy 2020-05-27 16:37:49 +02:00
dr. M.S. (Matthijs) Berends 19703eb5d3 (v1.1.0.9012) lose dependencies 2020-05-19 12:08:49 +02:00
dr. M.S. (Matthijs) Berends a13c62e6e8 (v0.9.0.9016) Support SNOMED codes 2020-01-27 19:14:23 +01:00
dr. M.S. (Matthijs) Berends 09c4b04cd0 (v0.8.0.9007) Enterobacterales order 2019-10-30 23:02:50 +01:00
dr. M.S. (Matthijs) Berends 3e5ab53209 (v0.8.0.9002) eucast_rules() fix for S. maltophilia 2019-10-23 14:48:25 +02:00