Skip to content

Resolve metadata drift between accession-based and sequence-based targets #695

@bencap

Description

@bencap

Overview

TargetAccession and TargetSequence have diverged significantly in their metadata representations. Accession-based targets carry user-supplied free-text fields (assembly, gene) with no validation against the actual accession, and have no structured organism/taxonomy representation despite the organism being fully deterministic from the accession. Sequence-based targets carry a full Taxonomy FK, but it is stored on the wrong model — taxonomy is a property of the gene target, not of the sequence representation.

This parent tracks two child issues that together resolve the drift:

These issues are sequenced: #697 depends on #696 because the mapping job changes in #696 establish the derivation pattern that #697 extends to taxonomy. We also have created #698 to track API response normalization that must be coordinated with clients at a later time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    app: backendTask implementation touches the backendapp: databaseTask implementation requires database changesapp: frontendTask implementation touches the frontendapp: mapperTask implementation touches the mappertype: enhancementEnhancement to an existing feature

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions