|
| 1 | +# BioSymphony GeneCluster Atlas Best Practices |
| 2 | + |
| 3 | +Use this guide when turning GeneCluster campaign outputs into a comparative |
| 4 | +atlas that other scientists, reviewers, or future agents can inspect. |
| 5 | + |
| 6 | +## Atlas Layers |
| 7 | + |
| 8 | +Keep each atlas separated into four layers: |
| 9 | + |
| 10 | +| Layer | Typical format | Source of truth | |
| 11 | +|---|---|---| |
| 12 | +| Pipeline outputs | TSV, JSON, compact FASTA snippets, workbooks | The checked run summary | |
| 13 | +| Per-species narrative | Markdown or `.qmd` pages | The reviewed species page | |
| 14 | +| Cross-species narrative | Markdown or `.qmd` comparison pages | The reviewed comparison page | |
| 15 | +| Published atlas | HTML, PDF, static figures, summary workbooks | Rendered from source docs | |
| 16 | + |
| 17 | +The source narrative should live in durable Markdown or Quarto source. Rendered |
| 18 | +HTML, PDF, and browser bundles are build artifacts unless they are explicitly |
| 19 | +published as examples. Raw reads, full genomes, indexes, databases, |
| 20 | +and provider work directories stay outside the repo. |
| 21 | + |
| 22 | +## Naming |
| 23 | + |
| 24 | +Use stable names that carry the biological scope, not temporary run labels. |
| 25 | + |
| 26 | +Per-species workbook: |
| 27 | + |
| 28 | +```text |
| 29 | +<species-slug>-<pathway-slug>-pathway-<YYYY-MM-DD>.xlsx |
| 30 | +``` |
| 31 | + |
| 32 | +Per-species top-hit FASTA bundle: |
| 33 | + |
| 34 | +```text |
| 35 | +data/<species-slug>-top-hits.faa |
| 36 | +``` |
| 37 | + |
| 38 | +Quarto or Markdown pages: |
| 39 | + |
| 40 | +```text |
| 41 | +species/<species-slug>.qmd |
| 42 | +cross-species/<topic>.qmd |
| 43 | +methods/<aspect>.qmd |
| 44 | +``` |
| 45 | + |
| 46 | +Avoid names such as `results.xlsx`, `final.xlsx`, `new-output.tsv`, or |
| 47 | +campaign-specific shorthand that cannot stand alone in a published atlas. |
| 48 | + |
| 49 | +## Required Content |
| 50 | + |
| 51 | +Every species page should include: |
| 52 | + |
| 53 | +- Data state: genome, transcriptome, proteome, annotation, and source versions. |
| 54 | +- Query set: canonical pathway proteins plus positive and negative controls. |
| 55 | +- Controls: ACT2, GAPDH, and random-shuffle or equivalent negative control |
| 56 | + status. |
| 57 | +- Pipeline metrics: proteome size, annotation count, candidate count, anchored |
| 58 | + hits, neighborhoods, runtime, tool versions, and major limits. |
| 59 | +- Top hits: one row per query with accession, score, identity, coverage, |
| 60 | + reciprocal or orthology status, and coordinate confidence where available. |
| 61 | +- Claim ceiling: what the route can support and what it cannot support. |
| 62 | +- Links to compact artifacts: workbooks, ledgers, summary FASTA snippets, |
| 63 | + review HTML, hashes, and manifests. |
| 64 | + |
| 65 | +Every cross-species page should include: |
| 66 | + |
| 67 | +- A pathway-step matrix with one row per enzyme or pathway step. |
| 68 | +- A species-by-step support view with evidence classes, not just present/absent |
| 69 | + calls. |
| 70 | +- A short explanation of paralog, homeolog, splice, or annotation ambiguity. |
| 71 | +- Synteny or neighborhood support only when genome coordinates are valid. |
| 72 | +- A limits section for data gaps and route constraints. |
| 73 | + |
| 74 | +## Authoring Rules |
| 75 | + |
| 76 | +- Keep narrative in Markdown or `.qmd`. Do not hand-author final HTML as the |
| 77 | + canonical source. |
| 78 | +- Cite primary literature for pathway, enzyme-function, novelty, and taxonomic |
| 79 | + claims. |
| 80 | +- Show controls before showing headline hits. |
| 81 | +- Keep tables rectangular and machine-readable where possible. If a figure uses |
| 82 | + summarized data, keep the source table beside it. |
| 83 | +- Use one visual signal per figure whenever possible: identity, confidence, |
| 84 | + evidence class, or pathway step. Put extra detail in tooltips, side tables, or |
| 85 | + appendices. |
| 86 | +- Record tool versions and database versions in ledgers, not only prose. |
| 87 | +- Prefer compact derived artifacts in the repo. Raw or heavy artifacts belong in |
| 88 | + provider storage or ignored local runtime directories. |
| 89 | + |
| 90 | +## Claim Review |
| 91 | + |
| 92 | +Run an explicit claim review before publishing any strong novelty, first, |
| 93 | +absence, convergence, or cluster-boundary claim. |
| 94 | + |
| 95 | +Use at least three independent review passes: |
| 96 | + |
| 97 | +| Review pass | Question | Output | |
| 98 | +|---|---|---| |
| 99 | +| Literature check | Does primary literature support each part of the claim? | Supported, partial, contradicted, or unclear | |
| 100 | +| Prior-art check | Has this result appeared in another species, pathway, order, or method? | Novel, confirmation, re-derivation, or not novel | |
| 101 | +| Alternative explanations | What data gaps, thresholds, or controls could weaken the claim? | Limitations, threshold issues, missing controls | |
| 102 | + |
| 103 | +If the review weakens the claim, revise the headline and keep the support note |
| 104 | +visible. A qualified claim with clear limits is stronger than an overstated one |
| 105 | +buried behind a polished figure. |
| 106 | + |
| 107 | +## Interactive Viewers |
| 108 | + |
| 109 | +Interactive graph and genome viewers should be usable without trapping the |
| 110 | +reader's viewport. |
| 111 | + |
| 112 | +For Cytoscape.js, JBrowse, igv-reports, clinker, or similar embedded viewers: |
| 113 | + |
| 114 | +- Provide visible controls for fit, reset, zoom in, zoom out, and center. |
| 115 | +- Bind keyboard shortcuts for common actions. |
| 116 | +- Disable wheel zoom unless a modifier key is held. |
| 117 | +- Record the initial fit state and make reset restore it. |
| 118 | +- Provide a static table or image fallback for PDF and no-JavaScript readers. |
| 119 | + |
| 120 | +Do not use an interactive figure as the only copy of the data. The source table |
| 121 | +and figure-generation manifest should remain inspectable. |
| 122 | + |
| 123 | +## Figure Conventions |
| 124 | + |
| 125 | +High-value atlas figures include: |
| 126 | + |
| 127 | +- A pathway diagram colored by evidence class or mean conservation. |
| 128 | +- A species-by-step support matrix. |
| 129 | +- A candidate-gene neighborhood or synteny block when coordinates support it. |
| 130 | +- A phylogeny or species relationship view when making cross-species claims. |
| 131 | +- A standardized pipeline metrics table across all species. |
| 132 | + |
| 133 | +Do not make physical cluster claims from transcript-only data. Do not make |
| 134 | +convergence claims without explicit prior-art, phylogenetic, or ancestral-state |
| 135 | +support. Do not treat a negative search as absence unless the route and controls |
| 136 | +support that claim. |
| 137 | + |
| 138 | +## Report Stack |
| 139 | + |
| 140 | +The public repo supports multiple presentation routes. Recommended defaults: |
| 141 | + |
| 142 | +- Markdown for durable source narrative. |
| 143 | +- Quarto for HTML/PDF atlas rendering. |
| 144 | +- Cytoscape.js for pathway graphs and compact interactive networks. |
| 145 | +- igv-reports or JBrowse for summary genome browser views. |
| 146 | +- clinker or JCVI MCScan for conserved-neighborhood and synteny views when |
| 147 | + coordinate inputs are valid. |
| 148 | + |
| 149 | +Rendered reports can be hosted as static files. Public examples should include |
| 150 | +only summary artifacts, compact source tables, hashes, manifests, limits, and |
| 151 | +provenance. |
| 152 | + |
| 153 | +## Definition Of Done |
| 154 | + |
| 155 | +An atlas update is ready to ship when: |
| 156 | + |
| 157 | +- Stage 0 preflight and route selection are recorded. |
| 158 | +- Query and control ledgers are complete. |
| 159 | +- Controls pass, or failures are explicitly shown and limit the claim. |
| 160 | +- Candidate hits are tied to source versions, accessions, scores, and evidence |
| 161 | + classes. |
| 162 | +- Comparative pages are updated from the same source tables as the figures. |
| 163 | +- Strong claims have passed claim review and been reframed where needed. |
| 164 | +- Generated figures have source tables or manifests. |
| 165 | +- Public release checks pass. |
| 166 | + |
| 167 | +## Related Docs |
| 168 | + |
| 169 | +- [genecluster-atlas-superpower-runbook.md](genecluster-atlas-superpower-runbook.md) |
| 170 | +- [biosymphony-atlas-obsidian-walkthrough.md](biosymphony-atlas-obsidian-walkthrough.md) |
| 171 | +- [tooling/quarto.md](tooling/quarto.md) |
| 172 | +- [tooling/cytoscape-js.md](tooling/cytoscape-js.md) |
| 173 | +- [public-release-safety.md](public-release-safety.md) |
0 commit comments