Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inheritance and Freqeuncy in HpoDisease #30

Open
pnrobinson opened this issue Nov 16, 2017 · 3 comments
Open

Inheritance and Freqeuncy in HpoDisease #30

pnrobinson opened this issue Nov 16, 2017 · 3 comments

Comments

@pnrobinson
Copy link
Collaborator

Hi!
Currentl, the HPO Disease models almost always have just one mode of inheritance, and in the few cases where there are two (they should be split imho) we never have frequency data.
I think that having a list with a simple Termid would be more realistic.
See HpoDisease line 38:

List<TermIdWithFrequency> modesOfInheritance

But do you see a reason to user TermidWithFrequency here?

@holtgrewe
Copy link
Contributor

That's the way it was in @drseb's original library.

How would we handle issues here? If HPO guarantees to only have one mode of inheritance (by splitting), we can remove the list here. However, I would rather keep the frequency field and put "unknown" (null?)

@pnrobinson
Copy link
Collaborator Author

What is the use case for Frequency data with the inheritance field? Even if there was a use case, we currently have no data at all on the frequency of different modes of inheritance of the corresponding diseases (it is a pretty rare case anyway).
It will not hurt to keep the field and ignore it, but I think it is better to have the data structure reflect the data...

@drseb
Copy link
Member

drseb commented Jan 16, 2018

That's the way it was in @drseb's original library.

Yes, I do not treat annotations (i.e. a link between "something" and an ontology class) differently, depending on which sub ontology the ontology class belongs to. This is happening downstream. I think Peter is right, but it would be good to check how often exactly we have multiple different inheritance annotations to one disease in HPOA, before making this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants