Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Cache fix in mondo_score_utils, now faster #27
Cache fix in mondo_score_utils, now faster #27
Changes from all commits
ceebbe6
96700f7
1a65433
07900a0
f8907df
76aa814
90f73cd
572bbe1
a0bd2ee
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that we should provide full score (full rank) if a disease is in the same phenotypic series, but not necessarily if it is a Mondo descendent. I am not sure if that is what the code above is doing, but if so it would be good to add a comment and an example of what does and does not count (lines 72-74). I am not sure that we want to return a partial score for anything else, and it would really be better just to report ranks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the picture and description at #14 I assumed that all mondo descendants of a mondo term corresponding to a pheontypic series (I mean all descendants of the parent or "grouping" term, for lack of better words -- the one which does not have an OMIM ID on its own) are leaf terms. If this is not the case, @pnrobinson we need to discuss, I am not finding much info about phenotypic series online ...
Also, do note that PARTIAL_SCORE is there in case we were to decide that we want to assign partial scores, which for now we are not doing (both FULL_SCORE and PARTIAL_SCORE are mapped to 1).