-
Notifications
You must be signed in to change notification settings - Fork 30
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
openmoltools.openeye.molecule_to_mol2 changes atom names #215
Comments
I agree with this. On Fri, Apr 8, 2016 at 6:37 PM, John Chodera [email protected]
David Mobley |
I did not know that, thanks! I don't think this will break anything |
I made few experiments and as far I can tell it is not possible to save a multi-structure OE molecule with a single call of |
Um, seems like you should be using the high-level writer with the ofs = oechem.oemolostream( os.path.join(outdir, cid+'_n.mol2')) As recommended in the document John linked to, OEWriteConstMolecule can A tangential issue we may need to think through - right now, quacpac This is a known issue at OpenEye (Christopher Bayly and others there are Thanks. On Fri, Apr 15, 2016 at 3:15 PM, Andrea Rizzi [email protected]
David Mobley |
Sorry if I wasn't clear (or if I don't understand). The problem is that we don't want use neither |
The forcefield flavor high level writer does not change the atom type DM On Fri, Apr 15, 2016 at 3:39 PM, Andrea Rizzi [email protected]
David Mobley |
Oh, cool! Sorry if I misunderstood. |
Do test it though. This is what it is SUPPOSED to do, and it seemed to work On Fri, Apr 15, 2016 at 3:46 PM, Andrea Rizzi [email protected]
David Mobley |
molecule_to_mol2
uses theoechem
high-level molecule writer, which modifies/normalizes many properties of the molecule. This means, for example, that atom names from a PDB residue (e.g.HH31
,CH3
,ND
) will be renamed to Tripos standards (e.g.H1
,C1
,N1
).I would like to change this to use the low-level molecule writer, which would preserve the atom names.
Would this break anyone's code?
I can add this as an optional flag and retain the default behavior, but I think the default behavior should be to preserve existing information, rather than corrupt/normalize it.
The text was updated successfully, but these errors were encountered: