This is an MVP design to satisfy current KF needs and KF Portal Beta requirements. We recognize that this design will not allow one to capture a specimen tree with more than 1 level (e.g. sp1 -> sp2 -sp3).
Sample Table + API
Sample represents a parental specimen
Biospecimen represents an aliquot/child specimen
Population of the Sample table will be done in a Sample ETL script which calls the API. PR is here
Sample ETL
The Dataservice to Dewrangle CLI will have a command added to it which will pull all biospecimens, derive the parent samples from them, and create the samples in Dataservice
Motivation
Dataservice model does not track specimen lineage - which specimens were derived from another (specimen hierarchy tree). See Sample design presentation for design details
Approach
This is an MVP design to satisfy current KF needs and KF Portal Beta requirements. We recognize that this design will not allow one to capture a specimen tree with more than 1 level (e.g. sp1 -> sp2 -sp3).
Sample Table + API
Sample ETL
The Dataservice to Dewrangle CLI will have a command added to it which will pull all biospecimens, derive the parent samples from them, and create the samples in Dataservice
Todo