Open dongbohu opened 4 years ago
After doing some more thinking on this, I am having trouble figuring out if this makes sense. We still have to explicitly support each type (i.e., by having a Gene model, a Geneset model). Is this costing us more in added complexity without an added benefit?
Yes, Gene
and Geneset
models should be still explicitly defined, because Entity
or Entityset
can't include gene-specific or geneset-specific attributes. The largest benefit is that if we want to add other types of entities later (for example, Disease
), we don't have to change Version
or Annotation
model, which is related to Entityset
or Entity
directly.
Here is a generalized DB schema that takes advantage of registries in
identifiers.org
. I added some comments to explain the purpose.