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 path | Main setting | Main value |
|---|---|---|
| Java wrapper | Java Virtual Machine (JVM) applications | A broad object-oriented RDKit API backed by native code |
| C# wrapper | .NET applications | A native-backed RDKit API for C# callers |
| MinimalLib JavaScript | Browsers and web apps | In-page chemistry, drawing, and search through WebAssembly |
| CFFI library | C and foreign-function interfaces | A small C ABI for languages that can call shared libraries |
| PostgreSQL cartridge | SQL databases | Stored molecule types, indexed search, descriptors, and fingerprints |
| External tool modules | Optional chemistry services | Identifiers, 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:
| Type | Role |
|---|---|
mol | A structure used as a database value and search target |
qmol | A query structure for substructure work and query-graph counts |
xqmol | An extended query value that can carry alternate structures and query context |
bfp and sfp | Dense and sparse fingerprint values |
reaction | A 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.
| Service | RDKit-facing capability | Typical result |
|---|---|---|
| InChI | Convert molecules or mol blocks to InChI and InChIKey, and read InChI | A standard chemical identifier or a parsed molecule |
| Avalon Toolkit | Generate Avalon fingerprints | A fingerprint for screening or comparison |
| CoordGen | Generate 2D coordinates, with optional template constraints | A readable 2D depiction |
| FreeSASA | Classify atoms and calculate solvent accessible surface area | Atom and molecule surface-area values |
| YAeHMOP | Run an extended Hückel calculation | Charges, orbital data, energies, and matrices |
| PubChem shape | Prepare, align, transform, and score 3D shapes | Shape and color similarity scores |
| ChemDraw | Read ChemDraw molecule and reaction data, with optional query preservation | RDKit 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, andreactiontype contracts aligned withCOPYround 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
| Trigger | Consequence | Guard |
|---|---|---|
| JavaScript, WebAssembly, and generated declaration files come from different builds | The package can fail to load or expose a mismatched API | Export and publish the artifacts from one MinimalLib build |
| JavaScript and WebAssembly assets are deployed in different locations | MinimalLib cannot complete module loading | Deploy the matching assets together as described by Code/…/README.md |
| A caller uses an optional feature without its build support | The related binding or service is absent | Check the build feature before exposing the capability to a host |
| A PostgreSQL binary payload does not match its RDKit type | COPY rejects the value with a data error instead of creating a usable molecule, query, or reaction | Keep send and receive formats paired and retain malformed-payload regression coverage |
| A wrapper exposes a non-owning native collection view directly | A host caller can receive a value whose lifetime does not match the native object | Convert view data to host-owned values at the language boundary |
| An alignment object outlives its input molecules without a host-language lifetime guard | A later alignment or transform call can use invalid native molecule references | Keep input molecules alive for the alignment object's lifetime |
| C# receives a native exception that is not handled by the wrapper boundary | The caller receives only a generic managed application error | Keep native exception mappings current in GraphMolCSharp.i |
| CFFI output or molecule arrays are not released with the matching release calls | Native memory remains allocated | Pair returned buffers with free_ptr or free_mol_array |
| PostgreSQL loads the extension with incompatible RDKit or C++ runtime libraries | CREATE EXTENSION rdkit fails to load the native library | Build against the target PostgreSQL environment and verify its library path |
| Fingerprints with incompatible bitmap sizes are compared | PostgreSQL raises a length error instead of returning a similarity value | Keep fingerprint sizes consistent for stored and query values, and handle the validation error |
| A normal-molecule atom count is used for a query molecule | Explicit query hydrogens can be counted incorrectly or trigger a query-state error | Use the query-specific atom and heavy-atom count operations |
| An extension upgrade skips the matching version update script | New or changed SQL functions, including query count operations, are not available in the upgraded database | Apply the versioned PostgreSQL update for the installed extension version |
| Shape alignment receives a molecule without the needed conformer data | Shape preparation or scoring cannot produce a useful result | Provide the intended 3D conformer before using shape services |
| An extended query payload is treated as a plain molecule value | Tautomer, link-node, or query-change information is lost | Preserve the xqm_type and its structured fields through SQL and client boundaries |
| CDXML query parsing is left disabled for a query document | Query atom or bond constraints are not preserved in the returned molecule | Enable parseQueries when the input carries query constructs |
| Unsupported CDXML query constructs are handled with strict parsing enabled | The parse raises an error instead of returning a molecule with a warning | Use strictQueryParsing only when rejection of unsupported query content is required |
Key files
| File | Why to read it |
|---|---|
| README.md | Defines the repository-wide language and database integration goals |
Code/JavaWrappers/gmwrapper/GraphMolJava.i | Shows the Java-facing chemistry and data model at a high level |
Code/JavaWrappers/RingInfo.i | Shows how ring collections cross the managed-language boundary as owned values |
| Code/…/RingInfo.cpp | Shows how the corresponding Python ring collections cross the native boundary as tuples |
| Code/…/ChemTests.java | Shows Java checks for ring membership and ring collection access |
Code/JavaWrappers/Alignment.i | Shows the shared alignment boundary used by the Java and C# wrappers |
| Code/…/CMakeLists.txt | Shows how the Java jar, native module, optional services, and tests relate |
| Code/…/AlignTests.java | Shows the Java boundary for molecule alignment, O3A, conformers, result ownership, and errors |
| Code/…/DistanceGeometryTests.java | Shows the Java boundary for molecule embedding, conformers, constraints, and embedding parameters |
Code/JavaWrappers/DistGeom.i | Shows how distance-geometry embedding is shaped for the Java API |
Code/JavaWrappers/csharp_wrapper/GraphMolCSharp.i | Shows the C#-facing chemistry surface and managed exception boundary |
| Code/…/AlignTest.cs | Shows the C# boundary for alignment, conformers, result ownership, and native errors |
| Code/…/CMakeLists.txt | Shows the C# wrapper build, optional features, native dependency, and test paths |
| Code/…/README.md | Explains the browser use case, package assets, and release model |
| Code/…/CMakeLists.txt | Shows the selected native services and feature gates for WebAssembly and CFFI builds |
| Code/…/minilib.h | Defines the focused molecule, reaction, search, drawing, and calculation surface |
| Code/…/jswrapper.cpp | Shows the JavaScript and WebAssembly-facing classes and browser results |
| Code/…/cffiwrapper.h | Defines the C ABI and its main data exchange groups |
| Code/…/cffi_test.c | Illustrates the C ABI contract for template alignment, coordinate updates, and result ownership |
| Code/…/build_rdkitjs.sh | Shows how local or Git source becomes a versioned browser distribution |
Code/MinimalLib/docker/01_deps.Dockerfile | Shows the WebAssembly toolchain and native dependencies used for the browser build |
Code/MinimalLib/docker/03_build.Dockerfile | Shows how the focused module becomes tested JavaScript, WebAssembly, and TypeScript package files |
Code/MinimalLib/docker/05_test.Dockerfile | Shows the package archive and publish dry-run checks |
| Code/…/docker_compose_build_minimallib.yml | Shows the staged dependency, source, build, and package-test flow |
| Code/…/package.json | Defines the published JavaScript, WebAssembly, and TypeScript package surface |
| Code/…/tests.js | Summarizes the browser wrapper guarantees for parsing, drawing, fingerprints, search, reactions, and aligned coordinates |
Code/PgSQL/rdkit/rdkit.sql.in | Defines the SQL types, conversions, calculations, and search functions |
| Code/…/rdkit.h | Defines the shared PostgreSQL boundary for molecule, query, fingerprint, and reaction values |
| Code/…/adapter.cpp | Connects SQL values to native chemistry operations and query-aware descriptors |
| Code/…/mol_op.c | Exposes molecule and query operations as PostgreSQL-callable functions |
| Code/…/rdkit_io.c | Connects PostgreSQL text and binary value transfer to molecules, query molecules, and reactions |
| Code/…/props.sql | Exercises the SQL descriptor, query-count, and drawing contract |
| Code/…/binary_io.sql | Checks binary COPY round trips and malformed payload handling for chemistry types |
Code/PgSQL/rdkit/expected/props.out | Records expected SQL results for descriptors and query counts |
Code/PgSQL/rdkit/expected/binary_io.out | Records the expected binary transfer results and data errors |
Code/PgSQL/rdkit/update_sql/rdkit--4.7.0--4.8.0.sql.in | Shows how the PostgreSQL function catalog is updated between extension versions |
Code/PgSQL/rdkit/expected/xqm.out | Illustrates the structured extended-query output and its alternate molecule forms |
| Code/…/molgist.sql | Illustrates indexed molecule and query-molecule search |
| Code/…/fps.sql | Illustrates fingerprint similarity queries, threshold use, and length validation |
Code/PgSQL/rdkit/expected/fps.out | Records expected fingerprint similarities and errors for mismatched bitmap lengths |
| Code/…/bfpknn.sql | Checks indexed Tanimoto and Dice nearest-neighbor ordering against full scans |
Code/PgSQL/rdkit/data/bfpknn_data | Supplies a multi-page set of similar molecules for the nearest-neighbor check |
Code/PgSQL/rdkit/expected/bfpknn.out | Records the expected indexed top results and scan comparison |
| Code/…/bfp_gist.c | Defines indexed dense-fingerprint filtering, distance ordering, and result reconstruction |
| Code/…/CMakeLists.txt | Shows the PostgreSQL extension build, install boundary, and regression groups |
Code/PgSQL/rdkit/Makefile | Shows the PostgreSQL extension build variables, linked RDKit services, and regression groups |
| External/CMakeLists.txt | Lists the optional external chemistry services and their build gates |
| External/…/inchi.h | Defines the identifier conversion boundary |
| External/…/RDFreeSASA.h | Defines the surface-area analysis boundary |
| External/…/EHTTools.h | Defines the extended Hückel analysis result boundary |
| External/…/PubChemShape.hpp | Defines the 3D shape preparation, alignment, and scoring boundary |
| External/…/chemdrawreaction.h | Defines ChemDraw reaction conversion into RDKit reactions |
| Code/…/rdmolfiles.cpp | Defines the Python-facing CDXML format and query parsing options |