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
import MDAnalysis as mda
import prolif as plf
from rdkit import Chem
from rdkit.Chem import AllChem
from tqdm.auto import tqdm
from MDAnalysis.topology.guessers import guess_types
u = mda.Universe('structure.psf', 'production1/centered_clean.xtc')
guessed_elements = guess_types(u.atoms.names)
u.add_TopologyAttr('elements', guessed_elements)
tm3 = u.select_atoms("protein and segid D")
prot = u.select_atoms("protein and segid A")
tm3,prot
fp = plf.Fingerprint(
[
"HBDonor",
"HBAcceptor",
"PiStacking",
"PiCation",
"CationPi",
"Anionic",
"Cationic",
]
)
fp.run(u.trajectory[::10], tm3, prot)
df = fp.to_dataframe()
df.to_csv('data.csv', index=False)
I got this error
Warning: importing 'simtk.openmm' is deprecated. Import 'openmm' instead.
0%| | 0/250 [00:00<?, ?it/s]
/python3.8/site-packages/MDAnalysis/converters/RDKit.py:990: UserWarning: The standardization could not be completed within a reasonable number of iterations
warnings.warn("The standardization could not be completed within a "
/python3.8/site-packages/MDAnalysis/converters/RDKit.py:990: UserWarning: The standardization could not be completed within a reasonable number of iterations
Has anyone experienced this error before? My trajectory was generated with OpenMM
Thanks!
The text was updated successfully, but these errors were encountered:
Hi @H-EKE , that's not an error, just a warning that can happen when the MDAnalysis AtomGroup selections that you made are converted to RDKit molecules under the hood by ProLIF, either because something seem to have gone wrong during this process, but it can also be a false positive due to the molecule (here an entire protein segment) being quite large.
I presume you're in the latter case, but if you want to be sure you could have a look at each residue individually using this script:
It will save 2 PNG images (segment_a.png and segment_d.png) in your current working directory which you can inspect to look for any incorrectly assigned charge or bond orders on the residues.
Hi,
I'm trying to follow this tutorial (https://prolif.readthedocs.io/en/stable/notebooks/protein-protein_interactions.html)
When I run this script
I got this error
Warning: importing 'simtk.openmm' is deprecated. Import 'openmm' instead.
0%| | 0/250 [00:00<?, ?it/s]
/python3.8/site-packages/MDAnalysis/converters/RDKit.py:990: UserWarning: The standardization could not be completed within a reasonable number of iterations
warnings.warn("The standardization could not be completed within a "
/python3.8/site-packages/MDAnalysis/converters/RDKit.py:990: UserWarning: The standardization could not be completed within a reasonable number of iterations
Has anyone experienced this error before? My trajectory was generated with OpenMM
Thanks!
The text was updated successfully, but these errors were encountered: