Skip to content

Commit ca8668a

Browse files
realmarcinclaude
andauthored
Regenerate community HTML and UMAP (#71)
* 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>
1 parent 6f6255f commit ca8668a

268 files changed

Lines changed: 58410 additions & 771 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/communities/AMD_Acidophile_Heterotroph_Network.html

Lines changed: 339 additions & 2 deletions
Large diffs are not rendered by default.

docs/communities/AMD_Nitrososphaerota_Archaeal.html

Lines changed: 309 additions & 1 deletion
Large diffs are not rendered by default.

docs/communities/ANME_SRB_Marine_Methane_Seep_Consortium.html

Lines changed: 121 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,37 @@ <h2>Taxonomy</h2>
432432
<td>N/A</td>
433433
</tr>
434434

435+
<tr class="evidence-row-container">
436+
<td colspan="4">
437+
<ul class="evidence-list">
438+
439+
<li class="evidence-item">
440+
441+
<a href="https://pubmed.ncbi.nlm.nih.gov/37747940/"
442+
class="pmid-link" target="_blank" rel="noopener noreferrer">PMID:37747940</a>
443+
444+
- SUPPORT (COMPUTATIONAL)
445+
446+
<div class="snippet">"anaerobic methanotrophic archaea (ANME) in obligate syntrophic partnership"</div>
447+
448+
</li>
449+
450+
<li class="evidence-item">
451+
452+
<a href="https://pubmed.ncbi.nlm.nih.gov/34986141/"
453+
class="pmid-link" target="_blank" rel="noopener noreferrer">PMID:34986141</a>
454+
455+
- SUPPORT (COMPUTATIONAL)
456+
457+
<div class="snippet">"none of which have been isolated in pure culture"</div>
458+
459+
</li>
460+
461+
</ul>
462+
</td>
463+
</tr>
464+
465+
435466
<tr>
436467
<td>
437468
<strong>sulfate-reducing bacterial partners</strong>
@@ -454,6 +485,37 @@ <h2>Taxonomy</h2>
454485
<td>N/A</td>
455486
</tr>
456487

488+
<tr class="evidence-row-container">
489+
<td colspan="4">
490+
<ul class="evidence-list">
491+
492+
<li class="evidence-item">
493+
494+
<a href="https://pubmed.ncbi.nlm.nih.gov/19383036/"
495+
class="pmid-link" target="_blank" rel="noopener noreferrer">PMID:19383036</a>
496+
497+
- SUPPORT (IN_VITRO)
498+
499+
<div class="snippet">"sulfate-reducing bacteria (DSS), frequently found as organized consortia"</div>
500+
501+
</li>
502+
503+
<li class="evidence-item">
504+
505+
<a href="https://pubmed.ncbi.nlm.nih.gov/11034209/"
506+
class="pmid-link" target="_blank" rel="noopener noreferrer">PMID:11034209</a>
507+
508+
- SUPPORT (IN_VITRO)
509+
510+
<div class="snippet">"a bacterium related to sulphate-reducing bacteria"</div>
511+
512+
</li>
513+
514+
</ul>
515+
</td>
516+
</tr>
517+
518+
457519
</tbody>
458520
</table>
459521
</section>
@@ -490,6 +552,18 @@ <h2>Ecological Interactions</h2>
490552
<div class="legend-item">
491553
<span class="legend-swatch" style="background: #f97316;"></span> Commensalism
492554
</div>
555+
<div class="legend-item">
556+
<span class="legend-swatch" style="background: #14b8a6;"></span> Niche partitioning
557+
</div>
558+
<div class="legend-item">
559+
<span class="legend-swatch" style="background: #eab308;"></span> Colonization facilitation
560+
</div>
561+
<div class="legend-item">
562+
<span class="legend-swatch" style="background: #fb7185;"></span> Strain competition
563+
</div>
564+
<div class="legend-item">
565+
<span class="legend-swatch" style="background: #dc2626;"></span> Predation
566+
</div>
493567
</div>
494568
</div>
495569

@@ -666,6 +740,8 @@ <h2>Associated Datasets</h2>
666740

667741
<!-- Environmental Factors -->
668742

743+
744+
669745
<section>
670746
<h2>Environmental Factors</h2>
671747
<table>
@@ -684,12 +760,52 @@ <h2>Environmental Factors</h2>
684760
<td>N/A</td>
685761
</tr>
686762

763+
<tr class="evidence-row-container">
764+
<td colspan="3">
765+
<ul class="evidence-list">
766+
767+
<li class="evidence-item">
768+
769+
<a href="https://pubmed.ncbi.nlm.nih.gov/11034209/"
770+
class="pmid-link" target="_blank" rel="noopener noreferrer">PMID:11034209</a>
771+
772+
- SUPPORT (IN_VITRO)
773+
774+
<div class="snippet">"abundant in gas-hydrate-rich sediments"</div>
775+
776+
</li>
777+
778+
</ul>
779+
</td>
780+
</tr>
781+
782+
687783
<tr>
688784
<td><strong>Sulfate availability</strong></td>
689785
<td>Sulfate as terminal electron acceptor</td>
690786
<td>N/A</td>
691787
</tr>
692788

789+
<tr class="evidence-row-container">
790+
<td colspan="3">
791+
<ul class="evidence-list">
792+
793+
<li class="evidence-item">
794+
795+
<a href="https://pubmed.ncbi.nlm.nih.gov/34986141/"
796+
class="pmid-link" target="_blank" rel="noopener noreferrer">PMID:34986141</a>
797+
798+
- SUPPORT (COMPUTATIONAL)
799+
800+
<div class="snippet">"anaerobic oxidation of methane coupled to sulfate reduction"</div>
801+
802+
</li>
803+
804+
</ul>
805+
</td>
806+
</tr>
807+
808+
693809
</tbody>
694810
</table>
695811
</section>
@@ -714,7 +830,11 @@ <h2>Environmental Factors</h2>
714830
MUTUALISM: "#3b82f6",
715831
SYNTROPHY: "#a855f7",
716832
COMPETITION: "#ef4444",
717-
COMMENSALISM: "#f97316"
833+
COMMENSALISM: "#f97316",
834+
PREDATION: "#dc2626",
835+
NICHE_PARTITIONING: "#14b8a6",
836+
STRAIN_COMPETITION: "#fb7185",
837+
COLONIZATION_FACILITATION: "#eab308"
718838
};
719839

720840
// Build taxon lookup keyed by preferred_term

0 commit comments

Comments
 (0)