Allow more extracts to be associated with a derived bioassay
The current web interface allows a user to select an extract to associate with a derived bioassay. The list contains extracts that are directly associated with the physical bioassay that the derived bioassay is coming from.
It would be useful to be able to select extracts that are parents (or grandparents) to the extracts that are associated with the physical bioassay.
The use case is as follows:
- Lets say we have a library, L1
- From this library we take two aliquots, L1.a1 and L1.a2
- L1.a1 is used in lane 1 and L1.a2 is used in lane2 of a flow cell.
Downstream analysis are recorded as derived bioassays and can start with "per-lane", eg. a derived bioassay is associated with either L1.a1 or L1.a2. After a few more steps, the data from L1 is merged and then we would like to associate the derived bioassay to L1. This is not possible today.
Note! This change is mostly a web interface issue, but we probably need to make a few changes in the "Item overview" and the validation rules as well.
Note! This is also related to #1707. A more complicated use case is when four aliquots are created and two are put in one flow cell, and two in another one.