> What if you simply compute interatomic distances, and deduce bond existence 
> and type from the distance values (and perhaps angles)?
> But such code it's probably already written somewhere, I think :)

OBMol::ConnectTheDots deduces connections based on interatomic distances with a 
few constraints. For many formats, this can be done (without the more 
time-consuming bond order perception) automatically.

Alex, if you give us a bit more information, we can give you some example code.

Hope that helps,
-Geoff

---
Prof. Geoffrey Hutchison
Department of Chemistry
University of Pittsburgh
tel: (412) 648-0492
email: geo...@pitt.edu
web: http://hutchison.chem.pitt.edu/

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to