Searching fast fingerprint database

A program that initializes a fast fingerprint database with the fingerprint file generated from the previous example and then performs a fingerprint search to identify molecules which are similar to a given query molecule.

../_images/searchfastfp.png

Schematic representation of fast fingerprint search process

See also

Example code in the Generating fingerprint file for fast fingerprint search section

Command Line Interface

A description of the command line interface can be obtained by executing the program with the –help argument.

prompt> searchfastfp --help

will generate the following output:

Simple parameter list

 fingerprint database options
   -memorytype : Fingerprint database memory type (memory-mapped or
                 in-memory)

 fingerprint database options
   -limit : Maximum number of similarity scores
   -simfunc : Similarity measure

 input/output options
   -fpdbfname : Input fast fingerprint database filename
   -molfname : Input molecule filename
   -out : Output molecule filename
   -query : Input query filename

Code

Download code

searchfastfp.cpp and searchfastfp.txt interface file