Closed williambrown3 closed 1 month ago
Hi,
This should work:
# disable charge and bond order inferring (not required for VdWContact)
converter_params = {"NoImplicit": False}
fp.run(u.trajectory[4000:4001:1], tm3, prot, converter_kwargs=(converter_params, converter_params))
The error message above was due to your atom selections not including any hydrogens, which prevents the creation of a "complete" molecule (i.e. with bond orders and formal charges instead of just the topology) when converting the MDAnalysis selection to an RDKit molecule.
But because you're only calculating the VdWContact
interaction it is safe to skip this step by passing NoImplicit=False
as stated in the error message. (and you have to pass it twice because once for each component in your complex).
Hope this helps!
Feel free to reopen the issue if you have other related questions
Thanks so much for the quick help. That worked great.
Get Outlook for iOShttps://aka.ms/o0ukef
From: Cédric Bouysset @.> Sent: Thursday, May 9, 2024 4:01:49 PM To: chemosim-lab/ProLIF @.> Cc: Brown, William H [CHEM] @.>; Author @.> Subject: Re: [chemosim-lab/ProLIF] Hydrogen atom recognition problem (Issue #203)
Hi,
This should work:
converter_params = {"NoImplicit": False} fp.run(u.trajectory[4000:4001:1], tm3, prot, converter_kwargs=(converter_params, converter_params))
The error message above was due to your atom selections not including any hydrogens, which prevents the creation of a "complete" molecule (i.e. with bond orders and formal charges instead of just the topology) when converting the MDAnalysis selection to an RDKit molecule. But because you're only calculating the VdWContact interaction it is safe to skip this step by passing NoImplicit=False as stated in the error message. (and you have to pass it twice because once for each component in your complex).
Hope this helps!
Feel free to reopen the issue if you have other related questions
— Reply to this email directly, view it on GitHubhttps://github.com/chemosim-lab/ProLIF/issues/203#issuecomment-2103413966, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AR6HSJKJVWSGNAFL2BEL5JLZBPP33AVCNFSM6AAAAABHPJBJLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTGQYTGOJWGY. You are receiving this because you authored the thread.Message ID: @.***>
When attempting to extract VdWContacts between protein alpha carbons and nucleic acid phospates, the following error causes the calculation to fail.
The code that I am running is shown below.
I followed the installation according to the Prolif documentation and I cannot figure out what is the cause of this error. I have also successfully run prolif contact calculations on this same data in the past with an almost identical script.