Skip to content

Add EdaPhenotypeDataTable and EdaCellularLocalizationDataTable WDK tables#192

Open
jbrestel wants to merge 9 commits into
masterfrom
worktree-eda-data-tables
Open

Add EdaPhenotypeDataTable and EdaCellularLocalizationDataTable WDK tables#192
jbrestel wants to merge 9 commits into
masterfrom
worktree-eda-data-tables

Conversation

@jbrestel
Copy link
Copy Markdown
Member

Summary

  • Adds two new WDK data tables to the gene record page: Phenotype Data and Cellular Localization Data
  • Each table exposes ALL EDA variable/value data for its category across all datasets (including datasets without graph configuration), with a linked dataset name, attribution, variable, and value columns
  • Uses the existing TEMPLATE_ANCHOR pattern (.dst templates per-dataset UNION SQL) — intentionally redundant with the existing graph data sub-tables

Files changed

  • Model/lib/dst/phenotype.dst — new phenotypeAllDataGeneTableSql template
  • Model/lib/dst/cellularLocalization.dst — new cellularLocalizationAllDataGeneTableSql template
  • Model/lib/wdk/model/records/geneTableQueries.xml — two new sqlQuery elements
  • Model/lib/wdk/model/records/geneRecord.xml — two new table definitions with linkAttribute to dataset record page
  • Model/lib/wdk/ontology/individuals.txt — two new ontology entries (record + download scope)

Notes

  • Phenotype table: includeProjects="ToxoDB,PlasmoDB,TriTrypDB,FungiDB,AmoebaDB,UniDB" (broader than existing graph table)
  • Cellular localization table: includeProjects="ToxoDB,TriTrypDB,UniDB" (matches existing)
  • Requires companion PR in EbrcModelCommon to wire Java injectors

Test plan

  • Navigate to a gene record in ToxoDB (e.g. TGGT1_248070) — verify Phenotype Data table appears with linked dataset name, attribution, variable, value columns, sorted by dataset → variable → value
  • Verify dataset name links to the dataset record page
  • Navigate to a TriTrypDB gene with LOPIT data — verify Cellular Localization Data table appears
  • Verify both tables appear in gene downloads
  • Verify existing Phenotype Graphs Data Table and Cellular Localization Graphs Data Table are unaffected

🤖 Generated with Claude Code

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.

1 participant