Skip to content

Wire 2 SPRUCE-specific orphan caches into SPRUCE community#62

Merged
realmarcin merged 2 commits into
mainfrom
claude/orphan-curation-batch4
May 17, 2026
Merged

Wire 2 SPRUCE-specific orphan caches into SPRUCE community#62
realmarcin merged 2 commits into
mainfrom
claude/orphan-curation-batch4

Conversation

@realmarcin
Copy link
Copy Markdown
Contributor

Summary

Third orphan-curation pass. Both papers in this PR explicitly cite the SPRUCE Spruce and Peatland Responses Under Changing Environments experiment in northern Minnesota — the namesake of the existing `SPRUCE_Peatland_Methane_Cycling_Community`.

  • `PMID:34836550` (ter Horst et al. 2021 Microbiome, "Minnesota peat viromes reveal terrestrial and aquatic niche partitioning for local and global viral populations"): 87 metagenomes + 5 viromes from the SPRUCE warming experiment and surrounding bog. Wired as evidence on the methanogenic-archaea taxon — the SPRUCE viral community interacts with the methanogenic populations already characterized in the community.
  • `PMID:38515239` (Bourgault et al. 2024 New Phytologist, "Responses of vascular plant fine roots and associated microbial communities to whole-ecosystem warming and elevated CO2 in northern peatlands"): explicitly uses SPRUCE (+0 to +9 °C warming and eCO2) to characterize the fine-root rhizosphere microbiome. Wired as additional evidence on the existing whole-ecosystem warming environmental factor.

Both papers were orphan caches with full PubMed abstracts on disk but no community citing them; their abstracts mention SPRUCE by name in the first paragraph, so the citation match is unambiguous.

Test plan

  • `just validate kb/communities/SPRUCE_Peatland_Methane_Cycling_Community.yaml` — no schema issues
  • `just validate-references kb/communities/SPRUCE_Peatland_Methane_Cycling_Community.yaml` — passes (both snippets are verbatim substrings of the cached abstracts)

🤖 Generated with Claude Code

Both orphan papers explicitly cite the SPRUCE Spruce and Peatland
Responses Under Changing Environments experiment in northern
Minnesota that is the namesake of SPRUCE_Peatland_Methane_Cycling_
Community.

