Commit Graph
77 Commits
Author SHA1 Message Date
dr. M.S. (Matthijs) Berends 3b8b213616 Return the serovar in mo_shortname() for Salmonella, keep Salmonella groups apart from streptococci, abbreviate all Lancefield groups, and apply the Typhi rule in mdro() (#341) 2026-11-04 07:57:20 +01:00
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 2c33297cf6 new eucast breakpoints parsing 2026-08-20 13:29:16 +01: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 13f2a864da (v3.0.0.9035) fix mo_pathogenicity unit test following MycoBank bugfix 2025-09-18 14:22:52 +01:00
dr. M.S. (Matthijs) Berends 40d7a971c3 (v2.1.1.9236) documentation 2025-04-12 11:46:42 +02:00
dr. M.S. (Matthijs) Berends 36fd99e1f4 (v2.1.1.9235) New website! 2025-04-08 15:54:30 +01:00
dr. M.S. (Matthijs) Berends 8deaf2c8eb (v2.1.1.9224) skip tests on cran 2025-03-20 23:29:21 +01:00
dr. M.S. (Matthijs) Berends 58d7aa8790 (v2.1.1.9199) fix eucast 2025-03-14 13:43:22 +01:00
dr. M.S. (Matthijs) Berends f7938289eb (v2.1.1.9186) replace antibiotics with antimicrobials! 2025-03-07 20:43:26 +01:00
dr. M.S. (Matthijs) Berends 07efc292bc (v2.1.1.9163) cleanup 2025-02-27 14:04:29 +01:00
dr. M.S. (Matthijs) Berends f03933940c (v2.1.1.9131) implement testthat 2025-01-27 21:43:10 +01:00
dr. M.S. (Matthijs) Berends d8c91d5876 (v1.6.0.9031) tinytest unit tests 2021-05-15 21:36:22 +02:00
dr. M.S. (Matthijs) Berends 9ed2f6490f (v1.6.0.9028) new unit test flow 2021-05-13 22:44:11 +02:00
dr. M.S. (Matthijs) Berends aeea00881e (v1.6.0.9023) new unit test flow 2021-05-13 19:31:47 +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 ddf88345f1 (v1.5.0.9028) Updated taxonomy until March 2021 2021-03-04 23:28:32 +01:00
dr. M.S. (Matthijs) Berends daa12ced2c (v1.5.0.9020) translation fix 2021-02-18 23:23:14 +01:00
dr. M.S. (Matthijs) Berends 2eca8c3f01 (v1.5.0.9014) only_rsi_columns, is.rsi.eligible improvement 2021-02-02 23:57:35 +01:00
dr. M.S. (Matthijs) Berends 8b52f9b1be (v1.4.0.9047) unit tests 2020-12-27 00:30:28 +01:00
dr. M.S. (Matthijs) Berends 2edd3339db (v1.4.0.9036) more unit tests 2020-12-11 12:17:23 +01:00
dr. M.S. (Matthijs) Berends 05fb213a7c (v1.4.0.9020) mo_is_intrinsic_resistant 2020-11-16 11:03:24 +01:00
dr. M.S. (Matthijs) Berends d3b1d33210 (v1.4.0.9013) is_gram_negative/positive update 2020-11-09 13:07:02 +01:00
dr. M.S. (Matthijs) Berends 4e9ccb4435 (v1.4.0.9001) is_gram_positive(), is_gram_negative(), parameter hardening 2020-10-19 17:09:19 +02:00
dr. M.S. (Matthijs) Berends 28e77680c5 (v1.4.0) matching score update 2020-10-08 11:16:03 +02:00
dr. M.S. (Matthijs) Berends 9b8db57c65 (v1.3.0.9008) also tibble printing for ab 2020-08-26 15:34:12 +02:00
dr. M.S. (Matthijs) Berends ab2b359e6b (v1.2.0.9036) unit test fix 2020-07-22 12:29:51 +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 93a158aebd (v1.2.0.9011) mo_domain(), improved error handling 2020-06-22 11:18:40 +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 7f3da74b17 (v1.1.0.9004) lose dependencies 2020-05-16 13:05:47 +02:00
dr. M.S. (Matthijs) Berends 9b8b02960e (v0.9.0.9023) EUCAST 2020 guidelines 2020-02-14 19:54:13 +01: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 ced1a7b7fa (v0.9.0.9008) Happy new year! Add lifecycles 2020-01-05 17:22:09 +01:00
dr. M.S. (Matthijs) Berends 9feef53bde (v0.8.0.9037) complete documentation rewrite 2019-11-28 23:00:37 +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 10e6b225e7 (v0.7.1.9107) v0.8.0 2019-10-15 14:35:23 +02:00
dr. M.S. (Matthijs) Berends 00cdb498a0 (v0.7.1.9102) lintr 2019-10-11 17:21:02 +02:00
dr. M.S. (Matthijs) Berends 76dc948067 (v0.7.1.9084) CI fix 2019-09-23 20:55:54 +02:00
dr. M.S. (Matthijs) Berends e2aa4f996b (v0.7.1.9075) new microorganism codes 2019-09-18 15:46:09 +02:00
dr. M.S. (Matthijs) Berends 68230d0712 (v0.7.1.90012) mo_shortname fix 2019-07-10 21:36:51 +02:00
dr. M.S. (Matthijs) Berends c9156c004a (v0.7.0.9013) mo_synonym fix 2019-06-22 14:49:12 +02:00
dr. M.S. (Matthijs) Berends 9c39c35f86 (v0.7.0.9010) mo_synonyms, plot/barplot fixes 2019-06-16 21:42:40 +02:00
dr. M.S. (Matthijs) Berends 8f674e19bb (v0.7.0.9005) ab algorithm update 2019-06-11 14:18:25 +02:00
dr. M.S. (Matthijs) Berends 0dc0715dc6 CI tests 2019-05-13 12:21:57 +02:00
dr. M.S. (Matthijs) Berends fbc9191b13 new EUCAST rules algorithm 2019-04-05 18:47:39 +02:00
dr. M.S. (Matthijs) Berends 95c49fdf79 global var fix 2019-02-27 17:39:39 +01:00
dr. M.S. (Matthijs) Berends 6c542268be unit tests 2019-02-21 23:32:30 +01:00
dr. M.S. (Matthijs) Berends c6e57ca456 website update 2019-02-20 14:18:11 +01:00
dr. M.S. (Matthijs) Berends 616c8ab1ae mo_property 2019-02-20 00:34:38 +01:00