Skip to content

Gram stain errors: Parabacteroides, Alistipes communis, Veillonella parvula annotated positive #260

Closed
waldronlab/bugphyzzExports
#89

Description

@lwaldron

Four Bacteroidota species are annotated Gram positive from The Microbe Directory, and one Veillonella species from ProTraits. All five stain Gram negative.

Sheet to fix: https://docs.google.com/spreadsheets/d/1ygWBlBczB24fyL0DTPmTModCuEDi-1j1_rsYBZ5JEOc (gram stain).

NCBI_ID Taxon Row in sheet Correct value
823 Parabacteroides distasonis gram stain positive TRUE, The Microbe Directory, Frequency unknown negative
46503 Parabacteroides merdae same negative
328812 Parabacteroides goldsteinii same negative
2585118 Alistipes communis gram stain positive, The Microbe Directory (search the sheet by NCBI_ID; the name didn't match in the current sheet) negative
29466 Veillonella parvula ProTraits has gram stain positive TRUE and FALSE on two rows; The Microbe Directory has negative negative; delete the ProTraits TRUE row

Two things about the pipeline made these worse, and I'll file them in bugphyzzExports:

  • The Microbe Directory rows carry Frequency unknown (score 0.1) in the sheet, but the release shows them as always with score 1. The per-taxon score normalisation in taxPPro::getSetWithIDs() rescales a lone 0.1 to 1.0, so "unknown" is erased for any taxon with one annotation.
  • ProTraits (medium confidence) only says gram stain positive FALSE for the Parabacteroides, so it never outvotes the low-confidence TRUE.

Drafted with Claude Code.

Activity

  1. lwaldron commented on Nov 5, 2026

    @lwaldron
    MemberAuthor

    Five more rows from a scan of the raw sheets, same sheet:

    NCBI_ID Taxon Row Correct value
    480 Moraxella catarrhalis gram stain positive, The Microbe Directory negative
    435590 Bacteroides vulgatus ATCC 8482 gram stain positive, BacMap negative
    435591 Parabacteroides distasonis ATCC 8503 gram stain positive, BacMap negative
    671229 Veillonella sp. oral taxon 780 gram stain positive, ProTraits negative
    45634 Streptococcus oligofermentans gram stain negative, The Microbe Directory positive

    About 40 BacDive strain-level rows also contradict their genus (Staphylococcus aureus negative, Escherichia coli positive, ...). Those are BacDive's own records, mostly without NCBI ids, and they only enter as species-level tax evidence where they are outvoted; #270 is the right guard for them, not hand edits.

    Drafted with Claude Code.

  2. lwaldron commented on Nov 6, 2026

    @lwaldron
    MemberAuthor

    The Microbe Directory rows here are errors in the source itself, not in our copy. I checked them against its published 2018 table (github.com/microbe-directory/microbe-directory, the version the sheets were copied from): Parabacteroides distasonis, P. merdae, P. goldsteinii and Moraxella catarrhalis are published Gram positive, and Streptococcus oligofermentans is published Gram negative. The S. oligofermentans row's taxid (45634) is right, since NCBI now treats it as a synonym of S. cristatus. The value is what's wrong.

    waldronlab/bugphyzzExports#87 moves The Microbe Directory into sources/microbe_directory/, imported by script from that table. Those five corrections are in its overrides.tsv, along with #261.

    • Done: the Microbe Directory rows, these five included, are deleted from all 11 sheets that had them, and seven of those sheets are no longer read (Stop reading the seven sheets emptied by the Microbe Directory move (1.7.11) #288). The Alistipes communis row (listed in the source as "Bacteroidales bacterium ph8") isn't re-imported, because that name doesn't match an NCBI taxon.
    • Still fix by hand: the ProTraits rows (Veillonella parvula gram stain positive TRUE, Veillonella sp. oral taxon 780) and the BacMap rows (Bacteroides vulgatus ATCC 8482, Parabacteroides distasonis ATCC 8503).

    Drafted with Claude Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions