Hello all,

According to Noel O'Boyle useful "guiding lights", here is a special
procedure to use MACCS fingerprint method in python pybel links.
Indeed, MACCS is only available in OpenBabel 2.2.3 command line method...

-------
import pybel
pybel.fps.append("MACCS")
pybel._fingerprinters =
pybel._getplugins(pybel.ob.OBFingerprint.FindFingerprint, pybel.fps)
mol = pybel.readstring("smi", "CCCC(=O)Cl")
print mol.calcfp("MACCS").bits
# [103, 107, 114, 115, 132, 134, 147, 154, 155, 160, 164]
-------

Alternatively, Noel advice to use the pybel.py included in cinfony, which
has this feature already.

regards,




-- 
View this message in context: 
http://n4.nabble.com/MACCS-Fingerprints-in-pybel-tp1586488p1586488.html
Sent from the openbabel-discuss mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to