-
Notifications
You must be signed in to change notification settings - Fork 50
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
Grouping chains (receptor and ligand) for evaluation #33
Comments
Hi @heol1 , This feature is currently not supported anymore, since it interferes with the automatic mapping of chains. But you can still make this work on your own by manually merging two chains as one before calling DockQ. Here is an example of a function
You could stick the function in a separate script and call it on your input files if you prefer using DockQ from the command line, let me know if you need help with that. A couple things I should mention:
|
Thank you for your detailed explanations! |
Great! Reopening this in case someone else is looking for the same thing |
Thanks for the explanation and sharing the |
@AmeyaHarmalkar I think v1 is the safest option if you want to use the old flags |
Hi, I just tested this and have a question regarding the merging of two chains into one if they are ligands. Merging the ligand chains will make the combined ligand chain longer than the receptor chain, which will affect the lrmsd calculation and thus the DockQ score. Is there a way to avoid this? Thank you |
Thanks for this. Merging is pretty important for antibody research. I tried this with averaging option on ~15 structures and has correlation score 0.99. So I think it is safe to use and merge it in to the original code if you'd like. |
@serbulent-av did you mean that averaging the scores from the default automapping function is correlating 0.99 with merging the chains? If that is case, would it not be best to just use the averaging? |
Hi @floeshak
Not off the top of my head, unfortunately. We might add a functionality to force a different ligand-receptor mapping, as it was also asked for the previous version, but I don't know how soon that will be available. |
@clami66 Yes I meant that. I think the choice depends if you'd like to see other metrics such as fnat separately (per chain) you may like to use averaging. However, for antibodies, merging chains is often better than averaging when analyzing interaction metrics like fnat. This is because: The heavy chain usually dominates antibody-antigen interactions. H chain: fnat 0.5 (12 interacting residues) The merged result (0.58) better reflects the overall interaction, considering each chain's actual contribution. This approach provides a more accurate representation of the antibody-antigen interface. |
@serbulent-av I understand. Though you should in theory have all the information you need from the results dictionary to recompute the correct fnat as well (but not from the textual output if you run from command line). We will also add the possibility to output the results to a json file soon, so that should make it even simpler to parse and aggregate scores |
In the previous version of DockQ, there were input arguments, -native_chain{1,2} and -model_chain{1,2}, that allow grouping chains for receptor and ligand. For example, if there are one chains (e.g., A) for receptor and two other chains (e.g., H and L) for ligand and I only interested in the interface between (A) and (H+L), how can I do this with DockQ v2? With the previous version, it can be done like the following:
I noticed that DockQ v2 evaluates for every interface between chains and gives some averaged values as the metrics for the whole complex. However, I could not find optional arguments for grouping chains. I do not think averaging metrics for interested chain pairs would work neither because numerators and denominators for RMSDs and fnat are different for evaluating (A and (H+L)) compared to averaging (A and H) and (A and L).
The text was updated successfully, but these errors were encountered: