Building and searching fingerprint database

A program that builds a fingerprint database on-the-fly and then performs fingerprint search to identify molecules which are similar to a given query molecule

Command Line Interface

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

prompt> searchfp --help

will generate the following output:

Simple parameter list

 fingerprint database search options
   -cutoff : Similarity cutoff value
   -descending : Order of similarity scores
   -limit : Maximum number of similarity scores
   -simfunc : Similarity measure

 fingerprint options
   -atomtype : Fingerprint atom type
   -bondtype : Fingerprint bond type
   -fptype : Fingerprint type
   -maxdistance : Maximum number of bonds/radius in path/circular/tree
   -mindistance : Minimum number of bonds/radius in path/circular/tree
   -numbits : Size of bitvector

 input/output options
   -molfname : Input molecule filename
   -out : Output molecule filename
   -query : Input query filename

Code

Download code

searchfp.cpp and searchfp.txt interface file