Introducing a new way to review your PRs.

Read the announcement

rdkit / rdkit

The official sources for the RDKit library

View on GitHub

20 documents · Updated Nov 23, 2026

docs / cross-language-and-web-integrations

Cross-language and web integrations

RDKit keeps its main chemistry model in native code and exposes selected capabilities through Java, C#, C, JavaScript, and PostgreSQL interfaces. These interfaces let applications parse, edit, search, draw, and measure molecules without a Python runtime. For the Python-first view, see Python API and native bindings; for related workflows, see Python chemistry workflows.

Integration model

Capability boundary

The integration layer maps a common molecule and reaction model to the data types expected by each host. Text formats such as SMILES, SMARTS, mol blocks, JSON, and InChI carry structures between systems, while binary molecule data supports direct reuse inside native and database interfaces.

The main access paths have different goals:

Access pathMain settingMain value
Java wrapperJava Virtual Machine (JVM) applicationsA broad object-oriented RDKit API backed by native code
C# wrapper.NET applicationsA native-backed RDKit API for C# callers
MinimalLib JavaScriptBrowsers and web appsIn-page chemistry, drawing, and search through WebAssembly
CFFI libraryC and foreign-function interfacesA small C ABI for languages that can call shared libraries
PostgreSQL cartridgeSQL databasesStored molecule types, indexed search, descriptors, and fingerprints
External tool modulesOptional chemistry servicesIdentifiers, 2D and 3D analysis, surface area, and file support

The same native chemistry services can therefore serve a desktop JVM or .NET program, a browser, a database query, or another language with an FFI. The surface is not identical in each path because web and CFFI builds select a useful subset and optional tools are enabled only when their support is built.

This diagram shows how a host turns a structure into an RDKit result through one of the supported access paths.

