mpi2 / PhenotypeData

Reorganisation, update, and extend code from PhenotypeArchive
Apache License 2.0
2 stars 5 forks source link

Register Interest: Simplify gene status updating #528

Closed mrelac-ebi closed 3 years ago

mrelac-ebi commented 3 years ago

Description

As part of epic #512, Register Interest needs to be enhanced to report crispr status changes originating from gentar. Since there are now multiple data sources, imits and gentar, we want to refactor Register Interest to read register interest status changes from the gene core instead of being responsible for mapping imits/gentar statuses to Register Interest statuses via imits and gentar reports. This design provides:

History

The goal of Register Interest is to inform interested users by e-mail whenever the status of their gene(s) of interest change significantly. The statuses originate from imits (and now gentar) as imits and gentar statuses.

There are many more imits and gentar statuses, which are required for injection tracking, than are of interest to Register Interest users. We must be careful not to spam users with the very granular and frequently changing imits/gentar statuses.

To that end, with help from Peter Matthews and Terry Meehan, the team produced a short list of Register Interest status changes that would trigger e-mails to interested users. This short list is a many-to-fewer mapping of imits status to register interest status.

Rationale for this work

This design worked fine in the past, but the status mappings are difficult to maintain, and if we make a mistake and map incorrectly, we have a higher risk of spamming users. We also need to report crispr status changes in addition to imits status changes.

Acceptance Criteria

mrelac-ebi commented 3 years ago

Done. Deployed to DEV. Awaiting OK, then merge from branch ri-463 into master, then deployed.