You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So my question is, @cbouy does more straightforward way to ensure good ligand bond orders exists?Or maybe you have some clues why my solution is not working?
I believe that this could potentially be a good edition to prolif's functionality
Whole notebook and files are available as a issue.zip
The text was updated successfully, but these errors were encountered:
And you'll have to lower the threshold in the lignetwork plot to 0.2.
Not sure why your original solution doesn't work though...
Anyway, I've made a PR in MDAnalysis (MDAnalysis/mdanalysis#4305) some time ago to allow bypassing the step that infers bond orders and charges and use your own template molecule as shown here, hopefully it can get reviewed soon so that we won't need this dirty workaround!
I'm trying to calculate ligand-aminoacid interaction from OpenMM simulation from pdb topology and xtc trajectory. Ligand structure is show below
But due to the use of pdb, MDAnalysis makes the bonds guess and it is not correct, leading to the structure below:
As a result salt bridge between wrong oxygen and arginine is detected
To fix that I was trying to just hardcode modification which is needed to fix bonding
This solution work well for visualization, and when used in
Molecule
like this:This code produces correct visuals:
But when used in
Fingerprint
it still detect wrong interaction, but this time with the good molecule visualizationSo my question is, @cbouy does more straightforward way to ensure good ligand bond orders exists?Or maybe you have some clues why my solution is not working?
I believe that this could potentially be a good edition to prolif's functionality
Whole notebook and files are available as a issue.zip
The text was updated successfully, but these errors were encountered: