Dear Gonzalo,

On Thu, Apr 12, 2012 at 1:14 PM, Gonzalo Colmenarejo-Sanchez
<gonzalo.2.colmenar...@gsk.com> wrote:
> Hi,
>
> Does anyone have a Daylight-like fingerprint example C++ source code that
> would be willing to share?

The RDKit function RDKFingerprintMol() can be used to generate a
fingerprint that is, I believe, similar to the Daylight fingerprint.
By default the function includes branched subgraphs instead of just
linear paths, you can get closer to the Daylight fingerprint by
calling RDKFingerprintMol with the branchedPaths argument set to
false.

The source is here, starting at line 110:
http://rdkit.svn.sourceforge.net/viewvc/rdkit/trunk/Code/GraphMol/Fingerprints/Fingerprints.cpp?revision=2017&view=markup

Note: there's a lot of room for improvement in how the paths are
hashed to actually set fingerprint bits.

-greg

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to