dieterich-lab / scimodom

Sci- ModoM: A quantitative database of transcriptome-wide high-throughput RNA modification sites
https://dieterich-lab.github.io/scimodom/
GNU Affero General Public License v3.0
0 stars 0 forks source link

Remove association table #96

Closed eboileau closed 3 months ago

eboileau commented 4 months ago

Aims/objectives.

I don't think this table is really needed after all... but this requires significant refactoring.

A clear and concise description of todo items.

Association is in relation with Data, not Dataset. In Association, a dataset_id may appear more than once for a different selection_id. This is used in many places, but this is clumsy. This makes things also complex to retrieve taxa_id for a dataset. I think Dataset should contain taxa_id, even if this is redundant. Data should have directly dataset_id, and selection_id, replacing association_id.

eboileau commented 3 months ago

Association changed to DatasetModificationAssociation, reworked Dataset, and Data.