monarch-initiative / phenol

phenol: Phenotype ontology library
https://phenol.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
23 stars 4 forks source link

AnnotationFrequency #431

Closed pnrobinson closed 10 months ago

pnrobinson commented 1 year ago

We probably want to keep this because we want to have the actual numerator and denominator (the frequency is not enough!)

@ielis @iimpulse

ielis commented 1 year ago

I am not sure I understand the big picture of the issue. NB, the latest phenol parses the HPOA data in 2 steps:

So, if you want to access the primary data, use the HpoaDiseaseDataLoader. If you are OK with the transformation, use HpoDiseases etc.

ielis commented 10 months ago

@pnrobinson can you pls be more specific regarding what is the issue here?

I want to replace the org.monarchinitiative.phenol.annotations.formats.hpo.AnnotationFrequency interface by Ratio which is a like AnnotationFrequency but also provides the counts.

So, I'm closing the issue because I think the issue should be resolved, but pls comment if you think it should be re-opened.