- PMID:34836550 (ter Horst et al. 2021 Microbiome, "Minnesota peat
  viromes reveal terrestrial and aquatic niche partitioning"):
  87 metagenomes + 5 viromes from the SPRUCE warming experiment
  and surrounding bog. Wired as evidence on the methanogenic
  archaea taxon - the SPRUCE viral community interacts with the
  methanogenic populations already characterized in the community.
- PMID:38515239 (Bourgault et al. 2024 New Phytologist, "Responses
  of vascular plant fine roots and associated microbial communities
  to whole-ecosystem warming and elevated CO2 in northern
  peatlands"): explicitly uses SPRUCE (+0 to +9 deg C warming and
  eCO2) to characterize the fine-root rhizosphere microbiome. Wired
  as additional evidence on the existing whole-ecosystem warming
  environmental factor.

Both papers were orphan caches with full PubMed abstracts on disk
but no community citing them; their abstracts mention SPRUCE by
name in their first paragraph, so the citation match is unambiguous.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 17, 2026 07:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR wires two previously-orphaned PubMed reference caches (PMID:34836550 and PMID:38515239) into the existing SPRUCE_Peatland_Methane_Cycling_Community record, adding evidence that explicitly mentions the SPRUCE experiment and its warming/eCO2 design.

Changes:

  • Added a new evidence item citing ter Horst et al. 2021 (PMID:34836550) under the methanogenic-archaea taxon.
  • Added a new evidence item citing Bourgault et al. 2024 (PMID:38515239) under the whole-ecosystem warming + eCO2 environmental factor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread kb/communities/SPRUCE_Peatland_Methane_Cycling_Community.yaml Outdated
Comment thread kb/communities/SPRUCE_Peatland_Methane_Cycling_Community.yaml Outdated
- Move the PMID:34836550 evidence off the methanogenic-archaea
  taxon and onto the Acidic-organic-rich-peat-chemistry
  environmental factor. The original snippet was about site
  sampling, not methanogens, so the taxon placement was a
  scope mismatch. The replacement snippet ("viral community
  composition was significantly correlated with peat depth,
  water content, and carbon chemistry, including CH4 and CO2
  concentrations") directly supports peat chemistry as a driver
  of community composition, which is the central claim of that
  environmental factor.
- Author attribution: "ter Horst" -> "Ter Horst" at sentence start
  to match citation formatting.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@realmarcin realmarcin merged commit a5392dc into main May 17, 2026
@realmarcin realmarcin deleted the claude/orphan-curation-batch4 branch May 17, 2026 07:43
@realmarcin realmarcin mentioned this pull request May 18, 2026
2 tasks
realmarcin added a commit that referenced this pull request May 18, 2026
Three template/data fixes triggered by the Copilot review on the
HTML/UMAP regen:

- src/communitymech/templates/community.html:
  - Extend the interaction-network color map and legend with
    PREDATION, NICHE_PARTITIONING, STRAIN_COMPETITION, and
    COLONIZATION_FACILITATION. Previously these enum values fell
    back to generic gray on the force-directed graph and were
    omitted from the legend, making 5+ community pages
    (Cellulomonas-Rhodobacter, Sphingobium-Rhodococcus,
    Clostridium-Carboxidivorans-Kluyveri, Rhodopseudomonas-
    Geobacter-Magnetite, plus any others) hard to read.
  - Render evidence on taxonomy entries via an "evidence-row"
    span. The previous template only rendered evidence inside
    ecological_interactions and growth_media, so evidence wired
    onto taxon blocks in PRs like #61 and #62 was on-disk in the
    YAML but invisible in the rendered HTML.
  - Render evidence on environmental_factors with the same
    expanding-row pattern. This is where PR #62 wired the
    Ter Horst 2021 peat-virome evidence on the SPRUCE community;
    it now appears in the HTML.
  - Add an "External Resources" section (analogous to Associated
    Datasets) that renders external_resources entries including
    their per-resource evidence. This is where PR #66 wired the
    Smith 2025 BioModels reproducibility paper on the Kefir
    BioModels community; it now appears in the HTML.

- kb/communities/Alaska_Tundra_Permafrost_Iron_Redox_Community.yaml:
  add `metals_present: [IRON]`, `metal_relevance: SIGNIFICANT`,
  and metal_notes describing the Fe(III) reduction / Fe(II)
  oxidation cycle this community is built around. The community
  was previously absent from the iron/metal index filter despite
  being entirely iron-centric.

- docs/: regenerate all 264 community pages with the new template
  + the Alaska_Tundra metals metadata. Many pages pick up the new
  evidence-row block; the four pages with NICHE_PARTITIONING
  interactions now render those nodes with the dedicated color
  and include the new legend entries.

Verified after regen:
- SPRUCE community page now shows PMID:38515239 and PMID:34836550
  (zero matches before, two each after).
- Kefir BioModels community page now shows PMID:41343683 (zero
  matches before, two after).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
realmarcin added a commit that referenced this pull request May 18, 2026
* Regenerate community HTML and UMAP

Refresh docs/ to reflect community additions and evidence updates
since the last regen (PR #54). UMAP grows from 252 -> 261 embedded
communities; 7 existing community pages are refreshed with the
evidence additions from PRs #55, #58, #60, #61, #62, #63, #66, #67;
9 new community pages are added (2 from this session: Alaska Tundra
Permafrost Iron-Redox and Saccharomyces-Acinetobacter Lignocellulose
Detox; 7 from other curation work merged in between).

- gen-html: 264 community pages rendered without error
- gen-umap: 261 communities embedded (3 host-only skipped because
  none of their taxa have NCBITaxon embeddings)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Address Copilot review on PR #71: render evidence everywhere it lives

Three template/data fixes triggered by the Copilot review on the
HTML/UMAP regen:

- src/communitymech/templates/community.html:
  - Extend the interaction-network color map and legend with
    PREDATION, NICHE_PARTITIONING, STRAIN_COMPETITION, and
    COLONIZATION_FACILITATION. Previously these enum values fell
    back to generic gray on the force-directed graph and were
    omitted from the legend, making 5+ community pages
    (Cellulomonas-Rhodobacter, Sphingobium-Rhodococcus,
    Clostridium-Carboxidivorans-Kluyveri, Rhodopseudomonas-
    Geobacter-Magnetite, plus any others) hard to read.
  - Render evidence on taxonomy entries via an "evidence-row"
    span. The previous template only rendered evidence inside
    ecological_interactions and growth_media, so evidence wired
    onto taxon blocks in PRs like #61 and #62 was on-disk in the
    YAML but invisible in the rendered HTML.
  - Render evidence on environmental_factors with the same
    expanding-row pattern. This is where PR #62 wired the
    Ter Horst 2021 peat-virome evidence on the SPRUCE community;
    it now appears in the HTML.
  - Add an "External Resources" section (analogous to Associated
    Datasets) that renders external_resources entries including
    their per-resource evidence. This is where PR #66 wired the
    Smith 2025 BioModels reproducibility paper on the Kefir
    BioModels community; it now appears in the HTML.

- kb/communities/Alaska_Tundra_Permafrost_Iron_Redox_Community.yaml:
  add `metals_present: [IRON]`, `metal_relevance: SIGNIFICANT`,
  and metal_notes describing the Fe(III) reduction / Fe(II)
  oxidation cycle this community is built around. The community
  was previously absent from the iron/metal index filter despite
  being entirely iron-centric.

- docs/: regenerate all 264 community pages with the new template
  + the Alaska_Tundra metals metadata. Many pages pick up the new
  evidence-row block; the four pages with NICHE_PARTITIONING
  interactions now render those nodes with the dedicated color
  and include the new legend entries.

Verified after regen:
- SPRUCE community page now shows PMID:38515239 and PMID:34836550
  (zero matches before, two each after).
- Kefir BioModels community page now shows PMID:41343683 (zero
  matches before, two after).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants