plantbreeding / BrAPI

Repository for version control of the BrAPI specifications
https://brapi.org
MIT License
57 stars 32 forks source link

Allow Sampling of bulked observation units #592

Open daveneti opened 7 months ago

daveneti commented 7 months ago

Allow a sample to be taken from two or more biological sources for example leaves or seed etc, and sample these together as one. Does not cover the case where existing samples are combined in form a new pooled/bulk sample, this is covered in Issue 573. Nor does it allow for recording the relative contribution to the sample mixture from each source, which is also covered in Issue 573.

Use Cases

Implementation

  1. Add the property observationUnitsDbIds with the following schema to SampleNewRequest:

      observationUnitsDbIds:
        description: The DbIds of the Observation Units from which material was taken to create this sample
        items:
          type: string
        type: array
  2. Depreciate the observationUnitDbId property
  3. When the Observation Units are taken from different Germplasm, then the germplasmDbId property would be null.