-
Notifications
You must be signed in to change notification settings - Fork 21
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
Implement FDA approval constraint (Aug. 20) #1599
Comments
This came up in the Translator mini-hackathon today: Any updates? (no is fine. Just trying to annotate visibility) |
nope - planning to start working on it tomorrow. |
ok - this is working in its preliminary form in right now both the KG2 KP and ARAX respect this constraint; ARAX uses the KG2 approved drugs list to filter other KPs' answers. so even if some KPs are not respecting the constraint, ARAX still does. (downside of this approach is that our approved drugs list might not be all-encompassing, so it's possible a KP is actually respecting the constraint but we filter their answer down even further. would really be ideal if we had some way of knowing whether or not a KP respects a particular constraint.) I have some uncertainty about how to interpret the FDA-approval constraint, which apparently looks like this (per the A.9_EGFR_advanced workflow query):
maybe a good thing to discuss briefly at a mini-hackathon. |
This is terrific! I agree to discuss on Wednesday. I added it to the AHM agenda where I think we should start. Maybe continue at the hackathon. |
I guess we never got a chance to really discuss this this week since @edeutsch wasn't at the AHM, but basically the current Expand code considers the so right now the only constraint Expand can fulfill is this exact one, when used on a QNode:
so if, for instance, the value was something other than I'm pretty sure this is how this validation should work, but @edeutsch can correct me if I seem to have anything wrong. I'm not sure if there are supposed to be other possible |
example ARAX query using this constraint is here, fyi (this is the A.9_EGFR_advanced workflow query): https://arax.ncats.io/?r=19693 |
This is terrific! |
I'm curious about the content of our FDA approval database.. how many entries to we have and what status values are there? and how many of each status value? |
yeah, so apparently these are the possible statuses with counts of KG2 nodes: RTXteam/RTX-KG2#100 (comment) and to start, our little FDA approval database only contains the first row in that table ("fda approved drug", ~4k nodes), since that seemed to me to be the best mapping to |
very interesting, thanks. I would definitely welcome a conversation about this because I don't know where to go from here. Seems very reasonable so far. but seems like we could do more. But I don't know how. Seems like a good AHM topic. |
sounds good to me! yeah, I'm not sure who's dictating what the constraint ID/values need to be for these kinds of queries, but to me an arrangement where the constraint ID is something like we could then also support situations where the constraint (note the Drugbank status definitions are accessible like so: https://dev.drugbank.com/guides/terms/experimental-drug) |
the way we do this should be standardized translator-wide. But I'm not certain if that conversation has happened yet. Seems like something that data modeling folks would have tackled? Does anyone recall a result from that call series? I don't usually attend. |
yeah, definitely. can't find a record of it being discussed on Data Modeling, so maybe the discussion hasn't yet happened. this issue seems related, but not sure what's going on with it: https://togithub.com/NCATSTranslator/minihackathons/issues/163 |
one update: realized we should also handle the not sure how much it will really be used, but it helps shed light on the quality of our FDA approved drug info.. (looks like we're lacking status info for some drugs that are FDA approved in actuality.. I suppose not surprising since our little database contains only 4,000 nodes, but there are >20,000 approved prescription drug products, according to the FDA) |
suppose I will close this issue; can open a new one down the road if we want to support constraining on other drug statuses. |
creating this issue to track work for https://togithub.com/NCATSTranslator/minihackathons/issues/164
we're going with a "quick and dirty" approach to start: extract this info from KG2, create a tiny database, use that in Expand
The text was updated successfully, but these errors were encountered: