GeezerVison is showing github.com — Releases · asad/SMSD
Releases · asad/SMSD
SMSD Pro 8.2.1
asad
released this
03 Nov 10:55
This maintenance update fixes C++ header compilation on Windows, ring
double-bond stereo in drawings, elemental-hydrogen SMARTS with large atom-map
labels and directional SMARTS bonds on aromatic rings. The Python package page
has clearer installation, search-configuration and screening examples, with
links to the
website and user guide.
Package documentation links and the Maven Central version in the release guide
are also corrected.
C++ headers preserve the Windows STRICT and IGNORE macros without expanding
them in their own declarations. Application code that names the corresponding
enum values still needs the documented macro suppression.
In C++ and Python, non-aromatic ring double bonds retain their stored stereo
in generated coordinates and automatic SVG drawings; constrained layouts keep
their fixed coordinates. If no matching layout can be found, coordinate
generation and drawing raise an error (ValueError in Python,
std::invalid_argument in C++) instead of showing the other isomer. This
includes a stored E/Z that the ring cannot take, such as trans in cyclohexene;
8.2.0 drew such molecules without that E/Z. Stored E/Z on aromatic rings, such
as annulenes, may not be reflected in the layout. In the MCP server,
depict_mcs reports such a drawing failure as an error.
In C++ and Python, elemental-hydrogen SMARTS no longer match the oxygen in
methanol when their atom-map label is large. Numeric overflow still reports an
invalid input.
In C++ and Python, the directional SMARTS bonds / and \ also match aromatic
bonds: c/c matches benzene, and C/N=c1/cccc[nH]1, with a direction on an
aromatic ring bond, matches itself as SMARTS. At a double bond, a negated or
alternative direction on such a bond now follows the E/Z of that double bond,
as it already did on a single bond, so a few patterns, such as C/N=c!/c, match
fewer molecules. In Java directional bonds still match only single,
non-aromatic bonds; write a bond that may be aromatic without a direction, as
in cc or c-,:c. A SMARTS taken from a molecule with stereo double bonds on
two neighbouring atoms of an aromatic ring, such as C/C=C/c1ccccc1/C=C/C,
does not match that molecule.
Assets
31
-
sha256:bdfd6380d7cb111d3cad2e77aaa73181387f4b67eb2cc7b8f515556603d8b7f5
422 Bytes
2026-11-03T10:52:52Z
-
sha256:645988cde939b05ce99d23b6a99ffce65d69cfff35a1a5cb7603950c1887888a
419 Bytes
2026-11-03T10:52:52Z
-
sha256:7a46eee6770f106496e246052c55033ba6ee6c6829db5dac94d2c3965e565fe8
2.4 KB
2026-11-03T10:52:52Z
-
sha256:3216922c687ea7567cb4450f3546d20e0b7e213e8a983ca6821852e4e02f5ee7
3.04 KB
2026-11-03T10:52:52Z
-
sha256:6a149fe62ada3e94ee7c12db11d62871386bba0ce5bc24ca595a8427a8563e5a
2.17 MB
2026-11-03T10:52:53Z
-
sha256:c79d90d2d78b05454212ffb300de7dda088539bfe9f96d5859cc917cf6779959
2.12 MB
2026-11-03T10:52:53Z
-
sha256:6c58872db464123a06021a1cb095906863253f949147bdd5331b79fe3e2cf3d7
2.25 MB
2026-11-03T10:52:53Z
-
sha256:b84f03c17e7c6bde74dde3765925883454bf359b974771a5c4fbb4c4cc1c54a3
2.02 MB
2026-11-03T10:52:53Z
-
sha256:aeb797b267cad70b1cadccda38478d10cc9d39112279092be8976650726b3a60
2.17 MB
2026-11-03T10:52:53Z
-
sha256:603c5521046aa0472af2217e47f0dd3f0fb460d0c73a097d3baf56a3c6ce4747
2.12 MB
2026-11-03T10:52:54Z
-
2026-11-03T10:52:49Z
-
2026-11-03T10:52:49Z
-
Loading
Uh oh!
There was an error while loading. Please reload this page.
SMSD Pro 8.2.0
asad
released this
01 Nov 12:42
Exact search on the hardware you already own.
SMSD Pro 8.2.0 brings GPU screening to Apple silicon, publication-ready structure figures and clearer guidance for AI assistants. Exact, provable substructure and maximum common substructure (MCS) search now runs on even more of the hardware researchers already own, from an Apple silicon laptop to a GPU server. Completed searches return the same results as in 8.1.0, so existing pipelines upgrade with confidence.
What's new
- GPU screening on Apple silicon. The new optional
smsd-metal package lets prepared fingerprint screens of large compound libraries run on the Mac's GPU, with exactly the same hits and scores as the CPU. See CPU and GPU screening.
- GPU screening on Windows. A step-by-step guide covers NVIDIA GPUs through WSL2.
- Publication-ready figures. Regular rings, crisp labels and one soft halo over the shared core: gold for MCS, mint for substructure hits. Drawings go straight into papers, theses and slides, and
smsd.highlight.substructure_svg records each hit's search status in the image.
- Errors AI assistants can act on. When a model calls SMSD's chemistry tools with a wrong argument, SMSD names it and lists what it accepts, so the model can correct itself and carry on. See Read a tool result.
- Time limits that hold. Short time limits now hold on very large molecules, so high-throughput pipelines keep to schedule.
- Learn by doing. Seven ready-to-run notebooks, covering MCS and substructure search, fingerprints, library screening, CPU and GPU screening and AI tools, run in Colab and set themselves up.
Built for
- Drug discovery and biotech teams: exact matching and screening from the workstation to the GPU, with every result reporting whether it is complete and proved optimal.
- Academic groups: open source under Apache 2.0, citable by DOI, with figures ready for papers and theses.
- Students: seven notebooks that set themselves up and run in Colab, in the browser.
Get started
python -m pip install "smsd==8.2.0"
New to SMSD? Open the MCS notebook in Colab; it sets itself up. Explore the user guide, notebooks and reference at asad.github.io/SMSD.
Add "smsd-cuda==8.2.0" for NVIDIA GPUs on Linux, or "smsd-metal==8.2.0" on Apple silicon. Wheels cover CPython 3.12–3.15 on Linux (x86_64 and aarch64), Windows (x86_64) and Apple silicon Macs with macOS 14 or later, and run batch work in parallel across CPU cores. Conda users on Linux and macOS can run conda install -c bioinception -c conda-forge smsd. Docker images, the header-only C++17 library and checksums are attached below.
Upgrading from 8.1.0
- Drawings and 2D coordinates have the new look, including the wedges written to MOL files; completed searches and every 8.x API are unchanged.
- Tool refusal messages now carry more detail; code that checks them should match how they start.
- Install
smsd-cuda and smsd-metal at the same version as smsd.
- The Java library and command-line tool are stable and continue to receive bug fixes, while new features arrive in C++ and Python first. Maven Central carries 8.2.0 for both.
Cite SMSD Pro
Rahman, S. A. (2026). SMSD Pro: Coverage-Driven, Tautomer-Aware Maximum Common Substructure Search. ChemRxiv. doi:10.26434/chemrxiv.15001534/v1. Software: doi:10.5281/zenodo.23639199.
Assets
31
Loading
Uh oh!
There was an error while loading. Please reload this page.
SMSD Pro 8.1.0
asad
released this
31 Oct 18:14
SMSD Pro 8.1.0
Exact substructure, maximum common substructure and similarity search, now
ready for data science, AI assistants and large compound
libraries.
About the PyPI files. The 8.1.0 files on PyPI were uploaded manually and
carry no provenance attestation. Their SHA-256 checksums match this release's
SHA256SUMS. From 8.2.0, releases are published through trusted publishing.
What is new
- Works with your data tools. Fingerprints go straight into NumPy, pandas,
Arrow, Polars, scikit-learn and PyTorch, with scikit-learn transformers for
pipelines.
- Chemistry tools for AI assistants. A local MCP server offers eight
molecular tools, from MCS and substructure search to screening and
depiction. Everything runs on your machine.
- Built for large libraries. Memory-mapped fingerprint corpora support
threshold and exact top-k search, Butina clustering and MaxMin selection,
on the CPU or an NVIDIA GPU with the same results.
- Results you can trust. Every substructure and MCS search reports whether
it completed and whether its answer is proved optimal.
Try it
python -m pip install "smsd==8.1.0"
import smsd
mcs = smsd.MCS.find("CC(=O)Oc1ccccc1C(=O)O").match("OC(=O)c1ccccc1O")
print(mcs.matches[0].atom_count, mcs.optimal) # 10 True
Learn more
If SMSD Pro helps your work, a star on GitHub and a
citation help other
chemists find it.
Summary
SMSD Pro 8.1.0 adds Python data and machine-learning adapters, local MCP tools,
packed fingerprint corpora, corpus threshold searches and SMARTS export of MCS
results, and corrects the C++ RDKit adapter. The deprecated 8.x APIs remain
available and supported throughout the 8.x line. The Java library and
command-line tool stay at 8.0.3 on Maven Central. The CPU Docker images carry
the 8.1.0 command-line tool; otherwise the Java changes below are available
only from a source build. The changelog lists every change.
Changes
- Python adapters give fingerprints as NumPy, PyTorch,
SciPy CSR, Arrow, pandas and Polars data, add scikit-learn fingerprint and
similarity transformers, and build PyTorch Geometric graphs with native atom
numbering and no coordinates or stereo. The PyTorch adapters refuse a
conflicting bundled OpenMP runtime; use a shared runtime or build SMSD with
SMSD_BUILD_OPENMP=OFF.
smsd-mcp serves eight local molecular tools over MCP for
MCS, substructure and SMARTS search, fingerprints, similarity, screening,
standardisation and depiction; the registry also exports function definitions
and optional LangChain and LlamaIndex tools. Results are JSON with search
status and limits; no tool contacts a model provider.
- A consolidated API reference, an
llms.txt index and a
guide to connecting AI assistants make the interfaces and
local tools easier to find. New Python examples cover NVIDIA screening checked
against the CPU, an offline chain of the molecular tools and an MCP client.
- The MCP container recipe and
Hugging Face demonstration source use
supplied wheelhouses. They are source examples, not deployed services or
published images. Native SVG helpers highlight existing MCS results.
- Packed fingerprint corpora are read-only memory-mapped
files for threshold and exact top-k scans, Butina clustering and MaxMin
selection. The CPU is the default; backend="cuda" computes exact integer
intersections on the GPU, and "auto" does so when a supported GPU is
available. Clustering decisions stay on the CPU, and cuda_calls counts
completed CUDA calls. All-pairs work is quadratic.
smsd-cuda adds smsd_cuda.preload(),
retained device workspaces for prepared corpora, opt-in CUDA Graph replay
(SMSD_CUDA_GRAPHS=1) and on-device top-k selection.
stream_screen_smiles and stream_screen_many_smiles screen target iterables
in bounded chunks, and warm_start prepares a corpus and returns a first
screen, with the usual TargetCorpus GPU dispatch and CPU fallback.
Substructure.match_corpus and MCS.match_corpus (C++ matchCorpus) decide,
in target order, whether each target contains the query or shares at least a
given number of atoms; a stopped search leaves the answer open. Matching runs
on the CPU; gpu_prefilter=True lets an available GPU pre-screen targets.
- SMARTS export writes MCS matches in C++, Java and Python;
matchWithSmarts (Python match_with_smarts) returns the result and SMARTS
together, and Java SmartsWriter writes whole graphs. Stereo, tautomer,
complete-ring and strict ring-fusion options are rejected. A pattern carries
neither the induced MCIS objective nor the search status.
- Relevant cycles can be counted without listing them:
computeRelevantCycleFamilies (Python compute_relevant_cycle_families)
groups them into families, each with one member and its exact number of
members, and two further functions find the family of a ring or list members
up to a given limit. The grouping into families can depend on the input atom
order.
- The C++ RDKit adapter (
fromRDKit, fromSmiles) keeps each atom's hydrogen
count and specified double-bond E/Z configuration. Aromatic N–H atoms, as in
pyrrole, previously lost their hydrogen.
- SMILES writers and the C++ and Python SMARTS writer reuse ring-closure
numbers and raise an error beyond 99 open closures; SMILES writers also
write long chains without exhausting the stack. Compiled SMARTS evaluate
distinct recursive predicates separately, and bond edits refresh cached rings
and topology. Worker errors in TargetCorpus.prewarm, CPU corpus screening,
C++ path-fingerprint batchFingerprint and batchFingerprintScreen now reach
the caller instead of ending the process.
- Conda recipes build the CPU package and the Linux CUDA package; the
conda guide gives the conda, mamba and Pixi
install routes.
- NOTICE now carries licence notices for the RDKit MACCS key definitions and
pybind11. The smsd-cuda package now ships the CUB and CCCL licences, and its
NOTICE points to them.
Upgrading from 8.0.3
SMSD Pro 8.1.0 supports CPython 3.12–3.15. On Python 3.10 and 3.11, pip
continues to install 8.0.3.
Ring perception works within one fixed, deterministic work limit, the same in
C++, Java and Python and independent of time, thread count and hardware. Very
large fused-ring systems, such as synthetic cages, can reach it. Some ring
systems that 8.0.3 left incomplete now complete, and their ring-dependent
results can change. Where rings stay incomplete, values computed
without the missing rings stay exact; where 8.0.3 computed the rest from
incomplete rings, searches now report LimitReached and other calls raise an
error naming the cause, with the zero-based input index in C++ and Python batch
calls. That error is the new RingBasisUnavailable (Java
RingBasisUnavailableException), which existing std::runtime_error,
RuntimeError and IllegalStateException handlers still catch. A longer
timeout does not change this; see
Results and budgets.
Complete-ring matching uses all relevant cycles, and the new
relevantCyclesTruncated (Python relevant_cycles_truncated) reports when their
enumeration is incomplete. A relevant cycle outside the smallest set of smallest
rings now counts as a complete ring, so a completeRingsOnly result that 8.0.3
reported as proved, sometimes empty, can now be larger. With completeRingsOnly,
Java substructure matching now rejects matches that cover only part of a ring,
as C++ and Python do. ringsTruncated keeps its meaning. Per-atom ring counts,
and with them strict ring-fusion results, can differ from 8.0.3.
SMARTS R<n> (n > 0) uses the same minimum cycle basis in C++ and Java. If
ring perception cannot complete it, an R<n> search that cannot be decided
without it returns LimitReached without matches, which does not prove
absence; other functions that need the basis raise an error, and computeSSSR
and computeRings may return incomplete rings with truncation flags. R and
R0 are unaffected. Ring-size and double-bond stereo fingerprint terms,
aromatic-ring keys (as in MACCS) and SMARTS keys whose search needs the basis
also raise an error then. Java now uses the same basis as C++ and Python for
R<n> and these terms, so a Java result from a different minimum basis of
equal size can change.
SMARTS parsing in C++ and Python now rejects a pattern ending in a bond, such
as CC-, as Java already did; 8.0.3 C++ and Python accepted it after dropping
the bond.
C++ and Python MCIS search (the default MCS objective) has changed: when 8.0.3
or 8.1.0 stops a search at its node or time limit, includi...
Read more
Assets
29
Loading
Uh oh!
There was an error while loading. Please reload this page.
SMSD Pro 8.0.3
asad
released this
25 Oct 10:05
SMSD Pro 8.0.3 corrects complete-ring MCS matching, the status of MCS results
that depend on truncated ring perception, and the built-in named SMARTS
predicates. It adds opt-in Metal fingerprint screening for C++ source builds
on macOS and a Python call that fingerprints many molecules at once. The
changelog lists every change.
Changes
- C++ and Java MCIS searches with stereochemistry find the largest mapping
that keeps the configuration of mapped stereocentres and double bonds.
- C++ MCIS searches return the maximum mapping whatever the atom and bond
order of the target.
- Complete-ring MCS matching recognises rings in graphs built without ring
flags.
- With complete rings or strict ring fusion, MCS keeps its mappings but no
longer reports them as proved when it depends on truncated ring perception.
- GPU similarity-bound screening returns the same hits as the CPU screen,
including scores at the threshold and molecules with very large atom
counts. The float-valued Metal similarity API is unchanged.
- Metal fingerprint screening for C++ source builds on macOS returns the same
hits, in the same order, as the CPU screen. It runs only when requested
explicitly. The C++ guide
gives its requirements and CPU fallback. The Python wheels use the CPU for
screening on macOS.
- The built-in named SMARTS predicates have corrected definitions, shared by
C++ and Java and listed in the Java guide.
isKetone and isEster now mark the carbonyl carbon.
- Python
fingerprints computes the fingerprints of many molecules or SMILES
strings in one call, each identical to fingerprint and in input order.
Upgrading from 8.0.2
Patterns that use the built-in named predicates can match different atoms.
Java expands names made of ASCII letters, digits and underscores, including
inside recursive SMARTS; a registered name containing other characters is no
longer expanded.
With complete rings or strict ring fusion, a search that depends on truncated
ring perception now reports LimitReached, with optimal and complete
false, instead of Completed. isMappingMaximal (Python
is_mapping_maximal) then raises its proof-unavailable error rather than
returning a value.
In C++ and Python, a single-result connected MCIS search without
stereochemistry or ring options can return a different mapping of the same
size when every atom of the target is bonded to every other.
Downloads
The installation guide lists the
supported platforms and runtime requirements. Python CPU wheels target CPython
3.10–3.14 on macOS arm64, Linux x86_64 and aarch64, and Windows x86_64. The
optional smsd-cuda package targets Linux x86_64 and must match the smsd
version. The Java CLI is supplied as a portable distribution and as Windows
x86_64 MSI, macOS arm64 DMG and Linux amd64 DEB installers that include
Java 25. CPU Docker image archives target Linux amd64 and arm64; the GPU
Docker image archive targets Linux amd64 and needs a compatible NVIDIA GPU and
driver.
See the GitHub releases page for the
files and SHA256SUMS. Install with python -m pip install "smsd==8.0.3",
and add "smsd-cuda==8.0.3" for GPU screening with an NVIDIA GPU.
Assets
41
Loading
Uh oh!
There was an error while loading. Please reload this page.
SMSD Pro 8.0.2
asad
released this
23 Oct 09:38
SMSD Pro 8.0.2 adds optional GPU screening through the separate smsd-cuda package, ordered batches of corpus screening queries, and CPU wheels for CPython 3.10 to 3.14 on four platforms. Matching runs on the CPU. The search and chemistry results are the same as in 8.0.1.
Highlights
TargetCorpus.screen_many and TargetCorpus.screen_targets_many screen ordered batches of queries; each result keeps query and target order.
smsd-cuda (Linux x86_64 with an NVIDIA GPU): corpus fingerprints stay on the GPU between screens. Scores use the CPU expressions and hits keep target order; without the package, screening runs on the CPU as before.
- Substructure searches over a
TargetCorpus first skip targets that cannot match, then match the rest on the CPU.
- Python 3.10 or later is now supported.
Files in this release
- Python: the source distribution
smsd-8.0.2.tar.gz and 20 wheels for CPython 3.10–3.14 on macOS arm64, Linux x86_64, Linux aarch64 and Windows x86_64; the GPU package smsd_cuda-8.0.2-py3-none-manylinux_2_34_x86_64.whl, which needs smsd 8.0.2.
- Java:
smsd-8.0.2.jar with sources and Javadoc; the command-line tool smsd-cli-8.0.2-jar-with-dependencies.jar and the portable smsd-8.0.2-cli.tar.gz. Java 8 or later.
- C++:
smsd-cpp-8.0.2-headers.tar.gz, header-only C++17.
- Docker: CPU images for Linux amd64 and arm64 (
.tar.gz) and a GPU image for Linux amd64 (.tar.xz). Load one with docker load -i <file>. Run the GPU image with --gpus all; on Windows it runs under WSL2.
SHA256SUMS lists the checksum of every file; SOURCE_MANIFEST.json and WHEEL_MANIFEST.json record how the wheels were built.
The PyPI and Maven Central packages follow shortly.
More
Assets
36
Loading
Uh oh!
There was an error while loading. Please reload this page.
SMSD Pro 8.0.1
asad
released this
22 Oct 11:03
SMSD Pro 8.0.1 corrects parsing, aromaticity, CIP descriptors and stereochemistry, gives fingerprint quality one definition in C++, Java and Python, and screens targets on every core in Python. The prepared-query API is unchanged.
Highlights
- SMILES, SMARTS and V3000 MOL input outside the supported characters or ranges is rejected with the same error on every platform.
- CIP R/S and E/Z labels are correct where only the later sequence rules decide them, and C++ SMARTS chirality, ring closures and MCES stereochemistry match Java.
- One definition of fingerprint quality in C++, Java and Python;
expected_collision_rate and Java suggestFingerprintSize return different values from 8.0.0.
- Python
screen_targets takes num_threads and a prepared TargetCorpus.
Files in this release
- C++:
smsd-cpp-8.0.1-headers.tar.gz, header-only C++17.
- Java:
smsd-8.0.1.jar with sources and Javadoc; the self-contained CLI smsd-cli-8.0.1-jar-with-dependencies.jar and the portable smsd-8.0.1-cli.tar.gz. Java 8 or later.
- Python: the source distribution
smsd-8.0.1.tar.gz and wheels for CPython 3.14 on macOS 26 or later (arm64), Linux (x86_64) and Windows (x86_64).
SHA256SUMS lists the checksum of every file.
The PyPI and Maven Central packages will follow.
More
Assets
15
Loading
Uh oh!
There was an error while loading. Please reload this page.
SMSD Pro 8.0.0
asad
released this
21 Oct 10:45
SMSD Pro 8.0.0 provides substructure and maximum common substructure (MCS) search for C++, Java and Python through prepared MCS and Substructure queries, with one search model, one set of chemistry rules and the same fingerprints in the three languages.
Highlights
- Connected and disconnected MCIS and MCES, weighted MCIS and substructure search, with constrained, consensus and R-group searches.
- Results that report completion, stopping status and proved optimality separately from the matches, under timeouts, node limits and cancellation.
- Daylight SMARTS and OpenSMILES conventions, and CIP descriptors following the IUPAC 2013 Recommendations, identically in C++ and Java.
- Tautomer classes independent of the atom order, with pH-dependent weights.
FingerprintOptions: circular, path, torsion and structural-key fingerprints, including the 166 MACCS keys, with identical bits in all three languages.
- A lean Java library,
com.bioinceptionlabs:smsd, and a separate command-line tool, com.bioinceptionlabs:smsd-cli.
Files in this release
- C++:
smsd-cpp-8.0.0-headers.tar.gz, header-only C++17.
- Java:
smsd-8.0.0.jar with sources and Javadoc; the self-contained CLI smsd-cli-8.0.0-jar-with-dependencies.jar and the portable smsd-8.0.0-cli.tar.gz. Java 8 or later.
- Python: the source distribution
smsd-8.0.0.tar.gz and CPython 3.14 wheels for Linux x86_64 (glibc 2.28 or later), Windows 10 or later on x86_64 and macOS 26 or later on arm64.
SHA256SUMS lists the checksum of every file.
More
Assets
15
Loading
Uh oh!
There was an error while loading. Please reload this page.
|