-
Notifications
You must be signed in to change notification settings - Fork 174
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
use ma_qa_metric.type instead of .name #602
base: master
Are you sure you want to change the base?
Conversation
@gtauriello what do you think, does this fix it for you? |
ping @gtauriello |
@arose Thanks for looking into this. And sorry for the delayed answer. I was travelling last week and could only look at it now. I cannot fully judge if the code works as intended (I don't have a setup to test it), but from what I see in the proposed code changes, I would assume that it does the job for the currently existing ModelCIF files. If it's ok, I comment here on how to make scores available for use (as commented on in #597). I see 2 separate issues on that:
Of course the suggestions above come at some amount of extra complexity for the code as one needs to keep track if we do "gradient" or "class" display, whether range is in [0,1] or [0,100] and what label to have for the score (as opposed to all of those being hard coded as it is now). As a side note: it seems that ESMFold has been using AF-like pLDDT values but scaled to [0,1]. So if one ever sees ModelCIF files from them, those should have "pLDDT in [0,1]" as type. |
Is this something we still want to address? |
@dsehnal I would be happy if this gets addressed since currently mol* is not able to display quality metrics in ModelCIF files generated with SWISS-MODEL (recent example). I can't really judge from the code whether the suggested changes solve the problem but as described above it seemed to be fairly hard-coded on specific metrics with specific names. Let me know if I can add further details on the ModelCIF definitions for quality metrics and how they are used in practice. |
@gtauriello Thanks, can you please clarify this:
What criteria do we need to use to determine the gradient/class display and the ranges? Generally don't mind adding extra logic, just need to know what the criteria are. |
Sure. So here is the proposed logic:
As a general note: it is possible to have multiple scores in |
addressing #597