Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add relations to PFB-based verbatim manifest for AnVIL #6066

Open
hannes-ucsc opened this issue Mar 19, 2024 · 0 comments
Open

Add relations to PFB-based verbatim manifest for AnVIL #6066

hannes-ucsc opened this issue Mar 19, 2024 · 0 comments
Assignees
Labels
- [priority] Medium enh [type] New feature or request manifests [subject] Generation and contents of manifests orange [process] Done by the Azul team

Comments

@hannes-ucsc
Copy link
Member

hannes-ucsc commented Mar 19, 2024

Populate the relations field in records for replicas that have a foreign key relation to another replica. Populate the nodes.links field of the Metadata record to describe the possible foreign key relationships between replica types. Last time I checked, Terra only allowed backward references, i.e., to records that had already been written. Perform the prerequisite topological sort that satisfies that requirement.

For AnVIL, I think the easiest way to determine FK relationships is the AnVIL schema.

In HCA, anything can be linked to anything, and a link in HCA lingo is represented as an entity of its own right. I envision only links replica records to have any foreign keys, to outputs, inputs, processes and protocols. Not sure yet.

@github-actions github-actions bot added the orange [process] Done by the Azul team label Mar 19, 2024
@hannes-ucsc hannes-ucsc added enh [type] New feature or request manifests [subject] Generation and contents of manifests + [priority] High - [priority] Medium and removed + [priority] High labels Mar 19, 2024
@hannes-ucsc hannes-ucsc changed the title Add relations to PFB-based verbatim manifest Add relations to PFB-based verbatim manifest for AnVIL Apr 3, 2024
@bvizzier-ucsc bvizzier-ucsc self-assigned this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- [priority] Medium enh [type] New feature or request manifests [subject] Generation and contents of manifests orange [process] Done by the Azul team
Projects
None yet
Development

No branches or pull requests

2 participants