On 6/27/2018 3:39 PM, Geoffrey Hutchison wrote:

OB includes an algorithm to perceive bond orders, but it's hardly foolproof. So 
if you want to ensure bond orders are preserved, don't use those formats.

With PDB, you could convert to mmCIF using either pdb-extract online or download maxit from RCSB. That will calculate the bonds from 3D coordinates and put them in _chem_comp_bond table. Of course doing that that would be a bit back-asswards if you're starting from a format that has correct bond information in the first place.

Dima


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to