-
Notifications
You must be signed in to change notification settings - Fork 18
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
Errors using cyclic host mol2
files with non-unique atom names
#64
Comments
Just adding a note that this issue is related to #60. |
Right, thanks. Meant to tag that issue as well. |
Note that I think if you have such a molecule, you should be able to generate unique atom names by running Probably the best solution is the new Topology object we're starting to implement, which will allow us to not depend on atom/residue names in constructing the topology and the System (cc @jchodera ) I believe. |
No such luck. I had actually omitted ifs = oechem.oemolistream(path + 'bcd-no-conect.xyz')
for mol in ifs.GetOEGraphMols():
oechem.OEDetermineConnectivity(mol)
oechem.OEPerceiveBondOrders(mol)
# Replace existing cyclodextrin
oechem.OETriposAtomNames(mol)
mols[0] = oechem.OEMol(mol)
Based on OpenMM topology or something else? |
Check out #86 ; feel free to comment. It would be a new Topology object. (The OpenMM one is limited.) This would fix several issues:
|
I want to drop a note to say that I can build a host from SMILES and then write AMBER topology. There are still a few other thorns, but before I forgot, I wanted to say that ParmEd can successfully write |
@slochower - it's excellent that you can get it to work, though odd that it fails from a mol2 file. Have you checked what happens if you write your molecule built from SMILES to a mol2 file, read it in again, and then try? If this works, it would shed light on what the problem is (as you'd be able to compare the mol2 file that works with the one that doesn't) and if it doesn't work, it would highlight that there's an issue with something that happens going to mol2 format. Sorry you had so much headache here. It's obvious that cyclic hosts are a challenging test case for some of our machinery (and by "our" I don't mean just ours, but the field's, including ours). |
That's a great question. First, if I write out a |
Regarding number of conformations -- did you generate 200 conformations for the charges, or ask it to generate up to 200 conformations? REgarding mol2 though, it sounds like it's some sort of processing that happens going to mol2 format (in order to conform to format specs, typically) which is causing problems here. Interesting. Probably I should bring this up with OpenEye support as they'd likely be able to help track down what's different. |
I'm going to close this issue here because I think we'll address this in a more central location when we discuss other potential force field conversion issues and/or deal with an updated |
I'm dropping a note here to mention that reading in cyclic molecules with non-unique atom names can cause an error with
ff.createSystem
as detailed here. I'll update this issue once we decide on a robust solution.The text was updated successfully, but these errors were encountered: