Skip to content

Antibody array WDK: EDA transcript columns and gene record graph tables#177

Open
jbrestel wants to merge 7 commits intomasterfrom
antibody-array-wdk-2
Open

Antibody array WDK: EDA transcript columns and gene record graph tables#177
jbrestel wants to merge 7 commits intomasterfrom
antibody-array-wdk-2

Conversation

@jbrestel
Copy link
Copy Markdown
Member

Summary

  • Add EdaAntibodyArrayDatasets and EdaAntibodyArrayGraphsDataTable SQL queries to geneTableQueries.xml — gene record graph table queries for EDA antibody array datasets, modeled on EDAPhenotype but without the tgonGT1 special case, filtering by category = 'Immunology'
  • Add corresponding table definitions to geneRecord.xml
  • Add antibodyArrayEdaAttributeQueriesNumeric DST template to antibodyArray.dst — crosstab query pivoting on sample_stable_id (one column per sample) via the EDA ancestor table, producing normalized intensity columns on the transcript record
  • Add antibodyArrayEdaAttributeRef, antibodyArrayEdaAttributeCategory, antibodyArrayEdaGeneTableSql, and antibodyArrayDataTableGeneTableSql DST templates
  • Add <!-- TEMPLATE_ANCHOR antibodyArrayEdaAttributeRef --> to transcriptRecord.xml

Context

Antibody array EDA studies have two entity types: Sample (parent) and AntbdyAr (child). The AntbdyAr entity has only VEUPATHDB_GENE_ID and NORMALIZED_INTENSITY attributes. The transcript column crosstab pivots on sample_stable_id from the ancestor table — not on attribute_stable_id as Phenotype/CellularLocalization do — producing one intensity column per sample per gene.

Test Plan

  • Build and deploy to a dev site with an antibody array EDA dataset loaded
  • Transcript record: normalized intensity columns appear, one per sample, grouped by dataset
  • Gene record: Antibody Array Datasets table appears with graph widget and data table rows
  • Confirm no sample metadata columns on transcript record
  • Confirm no tgonGT1 ME49 logic fires

Companion PR: VEuPathDB/EbrcModelCommon#antibody-array-wdk-2

🤖 Generated with Claude Code

jbrestel and others added 5 commits April 14, 2026 15:33
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
New templates appended to antibodyArray.dst:
- antibodyArrayEdaAttributeQueriesNumeric: crosstab sqlQuery + meta sqlQuery
  pivoting on sample_stable_id for normalized intensities
- antibodyArrayEdaAttributeRef: attributeQueryRef injection into transcriptRecord.xml
- antibodyArrayEdaAttributeCategory: TSV ontology rows for individuals.txt
- antibodyArrayEdaGeneTableSql: UNION clause linking gene ids via VEUPATHDB_GENE_ID
- antibodyArrayDataTableGeneTableSql: UNION clause for full data table with all attributes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…uery blocks

Add two new gene record graph table queries for antibody array EDA datasets
targeting PlasmoDB and UniDB. Follows the same pattern as existing EDA phenotype
queries but without the tgonGT1 special case, using category 'Immunology' and
assay_type 'Antibody Array'. Includes TEMPLATE_ANCHOR placeholders for both
the gene table SQL and the data table SQL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jbrestel and others added 2 commits April 15, 2026 10:50
…tegory anchors

- Add antibodyArrayEdaAttributeQueriesNumericByDataset, antibodyArrayEdaAttributeRefByDataset,
  and antibodyArrayEdaAttributeCategoryByDataset DST templates for datasets split by sub-dataset
- Add TEMPLATE_ANCHOR entries in transcriptAttributeQueries.xml and transcriptRecord.xml for ByDataset variants
- Add TEMPLATE_ANCHOR antibodyArrayEdaAttributeCategory and antibodyArrayEdaAttributeCategoryByDataset
  to individuals.txt — these were missing, causing per-sample intensity columns to have no UI category
- Fix column alignment in antibodyArrayEdaAttributeCategory individuals.txt template

Co-Authored-By: Claude Sonnet 4.6 <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.

1 participant