flowchart LR
    H[Host application] --> A{Access path}
    A --> J[Java wrapper]
    A --> N[C# wrapper]
    A --> W[JavaScript WebAssembly]
    A --> C[C CFFI]
    A --> P[PostgreSQL cartridge]
    J --> R[Native RDKit chemistry]
    N --> R
    W --> R
    C --> R
    P --> R
    R --> O[Structure, drawing, search result, descriptor, or fingerprint]

References: README.md• L8-19 Code/…/README.md• L9-24 Code/…/CMakeLists.txt• L1-6 Code/…/CMakeLists.txt• L3-11

Java and .NET access

SWIG wrapper surface

The Java wrapper gives JVM programs access to the native RDKit object model through a generated Java package and a native library. Its surface covers the central molecule and reaction tasks, including parsing and writing, atom and bond access, descriptors, fingerprints, substructure matching, conformers, force fields, reactions, drawing, standardization, distance-geometry embedding, and 2D and 3D molecule alignment. The related C# wrapper exposes the same broad native chemistry model to .NET programs.

These wrappers are assembled from SWIG interface definitions. The Java build produces org.RDKit.jar plus a separate documentation jar. The C# build produces a native module and a managed wrapper assembly. Optional services such as InChI, Avalon fingerprints, ChemDraw support, Cairo drawing, and compressed streams appear only when their matching build support is present.

The wrapper also keeps collection values safe across the language boundary. Ring data that native code exposes as non-owning views is copied into owned vector values for Java and C#, while the Python binding presents corresponding ring collections as tuples. This gives each host a stable collection value instead of exposing a native view with a shorter lifetime.

The wrapper tests cover the language boundaries as broad integration surfaces. They check that managed callers can create and inspect chemistry objects, use major chemistry services, and receive native errors in a usable form. Ring tests also confirm that Java callers can inspect ring membership and retrieve ring and member collections. Alignment tests check conformer alignment, atom maps, weights, best RMS matching, O3A scoring, and the behavior of alignment results after the aligner is released. The wrapper keeps the input molecules available for an active alignment object and returns independent copies of match data where the native service owns the original data. The distance-geometry boundary also exposes molecule embedding, multiple conformers, constraints, and named embedding parameter sets to Java callers.

References: Code/…/Alignment.i• L14-138 Code/…/RingInfo.i• L40-92 Code/…/RingInfo.cpp• L20-69 Code/…/GraphMolJava.i• L165-215 Code/…/ChemTests.java• L38-80 Code/…/AlignTests.java• L88-345 Code/…/CMakeLists.txt• L1-6 Code/…/CMakeLists.txt• L31-53 Code/…/DistGeom.i• L43-83 Code/…/DistGeom.i• L109-218 Code/…/CMakeLists.txt• L103-134 Code/…/CMakeLists.txt• L138-171 Code/…/DistanceGeometryTests.java• L317-541 Code/…/GraphMolCSharp.i• L70-122 Code/…/GraphMolCSharp.i• L199-261 Code/…/AlignTest.cs• L44-303

Browser and native access

MinimalLib web surface

MinimalLib is a focused RDKit service for web applications. It compiles selected native chemistry functions to WebAssembly and presents JavaScript classes such as Mol, MolList, and Reaction. The official @rdkit/rdkit package supplies the JavaScript loader, the WebAssembly binary, and generated TypeScript declarations with no runtime package dependencies, so a web app can keep molecule work in the browser while adding its own higher-level components.

The web surface is designed around common interactive tasks. It accepts and returns standard chemical text and JSON, creates SVG or canvas drawings, calculates descriptors and fingerprints, performs substructure searches, edits properties and hydrogens, creates coordinates, aligns a molecule to a template, and supports selected reaction and library-search features. Binary data uses JavaScript typed arrays when that is a better fit for pickles, fingerprints, or PNG metadata. Alignment can report the atom and bond match, align without changing bond lengths, or generate fallback coordinates when the caller allows a failed match.

MinimalLib is intentionally smaller than the full RDKit API. Build options add reaction handling, substructure libraries, maximum common substructure search, MMPA fragmentation, molecule zipping, and R-group decomposition. The demos show the same surface supporting molecule and reaction drawings, aligned depictions, and R-group result tables. The package is built and published from RDKit, while web documentation and higher-level components remain outside this focused package.

This diagram shows the normal browser lifecycle from loading the module to returning a result to the page.

sequenceDiagram
    participant Page as Web page
    participant Module as MinimalLib WebAssembly
    participant Mol as RDKit molecule
    Page->>Module: Load JavaScript and WASM assets
    Module-->>Page: Resolve RDKit module
    Page->>Module: Parse SMILES, mol block, or JSON
    Module->>Mol: Create native molecule object
    Page->>Mol: Draw, search, edit, align, or calculate
    Mol-->>Page: Return text, JSON, SVG, canvas output, or typed data

References: Code/…/README.md• L9-24 Code/…/README.md• L26-50 Code/…/CMakeLists.txt• L3-46 Code/…/jswrapper.cpp• L526-595 Code/…/jswrapper.cpp• L785-940 Code/…/package.json• L1-28 Code/…/demo.html• L19-29 Code/…/rgd_demo.html• L129-198 Code/…/tests.js• L564-770

MinimalLib distribution lifecycle

The MinimalLib distribution is produced as a versioned browser package from either the local RDKit source tree or a selected Git source. Its build flow prepares WebAssembly dependencies, builds the focused module, derives the package version from that module, runs the JavaScript checks, validates the NPM package, and exports the matching JavaScript, WebAssembly, and TypeScript files.

This flow keeps release artifacts tied to one RDKit source choice and one package version. The same process can build a local change for development or a named branch for a release.

This diagram shows how source selection becomes a browser package.

flowchart LR
    S[Local source or Git branch] --> D[WebAssembly dependencies]
    D --> B[MinimalLib build]
    B --> T[JavaScript and package checks]
    T --> E[JavaScript, WASM, and TypeScript package]

References: Code/…/build_rdkitjs.sh• L3-35 Code/…/01_deps.Dockerfile• L15-24 Code/…/docker_compose_build_minimallib.yml• L1-72 Code/…/03_build.Dockerfile• L58-120 Code/…/05_test.Dockerfile• L1-10 Code/…/package.json• L1-19

CFFI surface

The CFFI library provides a C foreign-function interface (CFFI) and application binary interface (ABI) for hosts that cannot use Boost.Python or SWIG. A C or foreign-language caller passes text or serialized molecule data to exported functions and receives text, JSON, fingerprints, drawings, or updated serialized molecules. This makes the selected MinimalLib services usable from languages with a C calling interface, while the shared library build can also include broader native services such as standardization, distance geometry, and template-based 2D alignment.

The CFFI contract separates read operations from updates. Read operations return allocated values or arrays. Update operations accept a molecule buffer by address and replace it with the changed molecule. The caller must use the matching release functions for returned memory and arrays.

The interface includes parsing, format conversion, substructure matching, SVG drawing, descriptors, several fingerprint families, standardization, coordinate generation and alignment, properties, logging, and PNG molecule metadata. InChI and Avalon functions are conditional because they depend on optional native libraries.

References: Code/…/CMakeLists.txt• L49-103 Code/…/cffiwrapper.h• L23-57 Code/…/cffiwrapper.h• L59-117 Code/…/cffiwrapper.h• L119-188 Code/…/cffiwrapper.cpp• L94-121 Code/…/cffiwrapper.cpp• L279-321 Code/…/cffi_test.c• L1027-1347

PostgreSQL cartridge

Database molecule model

The PostgreSQL cartridge turns RDKit chemistry into SQL data types and functions. It lets a database store molecules, queries, reactions, and fingerprint forms as typed values instead of treating every structure as plain text.

The cartridge accepts common structure inputs and converts them to its stored types. It can write those values back to SMILES, SMARTS, mol blocks, JSON, pickles, SVG, formulas, InChI, and hash forms. Extended query conversion can return structured query data with alternate tautomers, link-node variants, templates, and the atom or bond changes that define each query. The SQL catalog also exposes reaction conversion and reaction drawing.

The same types support PostgreSQL binary transfer through COPY. Molecules, query molecules, extended query molecules, and reactions can make a binary round trip while keeping null values and their chemical meaning intact. Invalid binary data is rejected as a data error instead of being accepted as a valid chemistry value.

Query molecules keep a separate count contract from normal molecules. Their atom count measures atoms in the query graph, while their heavy-atom count excludes explicit hydrogen query atoms. This lets SQL report useful query counts without treating a query as a fully prepared chemical structure. The PostgreSQL 4.8 update exposes these query-specific count operations as versioned SQL functions so an upgraded extension keeps the query count contract available.

The key types have distinct roles:

TypeRole
molA structure used as a database value and search target
qmolA query structure for substructure work and query-graph counts
xqmolAn extended query value that can carry alternate structures and query context
bfp and sfpDense and sparse fingerprint values
reactionA reaction value with text, binary, and drawing conversions

References: Code/…/rdkit.sql.in• L1-117 Code/…/rdkit.sql.in• L169-240 Code/…/rdkit.sql.in• L252-370 Code/…/rdkit.h• L58-111 Code/…/adapter.cpp• L171-318 Code/…/adapter.cpp• L718-729 Code/…/rdkit_io.c• L63-108 Code/…/rdkit_io.c• L435-480 Code/…/rdkit_io.c• L586-634 Code/…/binary_io.sql• L1-81 Code/…/binary_io.out• L1-109 Code/…/xqm.out• L1-116 Code/…/rdkit--4.7.0--4.8.0.sql.in• L122-131

Database search and calculation interface

The cartridge moves common screening work close to stored data. SQL can calculate descriptors and fingerprints, compare fingerprints with Tanimoto or Dice similarity, run molecule or query-molecule substructure searches, and rank dense-fingerprint neighbors. PostgreSQL GiST indexes support these search paths so large molecule tables can narrow candidates before exact chemistry checks or return nearest neighbors in index order.

The search path combines a fast signature check with the requested chemistry relation. Similarity thresholds and fingerprint sizes are database settings, so the values used to build or query a collection must remain consistent with the search contract. Bitmap similarity operations reject fingerprints with different lengths as an error instead of reading beyond the shorter value. Dense fingerprints also support nearest-neighbor ordering through Tanimoto and Dice distance operators. A regression flow checks that indexed top results match a full scan, including ties that can appear in a different row order. The same SQL surface also provides descriptors, formula and identifier values, scaffold and molecular hashes, query adjustment, and SVG output for database-side workflows.

This diagram shows the high-level database search path.

flowchart LR
    Q[SQL structure or query] --> T[Typed RDKit value]
    T --> S[Fingerprint or molecule signature]
    S --> I[GiST index candidate set]
    I --> E[Exact substructure or similarity check]
    E --> R[Rows and scores]
    T --> K[GiST nearest-neighbor ordering]
    K --> R

The cartridge is an optional PostgreSQL extension. Its build needs PostgreSQL development files and installs both the extension catalog and the native library. The build also runs focused regression groups for molecule behavior, fingerprint search, dense-fingerprint nearest-neighbor ordering, and binary value transfer. The extension must run with compatible RDKit and PostgreSQL library dependencies.

References: Code/…/README.md• L1-21 Code/…/rdkit.sql.in• L403-475 Code/…/rdkit.sql.in• L787-874 Code/…/rdkit.sql.in• L925-991 Code/…/fps.sql• L19-42 Code/…/fps.sql• L81-85 Code/…/fps.out• L272-279 Code/…/molgist.sql• L1-25 Code/…/props.sql• L34-74 Code/…/bfpknn.sql• L1-80 Code/…/bfpknn.out• L1-105 Code/…/bfpknn_data• L1-200 Code/…/bfp_gist.c• L491-679 Code/…/adapter.cpp• L944-970 Code/…/mol_op.c• L283-355 Code/…/rdkit_io.c• L63-108 Code/…/rdkit_io.c• L435-480 Code/…/rdkit_io.c• L586-634 Code/…/binary_io.out• L1-109 Code/…/CMakeLists.txt• L104-159 Code/…/CMakeLists.txt• L235-239 Code/…/Makefile• L58-70

External chemistry tools

Optional tool services

External modules add focused chemistry services that are not part of the central molecule model. RDKit wraps these services behind RDKit-facing APIs so that native code and selected language bindings can use them as part of a larger workflow. Each service is optional and has its own build switch and dependency.

ServiceRDKit-facing capabilityTypical result
InChIConvert molecules or mol blocks to InChI and InChIKey, and read InChIA standard chemical identifier or a parsed molecule
Avalon ToolkitGenerate Avalon fingerprintsA fingerprint for screening or comparison
CoordGenGenerate 2D coordinates, with optional template constraintsA readable 2D depiction
FreeSASAClassify atoms and calculate solvent accessible surface areaAtom and molecule surface-area values
YAeHMOPRun an extended Hückel calculationCharges, orbital data, energies, and matrices
PubChem shapePrepare, align, transform, and score 3D shapesShape and color similarity scores
ChemDrawRead ChemDraw molecule and reaction data, with optional query preservationRDKit molecules or reactions from ChemDraw formats

These services connect to the other access paths where the build includes them. For example, InChI and Avalon are conditional parts of MinimalLib and the PostgreSQL cartridge. Java and C# also include optional interface files for InChI and Avalon. The analysis tools YAeHMOP, FreeSASA, and PubChem shape have dedicated native APIs and language wrappers, while CoordGen also supplies the coordinate service used by depiction flows.

References: External/CMakeLists.txt• L1-14 External/…/inchi.h• L41-114 External/…/CMakeLists.txt• L78-100 External/…/CoordGen.h• L24-56 External/…/RDFreeSASA.h• L55-128 External/…/EHTTools.h• L21-46 External/…/PubChemShape.hpp• L102-169 External/…/chemdrawreaction.h• L40-63 Code/…/GraphMolCSharp.i• L340-347

External service boundaries

The external modules keep a clear boundary between RDKit structures and tool-specific input. RDKit supplies a molecule, reaction, conformer, or coordinate set. The tool performs one focused task and returns a score, identifier, coordinate set, analysis result, or converted object. This keeps optional dependencies from defining the behavior of the core molecule APIs.

The boundary also explains why support is not uniform. Some tools return values that fit directly into a language wrapper. Others depend on build-time data or a specific input state, such as 3D coordinates for shape work or atom radii for surface-area work. ChemDraw-backed CDXML parsing can also preserve query atoms and bonds when query parsing is enabled. Unsupported query constructs can either produce warnings or raise errors, based on the parsing policy. A host must select the service and build support that match its workflow.

References: External/…/RDFreeSASA.h• L69-112 External/…/EHTTools.h• L23-46 External/…/PubChemShape.hpp• L115-169 External/…/reaction.h• L44-83 External/…/CMakeLists.txt• L3-16 External/…/CMakeLists.txt• L61-123 Code/…/rdmolfiles.cpp• L2701-2728

Change checklist

When these files or sections are changed, remember to consider these:

  • A Java or C# API change must stay aligned across the SWIG interface set, generated managed artifacts, native link list, exception mapping, object lifetime rules, and feature-specific build flags.
  • A native collection-view change must keep Python conversions and Java or C# owned collection values aligned with the lifetime rules of the native API.
  • A new alignment operation must stay aligned across Java and C# method shapes, match and weight result ownership, conformer handling, and native error behavior.
  • A MinimalLib change must keep the C++ molecule contract, the Emscripten JavaScript bindings, the generated TypeScript declarations, the NPM package layout, and the CFFI names and data ownership rules aligned.
  • A MinimalLib release change must keep the selected source revision, package version, exported JavaScript and WebAssembly files, and package dry-run checks in agreement.
  • A change to serialized molecule, fingerprint, or extended-query data must be checked against CFFI callers, PostgreSQL storage and comparison functions, and any version update scripts.
  • A PostgreSQL binary send or receive change must keep the mol, qmol, xqmol, and reaction type contracts aligned with COPY round trips, null handling, malformed-input errors, and the registered regression group.
  • A PostgreSQL function or overload change must stay aligned across the SQL catalog, its C entry point, SQL behavior checks, and the matching version-update script.
  • A dense-fingerprint nearest-neighbor change must stay aligned across the GiST distance methods, SQL distance operators, fingerprint-size settings, and the indexed-versus-scan regression data.
  • A fingerprint comparison change must keep bitmap-length validation aligned across the PostgreSQL adapter, SQL similarity functions, and the expected regression errors.
  • A new optional chemistry tool must be wired into its build switch and into each intended wrapper; enabling the native library alone does not expose it to JavaScript, Java, C#, or SQL.
  • A drawing, coordinate, or template-alignment change must be checked across SVG output, browser canvas output, CFFI molecule updates, PostgreSQL drawing functions, and the selected coordinate backend.
  • A CDXML query change must keep the native parser behavior, the Python parser parameters, and the ChemDraw-backed query conversion policy aligned.

Important failure modes

TriggerConsequenceGuard
JavaScript, WebAssembly, and generated declaration files come from different buildsThe package can fail to load or expose a mismatched APIExport and publish the artifacts from one MinimalLib build
JavaScript and WebAssembly assets are deployed in different locationsMinimalLib cannot complete module loadingDeploy the matching assets together as described by Code/…/README.md
A caller uses an optional feature without its build supportThe related binding or service is absentCheck the build feature before exposing the capability to a host
A PostgreSQL binary payload does not match its RDKit typeCOPY rejects the value with a data error instead of creating a usable molecule, query, or reactionKeep send and receive formats paired and retain malformed-payload regression coverage
A wrapper exposes a non-owning native collection view directlyA host caller can receive a value whose lifetime does not match the native objectConvert view data to host-owned values at the language boundary
An alignment object outlives its input molecules without a host-language lifetime guardA later alignment or transform call can use invalid native molecule referencesKeep input molecules alive for the alignment object's lifetime
C# receives a native exception that is not handled by the wrapper boundaryThe caller receives only a generic managed application errorKeep native exception mappings current in GraphMolCSharp.i
CFFI output or molecule arrays are not released with the matching release callsNative memory remains allocatedPair returned buffers with free_ptr or free_mol_array
PostgreSQL loads the extension with incompatible RDKit or C++ runtime librariesCREATE EXTENSION rdkit fails to load the native libraryBuild against the target PostgreSQL environment and verify its library path
Fingerprints with incompatible bitmap sizes are comparedPostgreSQL raises a length error instead of returning a similarity valueKeep fingerprint sizes consistent for stored and query values, and handle the validation error
A normal-molecule atom count is used for a query moleculeExplicit query hydrogens can be counted incorrectly or trigger a query-state errorUse the query-specific atom and heavy-atom count operations
An extension upgrade skips the matching version update scriptNew or changed SQL functions, including query count operations, are not available in the upgraded databaseApply the versioned PostgreSQL update for the installed extension version
Shape alignment receives a molecule without the needed conformer dataShape preparation or scoring cannot produce a useful resultProvide the intended 3D conformer before using shape services
An extended query payload is treated as a plain molecule valueTautomer, link-node, or query-change information is lostPreserve the xqm_type and its structured fields through SQL and client boundaries
CDXML query parsing is left disabled for a query documentQuery atom or bond constraints are not preserved in the returned moleculeEnable parseQueries when the input carries query constructs
Unsupported CDXML query constructs are handled with strict parsing enabledThe parse raises an error instead of returning a molecule with a warningUse strictQueryParsing only when rejection of unsupported query content is required

Key files

FileWhy to read it
README.mdDefines the repository-wide language and database integration goals
Code/JavaWrappers/gmwrapper/GraphMolJava.iShows the Java-facing chemistry and data model at a high level
Code/JavaWrappers/RingInfo.iShows how ring collections cross the managed-language boundary as owned values
Code/…/RingInfo.cppShows how the corresponding Python ring collections cross the native boundary as tuples
Code/…/ChemTests.javaShows Java checks for ring membership and ring collection access
Code/JavaWrappers/Alignment.iShows the shared alignment boundary used by the Java and C# wrappers
Code/…/CMakeLists.txtShows how the Java jar, native module, optional services, and tests relate
Code/…/AlignTests.javaShows the Java boundary for molecule alignment, O3A, conformers, result ownership, and errors
Code/…/DistanceGeometryTests.javaShows the Java boundary for molecule embedding, conformers, constraints, and embedding parameters
Code/JavaWrappers/DistGeom.iShows how distance-geometry embedding is shaped for the Java API
Code/JavaWrappers/csharp_wrapper/GraphMolCSharp.iShows the C#-facing chemistry surface and managed exception boundary
Code/…/AlignTest.csShows the C# boundary for alignment, conformers, result ownership, and native errors
Code/…/CMakeLists.txtShows the C# wrapper build, optional features, native dependency, and test paths
Code/…/README.mdExplains the browser use case, package assets, and release model
Code/…/CMakeLists.txtShows the selected native services and feature gates for WebAssembly and CFFI builds
Code/…/minilib.hDefines the focused molecule, reaction, search, drawing, and calculation surface
Code/…/jswrapper.cppShows the JavaScript and WebAssembly-facing classes and browser results
Code/…/cffiwrapper.hDefines the C ABI and its main data exchange groups
Code/…/cffi_test.cIllustrates the C ABI contract for template alignment, coordinate updates, and result ownership
Code/…/build_rdkitjs.shShows how local or Git source becomes a versioned browser distribution
Code/MinimalLib/docker/01_deps.DockerfileShows the WebAssembly toolchain and native dependencies used for the browser build
Code/MinimalLib/docker/03_build.DockerfileShows how the focused module becomes tested JavaScript, WebAssembly, and TypeScript package files
Code/MinimalLib/docker/05_test.DockerfileShows the package archive and publish dry-run checks
Code/…/docker_compose_build_minimallib.ymlShows the staged dependency, source, build, and package-test flow
Code/…/package.jsonDefines the published JavaScript, WebAssembly, and TypeScript package surface
Code/…/tests.jsSummarizes the browser wrapper guarantees for parsing, drawing, fingerprints, search, reactions, and aligned coordinates
Code/PgSQL/rdkit/rdkit.sql.inDefines the SQL types, conversions, calculations, and search functions
Code/…/rdkit.hDefines the shared PostgreSQL boundary for molecule, query, fingerprint, and reaction values
Code/…/adapter.cppConnects SQL values to native chemistry operations and query-aware descriptors
Code/…/mol_op.cExposes molecule and query operations as PostgreSQL-callable functions
Code/…/rdkit_io.cConnects PostgreSQL text and binary value transfer to molecules, query molecules, and reactions
Code/…/props.sqlExercises the SQL descriptor, query-count, and drawing contract
Code/…/binary_io.sqlChecks binary COPY round trips and malformed payload handling for chemistry types
Code/PgSQL/rdkit/expected/props.outRecords expected SQL results for descriptors and query counts
Code/PgSQL/rdkit/expected/binary_io.outRecords the expected binary transfer results and data errors
Code/PgSQL/rdkit/update_sql/rdkit--4.7.0--4.8.0.sql.inShows how the PostgreSQL function catalog is updated between extension versions
Code/PgSQL/rdkit/expected/xqm.outIllustrates the structured extended-query output and its alternate molecule forms
Code/…/molgist.sqlIllustrates indexed molecule and query-molecule search
Code/…/fps.sqlIllustrates fingerprint similarity queries, threshold use, and length validation
Code/PgSQL/rdkit/expected/fps.outRecords expected fingerprint similarities and errors for mismatched bitmap lengths
Code/…/bfpknn.sqlChecks indexed Tanimoto and Dice nearest-neighbor ordering against full scans
Code/PgSQL/rdkit/data/bfpknn_dataSupplies a multi-page set of similar molecules for the nearest-neighbor check
Code/PgSQL/rdkit/expected/bfpknn.outRecords the expected indexed top results and scan comparison
Code/…/bfp_gist.cDefines indexed dense-fingerprint filtering, distance ordering, and result reconstruction
Code/…/CMakeLists.txtShows the PostgreSQL extension build, install boundary, and regression groups
Code/PgSQL/rdkit/MakefileShows the PostgreSQL extension build variables, linked RDKit services, and regression groups
External/CMakeLists.txtLists the optional external chemistry services and their build gates
External/…/inchi.hDefines the identifier conversion boundary
External/…/RDFreeSASA.hDefines the surface-area analysis boundary
External/…/EHTTools.hDefines the extended Hückel analysis result boundary
External/…/PubChemShape.hppDefines the 3D shape preparation, alignment, and scoring boundary
External/…/chemdrawreaction.hDefines ChemDraw reaction conversion into RDKit reactions
Code/…/rdmolfiles.cppDefines the Python-facing CDXML format and query parsing options