3D MCS #3675
-
I'm interested in adding the functionality to constrain atom matches by 3D distance in MCS. I saw Greg's gist giving an example of how to do this: A good use case for this would be in setting up maps for FEP, when you might have a docked pose for input ligands. I've created a branch 'mcs3d' in my fork with a straightforward implementation of this. Since I haven't contributed to this project before, I don't want to just bull ahead with a pull request! Does this seem like a reasonable feature to add to MCS? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
FWIW in case anyone else wants to take a look at this, here's an easy link to see what @robbason has changed: master...robbason:mcs3d I think this is a good idea and completely makes sense to integrate at the C++ level as you are suggesting. |
Beta Was this translation helpful? Give feedback.
-
How often is the atom compare called? It might make sense to pay the loops for this upfront and save the matched pairs.
I agree with the default conformation, however it might make sense to add the ensemble option that loops over all confs.
----
Brian Kelley
… On Jan 1, 2021, at 4:45 AM, Greg Landrum ***@***.***> wrote:
FWIW in case anyone else wants to take a look at this, here's an easy link to see what @robbason has changed: master...robbason:mcs3d
I think this is a good idea and completely makes sense to integrate at the C++ level as you are suggesting.
One thing I don't think makes sense in the current implementation: it loops over all the conformations of the two molecules and just requires that the atoms be close to each other in some conformation pair. I'd modify that to just always use the default conformation of each molecule and then document that this is how it works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback. I think there's a reasonable scenario in which you
might want to put in multiple docking poses. In that case the output should
probably tell you which mcs matched which conformers. This gets big
combinatorially very quickly! I'll add an option for this but have the
default use the first conformer.
I'll explore caching the distances too - makes sense.
Process wise should I move this to an issue? And what's the best way of
making sure this builds on all platforms? Is that best sorted out after a
pull request?
Thanks again!
…On Fri, Jan 1, 2021, 10:03 AM Brian Kelley ***@***.***> wrote:
How often is the atom compare called? It might make sense to pay the loops
for this upfront and save the matched pairs.
I agree with the default conformation, however it might make sense to add
the ensemble option that loops over all confs.
----
Brian Kelley
> On Jan 1, 2021, at 4:45 AM, Greg Landrum ***@***.***>
wrote:
>
>
> FWIW in case anyone else wants to take a look at this, here's an easy
link to see what @robbason has changed: master...robbason:mcs3d
>
> I think this is a good idea and completely makes sense to integrate at
the C++ level as you are suggesting.
> One thing I don't think makes sense in the current implementation: it
loops over all the conformations of the two molecules and just requires
that the atoms be close to each other in some conformation pair. I'd modify
that to just always use the default conformation of each molecule and then
document that this is how it works.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3675 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHMXSRUPXKWWLVP6X4O5UDSXXP3JANCNFSM4VOF2CNA>
.
|
Beta Was this translation helpful? Give feedback.
-
It might be worth looking at this old PR FMCS Atom Distance Cutoff That was abandoned for reasons I'm not to clear on now. |
Beta Was this translation helpful? Give feedback.
FWIW in case anyone else wants to take a look at this, here's an easy link to see what @robbason has changed: master...robbason:mcs3d
I think this is a good idea and completely makes sense to integrate at the C++ level as you are suggesting.
One thing I don't think makes sense in the current implementation: it loops over all the conformations of the two molecules and just requires that the atoms be close to each other in some conformation pair. I'd modify that to just always use the default conformation of each molecule and then document that this is how it works.