bio2bel / scai-mirna-corpra

SCAI miRNA text mining corpra to BEL
MIT License
0 stars 0 forks source link

Improve database model nomenclature #2

Open cthoyt opened 6 years ago

cthoyt commented 6 years ago

https://github.com/bio2bel/scai-mirna-corpra/blob/74b2fd0d88fd2f4af4aa4f4a4813e86157296d46/src/scai-mirna-corpora/models.py#L18

Entity1 and Entity2 are cryptic names for the tables in the database and don't give any insight into what they actually do. These must be renamed to be more informative.

Entity1 should obviously be renamed Mirna but Entity2 can either describe a gene or a disease. I would suggest making two separate tables for these, especially since the logic for handling them will be different.