Closed mmaiers-nmdp closed 7 months ago
@pbashyal-nmdp found the uniqueness constraints and the one for GFE.name needs to be udpated (it currently says GFE.GFE_name).
Upon discussion, we agree to update the model to have a single GFE node with Sequence as a "property". And then make a uniqueness constraint on GFE.sequence
The queries will be simpler and faster. The HAS_SEQUENCE edge can be removed
Are these actually not unique in IMGT?
This is fixed in the current database on dockerhub "chrisammon3000/gfe-db:latest" accessed 2024-02-12
There are two GFEs with the same name, this shouldn't happen in this database (e.g. need uniqueness constraint on g.name)
also sequence should be 1-1 with GFE but these two GFEs that are the same string have 7 sequences associated
Of these 7 sequences, 5 of them are unique and occur in GFEDB multiple times each:
Goal: