Complete Supported API and Algorithm Reference
This document is the consolidated source for the currently supported API surface of sci-form across Rust, Python, WASM/TypeScript, and CLI, plus the algorithmic foundations and the existing SVG assets that explain those algorithms.
It is intentionally aligned to the current repository state instead of older aspirational docs. When a function is listed here, it is because it is exposed today in source. When a capability is experimental or feature-gated, that status is called out explicitly.
Scope and Source of Truth
Primary source files used to build this reference:
src/lib.rsfor the top-level Rust APIcrates/python/src/*.rsfor Python bindingscrates/wasm/src/*.rsfor WASM/TypeScript exportscrates/cli/src/args.rsfor CLI commandsdocs/algorithm/*.mdfor theory pagesdocs/public/svg/*.svganddocs/public/*.svgfor diagrams
If any future API change diverges from this document, the source files above win.
Shared Conventions
Coordinates
coordsare flat arrays:[x0, y0, z0, x1, y1, z1, ...]- When Rust APIs require
&[[f64; 3]], convert from the flat array withchunks(3) - Units for coordinates are Å
Elements
elementsare atomic numbers (u8in Rust, integer lists in Python and WASM JSON)
Naming
- The canonical name of a capability is the Rust root function name, and it is identical on all four surfaces.
- The old Python spellings (bare nouns such as
charges,sasa,population,dipole,dos,esp,rmsd,sssr,ecfp,tanimoto,orbital_mesh,unit_cell, and the*_calculateforms such aspm3_calculate,xtb_calculate,gfn1_calculate,gfn2_calculate,hf3c_calculate,ani_calculate) are deprecated aliases: they still work but emit aDeprecationWarningand will be removed in sci-form 2.0. - The CLI keeps its own kebab-case command names (
charges,sasa,population,dipole,dos,esp,rmsd,sssr,ecfp,tanimoto); the CLI naming was not part of the canonicalisation.
Units
Units are not uniform across the library.
| Quantity | Unit |
|---|---|
| Geometry (coordinates, bond lengths, cell parameters) | Å (cell angles in degrees) |
| UFF / MMFF94 energies | kcal/mol |
| UFF / MMFF94 gradients | kcal/mol/Å |
| EHT, PM3, xTB orbital energies and HOMO–LUMO gaps | eV |
| PM3 / xTB total, electronic, repulsive, dispersion energies | eV |
| PM3 heat of formation | kcal/mol |
| HF-3c energy, HF energy, nuclear repulsion, D3/gCP/SRB corrections | Hartree |
| HF-3c orbital energies, HOMO/LUMO, gap | Hartree |
| ANI energy and per-atom energies | Hartree (forces Hartree/Å) |
CISD excitation energy, correlation_energy | Hartree (energy_ev is eV) |
EHT gradients, optimize_geometry_eht energy | eV, eV/Å |
optimize_framework energy and forces | eV, eV/Å |
| Vibrational frequencies, IR wavenumbers | cm⁻¹ |
| NMR chemical shifts and shieldings | ppm |
| NMR J-couplings | Hz |
| Dipole moment | Debye |
| Partial charges | elementary charge (e) |
| Electrostatic potential | Hartree/e |
| DOS / PDOS | 1/eV |
| Surface area | Ų |
| MD energies | kcal/mol; times in fs; temperatures in K |
| Pressure | bar |
Energies are always total system energies unless the field name says otherwise.
Surface rules
- Rust returns native structs and
Result<_, SciFormError>from the root API; module-level legacy helpers may still returnStringand convert at the boundary - Python returns PyO3 wrapper classes with attribute access, and exposes
__all__and__version__ - WASM uses JSON strings for structured inputs/outputs, with typed-array fast paths for selected operations; a failure is always the JSON payload
{"error": "<message>"} - CLI exposes a subset of stable workflows as commands
Stability model
- Stable/default: part of the ordinary build and intended for production usage
- Feature-gated experimental: only available when the corresponding feature is enabled
- Surface-limited: exposed only on one or more surfaces, not necessarily on all four
Support Summary by Surface
| Surface | Status | Notes |
|---|---|---|
| Rust core | Fullest public surface | Includes advanced functions not mirrored everywhere else |
| Python | Broad high-level surface | Closely mirrors stable Rust workflows with Pythonic wrappers |
| WASM / TypeScript | Broad browser-friendly surface | JSON-based API plus typed arrays for performance-critical paths |
| CLI | Curated operational subset | Focused on common workflows, not the full scientific surface |
Function Catalog by Domain
The tables below are organized function-by-function by domain. A dash means the function is not directly exposed on that surface.
The canonical name of a capability is the Rust root function name, and it is the same on all four surfaces. The Deprecated Python alias column lists the old Python spelling, which still works but emits a DeprecationWarning and will be removed in sci-form 2.0.
1. Geometry, Parsing, and Canonicalization
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
version | version | – | version | info | Library/build version and platform info | Metadata only |
embed | embed | – | embed / embed_seed64 | embed | Single conformer generation from SMILES | ETKDGv2 distance geometry + refinement |
embed_batch | embed_batch | – | embed_batch / embed_batch_seed64 | batch | Batch conformer generation | ETKDGv2 + rayon parallelization |
embed_diverse | embed_diverse | – | embed_diverse | embed-diverse | Multiple embeddings filtered by diversity | ETKDGv2 + Butina RMSD clustering |
| – | embed_coords_into | – | embed_coords / embed_coords_typed (+ _seed64) | – | Coordinates without copying into a caller-owned buffer | Zero-copy transfer path |
parse | parse | – | parse_smiles | parse | Parse SMILES into graph/topology without 3D | SMILES parsing + graph construction |
to_canonical_smiles | to_canonical_smiles | – | to_canonical_smiles | canonical-smiles | Canonicalize a SMILES representation | Canonical graph traversal / ordering |
compute_rmsd | compute_rmsd | rmsd | compute_rmsd | rmsd | RMSD after optimal superposition | Kabsch alignment |
Practical note:
embedalways returns a result object in Rust/Python/WASM. Failure is expressed in theerrorfield rather than by panicking.- The WASM seed-taking entry points come in pairs: the 32-bit form and a
*_seed64form that takes a JavaScriptBigIntfor the full 64-bit range.
2. Support Planning and Method Routing
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
eht_support | eht_support | – | eht_support / get_eht_support | – | Check EHT applicability for a given element set | Element support table + confidence model |
system_capabilities | system_capabilities | – | system_capabilities / get_system_capabilities | – | Report what core workflows are usable for an element set | Capability aggregation |
system_method_plan | system_method_plan | – | system_method_plan / get_system_method_plan | – | Recommend method/fallback by property domain | Heuristic planner |
compute_eht_or_uff_fallback | compute_eht_or_uff_fallback | eht_or_uff_fallback | compute_eht_or_uff_fallback / eht_or_uff_fallback | – | Use EHT when supported, else UFF fallback | Support-aware workflow routing |
compare_methods | compare_methods | – | compare_methods | – | Compare method availability/results | Structured multi-method comparison |
3. Charges, Surface, Population, Electrostatics, and DOS
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
compute_charges | compute_charges | charges | compute_charges | charges | Gasteiger-Marsili partial charges | Electronegativity equalization |
compute_charges_configured | compute_charges_configured | – | compute_charges_configured | charges-configured | Tunable Gasteiger-Marsili calculation | Same model, configurable damping/iterations |
compute_sasa | compute_sasa | sasa | compute_sasa | sasa | Solvent-accessible surface area | Shrake-Rupley + Fibonacci sphere |
compute_population | compute_population | population | compute_population | population | Mulliken/Löwdin population analysis | EHT + overlap-based charge partitioning |
compute_dipole | compute_dipole | dipole | compute_dipole | dipole | Molecular dipole moment | EHT-derived electronic distribution |
compute_esp_grid | compute_esp_grid | compute_esp / esp | compute_esp_grid | esp | Electrostatic potential on a 3D grid | Coulomb grid from atomic charges |
| – | compute_esp_grid_into | – | compute_esp_grid_typed / compute_esp_grid_info | – | ESP grid without copying into a caller-owned buffer | Zero-copy transfer path |
compute_dos | compute_dos | dos | compute_dos | dos | Density of states curve | Gaussian broadening over orbital energies |
compute_dos_multimethod | compute_dos_multimethod | – | compute_dos_multimethod | dos-multimethod | DOS from the orbital energies of a chosen method | Gaussian broadening over method-specific orbital energies |
compute_bond_orders | compute_bond_orders | bond_orders | compute_bond_orders | – | Wiberg-like and Mayer-like bond orders | EHT density/overlap analysis |
compute_frontier_descriptors | compute_frontier_descriptors | frontier_descriptors | compute_frontier_descriptors | – | Atom-resolved HOMO/LUMO descriptors | EHT MO contributions |
compute_fukui_descriptors | compute_fukui_descriptors | fukui_descriptors | compute_fukui_descriptors | – | Condensed Fukui descriptors | Frontier orbital-based reactivity workflow |
compute_reactivity_ranking | compute_reactivity_ranking | reactivity_ranking | compute_reactivity_ranking | – | Rank reactive sites | Fukui + Mulliken hybrid heuristic |
compute_uv_vis_spectrum | compute_uv_vis_spectrum | uvvis_spectrum | compute_uv_vis_spectrum | – | Low-cost exploratory UV-Vis-like spectrum | EHT transition approximation |
4. Force Fields and Heuristic Energy Models
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
compute_uff_energy | compute_uff_energy | uff_energy | compute_uff_energy | uff | UFF energy evaluation | Universal Force Field |
compute_uff_energy_with_aromatic_heuristics | compute_uff_energy_with_aromatic_heuristics | uff_energy_with_aromatic_heuristics | compute_uff_energy_with_aromatic_heuristics | – | UFF with aromaticity-informed correction | UFF + aromatic post-correction |
compute_mmff94_energy | compute_mmff94_energy | mmff94_energy | compute_mmff94_energy | – | Complete MMFF94 energy evaluation | Halgren MMFF94: stretch, bend, stretch-bend, OOP, torsion, vdW, Coulomb |
compute_empirical_pka | compute_empirical_pka | empirical_pka | compute_empirical_pka | – | Estimate acidic/basic pKa sites | Graph environment + charge heuristics |
compute_uff_energy_breakdown | compute_uff_energy_breakdown | – | compute_uff_energy_breakdown | uff-breakdown | UFF energy split by term type | Bond/angle/torsion/vdw decomposition |
compute_mmff94_energy_breakdown | compute_mmff94_energy_breakdown | – | compute_mmff94_energy_breakdown | mmff94-breakdown | MMFF94 energy split by term type | bond/angle/stretch_bend/oop/torsion/vdw/electrostatic |
5. Semiempirical, Tight-Binding, Ab Initio, and Neural Potentials
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
compute_pm3 | compute_pm3 | pm3_calculate | compute_pm3 | pm3 | PM3 semiempirical SCF | NDDO PM3 |
compute_pm3_gradient | compute_pm3_gradient | – | compute_pm3_gradient | pm3-gradient | PM3 gradients | Stationary-density (Pulay-free): fixed-density integral rebuilds, no SCF per displacement |
compute_xtb | compute_xtb | xtb_calculate | compute_xtb | xtb | GFN2-xTB tight-binding (identical to compute_gfn2) | SCC tight-binding with multipole electrostatics and D4 |
compute_gfn1 | compute_gfn1 | gfn1_calculate | compute_gfn1 | gfn1 | GFN1-xTB workflow with shell charges and D3-style dispersion | Shell-resolved SCC tight-binding |
compute_gfn2 | compute_gfn2 | gfn2_calculate | compute_gfn2 | gfn2 | GFN2-xTB workflow with multipoles, D4-style dispersion, and XB correction | Multipole SCC tight-binding |
compute_xtb_gradient | compute_xtb_gradient | – | compute_xtb_gradient | xtb-gradient | xTB gradients | Warm-started central differences of the GFN2-xTB energy (consistent with compute_xtb) |
compute_hf3c | compute_hf3c | hf3c_calculate | compute_hf3c / compute_hf3c_custom | hf3c | HF-3c quantum workflow | HF + D3 + gCP + SRB |
compute_ani | compute_ani | ani_calculate | compute_ani | ani | ANI neural potential using available test/default models | Atomic environment vectors + feed-forward NN |
compute_ani_with_models | – | – | – | – | ANI with explicit models/config (Rust only: the ANI networks are Rust objects) | Same ANI formalism with custom weights |
hf::cisd::compute_cisd | compute_cisd | – | compute_cisd | cisd | CISD excited states from an internal STO-3G RHF | Configuration interaction with singles and doubles |
compute_uhf | compute_uhf | – | compute_uhf | uhf | Unrestricted Hartree-Fock for open-shell systems | UHF SCF with alpha/beta orbitals |
compute_rohf | compute_rohf | – | compute_rohf | rohf | Restricted open-shell Hartree-Fock | ROHF SCF with canonical projection |
eht::compute_eht_gradient | compute_eht_gradient | – | compute_eht_gradient | eht-gradient | EHT energy-surface gradients | Central finite differences on the EHT surface |
eht::optimize_geometry_eht | optimize_geometry_eht | – | optimize_geometry_eht | optimize-geometry-eht | Geometry optimization on the EHT surface | Shared BFGS engine |
ani::compute_aevs_tm | compute_aevs_tm | – | compute_aevs_tm | aevs-tm | ANI-TM atomic environment vectors (extended element set) | ANI-TM symmetry functions |
eht::solve_eht | solve_eht | eht_calculate | solve_eht / eht_calculate | eht | Extended-Hückel single point | Wolfsberg-Helmholtz Hamiltonian + Löwdin |
6. Spectroscopy and Orbital Visualization
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
compute_stda_uvvis | compute_stda_uvvis | stda_uvvis | compute_stda_uvvis | – | UV-Vis spectrum with oscillator strengths | sTDA-style transition workflow |
compute_fluorescence | compute_fluorescence | fluorescence_spectrum | compute_fluorescence | – | Fluorescence band, radiative rate and lifetime | Same sTDA singlets as absorption |
compute_vibrational_analysis | compute_vibrational_analysis | vibrational_analysis | compute_vibrational_analysis | – | Vibrational frequencies, modes, IR intensities | Numerical Hessian |
compute_vibrational_analysis_uff | – | – | compute_vibrational_analysis_uff | – | UFF-based vibrational workflow | Gradient-difference Hessian |
compute_ir_spectrum | compute_ir_spectrum | ir_spectrum | compute_ir_spectrum | – | Broadened IR spectrum from a vibrational analysis | Lorentzian broadening |
compute_ir_spectrum_broadened | compute_ir_spectrum_broadened | – | compute_ir_spectrum_broadened | ir-spectrum-broadened | IR with selectable broadening type | Gaussian or Lorentzian broadening |
ir::assign_peaks | assign_peaks | – | assign_peaks | assign-peaks | Assign IR peaks to functional groups | Group-frequency tables |
predict_nmr_shifts | predict_nmr_shifts | nmr_shifts | predict_nmr_shifts | – | Chemical shift prediction | HOSE/environment heuristics |
predict_nmr_shifts_for_nucleus | predict_nmr_shifts_for_nucleus | nmr_shifts_for_nucleus | predict_nmr_shifts_for_nucleus | – | Shifts for one requested nucleus | HOSE/environment heuristics |
predict_nmr_shifts_with_hose_database | – | – | – | – | Shifts with an external NMRShiftDB2/SDBS HOSE database | Longest-prefix HOSE lookup overrides 1H/13C |
predict_nmr_couplings | predict_nmr_couplings | nmr_couplings | predict_nmr_couplings | – | J-coupling prediction | Karplus + topological heuristics |
compute_ensemble_j_couplings | compute_ensemble_j_couplings | – | compute_ensemble_j_couplings | ensemble-j-couplings | Boltzmann-averaged J-couplings across conformers | Ensemble averaging |
compute_nmr_spectrum | compute_nmr_spectrum | nmr_spectrum | compute_nmr_spectrum / compute_nmr_spectrum_with_coords | – | Full synthetic NMR spectrum | Shift prediction + coupling model + line broadening |
compute_giao_nmr | compute_giao_nmr | giao_nmr | compute_giao_nmr | – | SCF-backed GIAO chemical shifts | RHF/GIAO on STO-3G |
compute_hose_codes | compute_hose_codes | hose_codes | compute_hose_codes | – | Generate HOSE codes per atom | Sphere-of-environment graph encoding |
compute_orbital_mesh | compute_orbital_mesh | orbital_mesh | compute_orbital_mesh | – | Isosurface mesh for orbitals | Grid evaluation + marching cubes |
mesh::eht_orbital_mesh | eht_orbital_mesh | – | eht_orbital_mesh | – | EHT-specific orbital isosurface | Same marching-cubes family |
| – | – | – | eht_orbital_grid_typed | – | EHT orbital grid as typed array | 3D volumetric evaluation |
| – | – | – | eht_orbital_grid_from_coefficients_typed | – | Orbital grid from supplied MO coefficients | 3D volumetric evaluation |
| – | – | – | eht_volumetric_grid_info | – | Metadata for EHT volumetric grids | Grid bookkeeping |
7. Topology, Graph Analysis, and ML Properties
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
compute_topology | compute_topology | topology_analysis | compute_topology | – | Coordination/topology analysis for structures | Geometric coordination heuristics |
analyze_graph_features | analyze_graph_features | graph_features | analyze_graph_features | – | Aromaticity and stereotag graph analysis | Graph traversal and aromatic bond tagging |
compute_ml_descriptors | compute_ml_descriptors | ml_descriptors | compute_ml_descriptors / compute_molecular_descriptors | – | Molecular descriptor generation | Topological descriptor extraction |
predict_ml_properties | predict_ml_properties | ml_predict | predict_ml_properties / compute_ml_properties | – | Property prediction from descriptors | Proxy ML models |
predict_ensemble | predict_ensemble | – | predict_ensemble | ensemble | Ensemble property prediction with confidence | Multi-model aggregation |
ml::compute_whim | compute_whim | – | compute_whim | whim | WHIM 3D molecular descriptors | WHIM projection + weighting |
ml::compute_rdf | compute_rdf | – | compute_rdf | rdf | Radial distribution function descriptors | Charge-weighted radial histograms |
ml::compute_getaway | compute_getaway | – | compute_getaway | getaway | GETAWAY 3D molecular descriptors | Atom-distance autocorrelations |
ml::train_random_forest | train_random_forest | – | train_random_forest | train-random-forest | Train a Random Forest regressor | Bootstrap bagging on decision trees |
ml::train_gradient_boosting | train_gradient_boosting | – | train_gradient_boosting | train-gradient-boosting | Train a Gradient Boosting regressor | Additive boosting on shallow trees |
compute_tpsa | compute_tpsa | – | compute_tpsa | tpsa | Topological polar surface area | Fragment-based TPSA heuristic |
8. Dynamics, Conformer Search, and Path Sampling
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
compute_md_trajectory | compute_md_trajectory | md_trajectory | compute_md_trajectory / compute_md_trajectory_seed64 | – | Short exploratory MD | Velocity Verlet |
compute_md_trajectory_nvt | compute_md_trajectory_nvt | md_trajectory_nvt | compute_md_trajectory_nvt / compute_md_trajectory_nvt_seed64 | – | MD with thermostat | Velocity Verlet + Berendsen NVT |
compute_simplified_neb_path | compute_simplified_neb_path | simplified_neb_path | compute_simplified_neb_path / compute_neb_path_with_method | simplified-neb-path | Approximate reaction path between geometries | Simplified NEB |
neb_backend_energy_kcal / neb_backend_energy_and_gradient | – | – | neb_single_point_energy / neb_energy_and_gradient | neb-energy / neb-gradient | Single-point energy and gradient for any NEB backend | Backend dispatch over UFF/PM3/xTB/HF-3c |
search_conformers_with_uff | search_conformers_with_uff | search_conformers | search_conformers_with_uff / search_conformers_with_uff_seed64 | – | UFF-ranked conformer exploration | Multi-seed embedding + UFF scoring + clustering |
compute_reaction_dynamics | – | – | compute_reaction_dynamics | – | 2D reaction-coordinate energy profile | NEB along a 1D coordinate |
alpha::reaction_dynamics::compute_reaction_dynamics_3d | – | – | – | – | 3D reaction path (Rust core only, not bound) | Fragment embedding + IDPP + climbing-image NEB |
alpha::reaction_dynamics::compute_approach_dynamics | – | – | – | – | Approach frames of a 3D reaction path (Rust core only) | Fragment embedding + orbital-guided approach |
9. Materials, Periodic Systems, and Framework Construction
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
create_unit_cell | create_unit_cell | unit_cell | create_unit_cell | cell | Build a unit cell from lattice parameters | Crystallographic cell tensor construction |
assemble_framework | assemble_framework | – | assemble_framework | assemble | Assemble framework structures from topology/SBUs | Topology-guided framework assembly |
assemble_framework_with_linkers | – | – | – | – | Assemble with one linker per inequivalent edge type | Topology::edge_types dispatch |
materials::Topology::from_net | – | – | – | – | Convert an RCSR NetData into a symmetry-expanded assembly graph | pormake .cgd expansion |
kmesh::kpath_standard | compute_kpoint_path_chart | – | alpha_periodic_kpath_standard | kpoint-path-chart | Sample the default Γ→X→M→Γ k-path | Linear interpolation + cumulative distance |
kmesh::fermi_surface_from_bands | compute_fermi_surface_chart | – | alpha_periodic_fermi_surface_from_bands | fermi-surface-chart | Trace the Fermi contour in the kz = 0 plane | Bloch Hamiltonian + bisection |
materials::space_groups::space_group_by_number | space_group_by_number | – | space_group_by_number | space-group --number | Look up a space group by ITC number | Crystallographic space-group table |
materials::space_groups::space_group_by_symbol | space_group_by_symbol | – | space_group_by_symbol | space-group --symbol | Look up a space group by Hermann-Mauguin symbol | Crystallographic space-group table |
materials::space_groups::all_space_groups | all_space_groups | – | all_space_groups | all-space-groups | List all 230 space groups | Crystallographic space-group table |
periodic::build_periodic_molecule | build_periodic_molecule | – | build_periodic_molecule | periodic-molecule | Build a periodic molecular graph | Fractional-coordinate periodic bonding |
periodic::detect_hapticity | detect_hapticity | – | detect_hapticity | hapticity | Detect haptic metal-ring interactions | Ring-membership eta counting |
materials::geometry_opt::optimize_framework | optimize_framework | – | optimize_framework | optimize-framework | Optimize a geometry with the shared BFGS engine | BFGS on the UFF surface |
parse_cif | parse_cif | – | parse_cif | parse-cif | Read a CIF file into a crystal structure | CIF 1.1 tag parser |
write_cif | write_cif | – | write_cif | write-cif | Write a crystal structure as a CIF file | CIF 1.1 writer |
10. Stereochemistry, Solvation, Rings, Fingerprints, and Clustering
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
analyze_stereo | analyze_stereo | stereo_analysis | analyze_stereo | stereo | R/S and E/Z assignment | CIP priority workflow + geometry checks |
compute_nonpolar_solvation | compute_nonpolar_solvation | nonpolar_solvation | compute_nonpolar_solvation | solvation | Non-polar solvation energy | SASA + atomic solvation parameters |
compute_gb_solvation | compute_gb_solvation | gb_solvation | compute_gb_solvation | solvation --charges ... | Electrostatic + nonpolar solvation | HCT-style Generalized Born |
compute_sssr | compute_sssr | sssr | compute_sssr | sssr | Smallest set of smallest rings | Horton-style ring perception |
compute_ecfp | compute_ecfp | ecfp | compute_ecfp | ecfp | Morgan/ECFP fingerprint | Circular neighborhood hashing |
compute_ecfp_batch | compute_ecfp_batch | – | compute_ecfp_batch | ecfp-batch | Batch ECFP generation | Same Morgan/ECFP workflow |
compute_tanimoto | compute_tanimoto | tanimoto | compute_tanimoto | tanimoto | Similarity between fingerprints | Tanimoto coefficient |
butina_cluster | butina_cluster | – | butina_cluster | – | Conformer clustering | Taylor-Butina clustering |
compute_rmsd_matrix | compute_rmsd_matrix | rmsd_matrix | compute_rmsd_matrix | – | Pairwise RMSD matrix | Repeated alignment metric |
clustering::filter_diverse_conformers | filter_diverse | – | filter_diverse | filter-diverse | Keep only diverse conformers | Diversity filtering over Butina clusters |
11. Transport and Batch-Oriented Helpers
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
transport::pack_conformers | pack_conformers | – | pack_conformers / pack_batch_arrow | – | Columnar transport of conformer results | Arrow-like packing |
transport::split_worker_tasks | split_worker_tasks | – | split_worker_tasks / split_worker_tasks_seed64 | – | Split work for worker pools | Chunked task partitioning |
transport::estimate_workers | estimate_workers | – | estimate_workers | – | Estimate worker count for batch size | Heuristic load balancing |
12. SMIRKS
| Rust | Python | Deprecated Python alias | WASM | CLI | Purpose | Algorithmic basis |
|---|---|---|---|---|---|---|
smirks::parse_smirks | parse_smirks | – | parse_smirks | – | Parse a SMIRKS reaction string | SMIRKS grammar |
smirks::apply_smirks | apply_smirks | – | apply_smirks | – | Apply a SMIRKS transform to a molecule | Substructure matching + transform |
CLI Coverage
The CLI is a curated subset intended for common user workflows rather than total feature parity.
Stable CLI commands
The CLI exposes 102 subcommands in total; 69 are always built and 33 are feature-gated. The exhaustive reference is docs/api/cli.md.
embed,batch,parse,infoeht,eht-gradient,optimize-geometry-ehtcharges,charges-configured,sasa,solvation,eeqpopulation,dipole,esp,dos,dos-multimethodpm3,xtb,gfn1,gfn2,hf3c,cisd,ani,aevs-tmuff,optimize-frameworkstereo,sssr,ecfp,ecfp-batch,tanimoto,rmsdcanonical-smiles,embed-diverse,filter-diverseir-spectrum-broadened,assign-peaks,ensemble-j-couplingswhim,rdf,getaway,train-random-forest,train-gradient-boostingcell,assemble,space-group,all-space-groups,periodic-molecule,hapticitysimplified-neb-path,neb-energy,neb-gradientchart-to-json,chart-from-json,validate-chart-schemauhf,rohf,pm3-gradient,xtb-gradientuff-breakdown,mmff94-breakdown,tpsa,ensembleparse-cif,write-cif
CLI commands with historical feature labels
The Rust modules behind these wrappers are core (CGA, SDR, EDL, GSM, KPM, CPM, RandNLA, Riemannian, kinetics, periodic adapters, render bridge). The CLI wrapper still needs the historical flag; MBH, DFT, MLFF and reaction dynamics remain genuinely gated.
alpbbehindexperimental-alpbd4behindexperimental-d4cpmbehindexperimental-cpmgsm-backend-plan,gsm-compare-backendsbehindalpha-gsmedl-profile,edl-capacitance-scan,edl-helmholtz,edl-gouy-chapman,edl-gcsbehindalpha-edlhtst-rate,extract-kinetics-diagnostics,solve-microkinetic-network,solve-microkinetic-steady-state,analyze-gsm-mbh-htst-stepbehindalpha-kineticskmesh,compute-periodic-dos,solve-periodic-randnla,bloch-phase,build-bloch-hamiltonian,assemble-periodic-operators,validate-electron-countbehindalpha-periodic-linearedl-chart,capacitance-chart,arrhenius-chart,thermal-prop-chart,phase-portrait-chart,band-structure-chart,dos-chart,kpoint-path-chart,fermi-surface-chart,trajectory-chart,reaction-coordinate-chartbehindalpha-render-bridge(each also needs the matching domain feature)
Algorithm-by-Algorithm Guide
This section explains the supported algorithms at a practical and theoretical level and connects each one to the exposed API.
SMILES Parsing and Molecular Graph Construction
Core idea:
- Parse SMILES into a graph with atoms, bonds, formal charges, aromaticity, and stereotags.
Main API entries:
- Rust:
parse,to_canonical_smiles,analyze_graph_features - Python:
parse,analyze_graph_features - WASM:
parse_smiles,analyze_graph_features - CLI:
parse
Related theory docs:
/algorithm/smiles-parsing/algorithm/smarts-matching
Related SVGs:
/svg/smiles-pipeline.svg/svg/smiles-phenol.svg/svg/smarts-pattern.svg
ETKDGv2 Conformer Generation
Core idea:
- Build a bounds matrix from graph topology, smooth it, sample distances, embed coordinates, then refine with ETKDG/UFF-like corrections and validation.
Main API entries:
- Rust:
embed,embed_batch,embed_diverse - Python:
embed,embed_batch - WASM:
embed,embed_coords,embed_coords_typed,embed_batch - CLI:
embed,batch
Key sub-algorithms:
- SMILES-to-graph parsing
- Bounds-matrix construction for 1-2, 1-3, 1-4, and nonbonded pairs
- Floyd-Warshall-style triangle smoothing
- Distance geometry via metric matrix and eigendecomposition
- BFGS-style bounds violation minimization
- ETKDG torsion refinement and stereochemical validation
- Retry loop with fallback placement when needed
Related theory docs:
/algorithm/overview/algorithm/bounds-matrix/algorithm/distance-geometry/algorithm/embedding/algorithm/etkdg-refinement/algorithm/validation
Related SVGs:
/svg/pipeline-overview.svg/svg/etkdg-pipeline.svg/svg/bounds-matrix-overview.svg/svg/bounds-matrix-1-4.svg/svg/bounds-matrix-triangle.svg/svg/distance-geometry-pipeline.svg/svg/distance-geometry-matrix.svg/svg/embedding-eigendecomp.svg/svg/etkdg-torsion.svg/svg/validation-pipeline.svg/svg/validation-tetrahedral.svg/svg/validation-double-bond.svg
Gasteiger-Marsili Charges
Core idea:
- Iteratively equalize electronegativities across the graph using topology and formal charges, without a quantum calculation.
Main API entries:
- Rust:
compute_charges,compute_charges_configured - Python:
compute_charges - WASM:
compute_charges - CLI:
charges
Related theory docs:
/algorithm/population-analysis
Related SVGs:
/svg/population-mulliken.svg/svg/population-lowdin.svg
Extended Hückel Theory (EHT)
Core idea:
- Build a minimal STO-3G-like basis, compute overlap, assemble a Wolfsberg-Helmholtz Hamiltonian, apply Löwdin orthogonalization, diagonalize, and populate orbitals.
Main API entries:
- Rust:
eht_support,compute_population,compute_dipole,compute_frontier_descriptors,compute_fukui_descriptors,compute_reactivity_ranking,compute_uv_vis_spectrum,compute_bond_orders,compute_esp,compute_dos - Python:
solve_eht,eht_support,compute_eht_or_uff_fallback,compute_population,compute_dipole,compute_bond_orders,compute_frontier_descriptors - WASM:
solve_eht,eht_support,compute_eht_or_uff_fallback,compute_population,compute_dipole,compute_bond_orders,compute_dos - CLI:
eht,population,dipole,dos,esp
Why it matters in sci-form:
- EHT is the gateway calculation behind multiple “derived” properties.
Related theory docs:
/algorithm/extended-huckel-theory/algorithm/population-analysis/algorithm/dipole-moments/algorithm/density-of-states/algorithm/electrostatic-potential
Related SVGs:
/svg/eht-pipeline.svg/svg/population-mulliken.svg/svg/population-lowdin.svg/svg/dipole-vector.svg/svg/esp-grid.svg/svg/dos-smearing.svg
Orbital Grids and Isosurfaces
Core idea:
- Evaluate orbital amplitudes on a 3D grid and convert scalar fields to a mesh with marching cubes.
Main API entries:
- Rust:
compute_orbital_mesh - Python:
eht_orbital_mesh,compute_orbital_mesh - WASM:
eht_orbital_mesh,eht_orbital_grid_typed,eht_orbital_grid_from_coefficients_typed,compute_orbital_mesh
Related theory docs:
/algorithm/extended-huckel-theory
Related SVGs:
/svg/eht-pipeline.svg/svg/embedding-eigendecomp.svg
Force Fields: UFF and MMFF94
Core idea:
- Model molecular strain energy using bonded and nonbonded terms; UFF emphasizes broad element coverage, MMFF94 emphasizes medicinal-chemistry fidelity.
Main API entries:
- Rust:
compute_uff_energy,compute_uff_energy_with_aromatic_heuristics,compute_mmff94_energy - Python:
compute_uff_energy,compute_uff_energy_with_aromatic_heuristics,compute_mmff94_energy - WASM: same names with
compute_... - CLI:
uff
Related theory docs:
/algorithm/force-fields/algorithm/strain-energy
Related SVGs:
/svg/force-fields-overview.svg/svg/force-fields-torsion.svg/svg/uff-energy-terms.svg/svg/mmff94-energy-terms.svg
PM3 and xTB
Core idea:
- PM3 uses NDDO semiempirical SCF; xTB uses self-consistent charge tight binding for faster approximate electronic structure.
Main API entries:
- Rust:
compute_pm3,compute_pm3_gradient,compute_xtb,xtb::solve_gfn1,xtb::solve_gfn2,compute_xtb_gradient - Python:
compute_pm3,compute_xtb,compute_gfn1,compute_gfn2 - WASM:
compute_pm3,compute_xtb,compute_gfn1,compute_gfn2 - CLI:
pm3,xtb,gfn1,gfn2,hf3c
Related theory docs:
- currently summarized from source and repo-level docs; no dedicated standalone algorithm page yet in
docs/algorithm/
Related SVGs:
/svg/spectroscopy-overview.svg
HF-3c
Core idea:
- Minimal-basis Hartree-Fock corrected by D3, gCP, and short-range basis corrections for an efficient ab initio-like workflow.
Main API entries:
- Rust:
compute_hf3c - Python:
compute_hf3c - WASM:
compute_hf3c,compute_hf3c_custom - CLI:
hf3c
Related theory docs:
/algorithm/hf3c-quantum-engine
Related SVGs:
/svg/hf3c-architecture.svg
ANI Neural Potentials
Core idea:
- Convert local atomic environments into AEV features and predict energies and forces with neural networks.
Main API entries:
- Rust:
compute_ani,compute_ani_with_models - Python:
compute_ani - WASM:
compute_ani - CLI:
ani
Related theory docs:
/algorithm/machine-learning-potentials
Related SVGs:
/svg/ani-architecture.svg
UV-Vis, IR, and NMR Spectroscopy
Core idea:
- UV-Vis: electronic transitions with broadening
- IR: vibrational frequencies and intensities from Hessian workflows
- NMR: chemically informed shift predictions, J-coupling estimation, and synthetic line broadening
Main API entries:
- UV-Vis:
compute_uv_vis_spectrum,compute_stda_uvvis,compute_uv_vis_spectrum,compute_stda_uvvis,compute_uv_vis_spectrum,compute_stda_uvvis - IR:
compute_vibrational_analysis,compute_vibrational_analysis_uff,compute_ir_spectrum,compute_ir_spectrum_broadened,compute_vibrational_analysis,compute_ir_spectrum,compute_vibrational_analysis,compute_ir_spectrum - NMR:
predict_nmr_shifts,predict_nmr_couplings,compute_nmr_spectrum,compute_hose_codes,compute_ensemble_j_couplings,predict_nmr_shifts,predict_nmr_couplings,compute_nmr_spectrum,compute_hose_codes,predict_nmr_shifts,predict_nmr_couplings,compute_nmr_spectrum,compute_hose_codes
Related theory docs:
/algorithm/uvvis-spectroscopy/algorithm/ir-spectroscopy/algorithm/nmr-spectroscopy
Related SVGs:
/svg/uvvis-stda-pipeline.svg/svg/ir-hessian-pipeline.svg/svg/nmr-pipeline.svg/svg/nmr-karplus.svg/svg/broadening-functions.svg/svg/spectroscopy-overview.svg
Reactivity, pKa, and Site Ranking
Core idea:
- Build practical reactivity heuristics by combining frontier orbital content, Fukui-style condensed descriptors, and charge-based empirical rules.
Main API entries:
- Rust:
compute_frontier_descriptors,compute_fukui_descriptors,compute_reactivity_ranking,compute_empirical_pka - Python:
compute_frontier_descriptors,compute_fukui_descriptors,compute_reactivity_ranking,compute_empirical_pka - WASM: same
compute_...names
Related theory docs:
/algorithm/population-analysis/algorithm/uvvis-spectroscopyfor transition-oriented electronic descriptors where relevant
Related SVGs:
/svg/population-mulliken.svg/svg/population-lowdin.svg
Alignment, RMSD, and Clustering
Core idea:
- Align structures optimally in Cartesian space, quantify RMSD, then cluster ensembles by geometric similarity.
Main API entries:
- Rust:
compute_rmsd,butina_cluster,compute_rmsd_matrix,embed_diverse - Python:
compute_rmsd,butina_cluster,compute_rmsd_matrix,filter_diverse - WASM:
compute_rmsd,butina_cluster,compute_rmsd_matrix - CLI:
rmsd
Related theory docs:
/algorithm/molecular-alignment
Related SVGs:
/svg/kabsch-alignment.svg/svg/benchmarks-rmsd.svg
Solvation
Core idea:
- Non-polar solvation uses SASA and atomic solvation parameters; GB adds an electrostatic implicit-solvent approximation.
Main API entries:
- Rust:
compute_nonpolar_solvation,compute_gb_solvation - Python:
compute_nonpolar_solvation,compute_gb_solvation - WASM:
compute_nonpolar_solvation,compute_gb_solvation - CLI:
solvation
Related theory docs:
/algorithm/electrostatic-potential
Related SVGs:
/svg/experimental-alpb.svg
Rings, Fingerprints, and Similarity
Core idea:
- Detect rings from graph structure, build circular fingerprints from local environments, and compare them by Tanimoto overlap.
Main API entries:
- Rust:
compute_sssr,compute_ecfp,compute_ecfp_batch,compute_tanimoto - Python:
compute_sssr,compute_ecfp,compute_tanimoto - WASM:
compute_sssr,compute_ecfp,compute_tanimoto - CLI:
sssr,ecfp,tanimoto
Related theory docs:
- ring and fingerprint behavior is currently summarized through API docs and examples more than a dedicated algorithm page
Related SVGs:
/svg/smarts-pattern.svg
Materials, Crystallography, and Framework Assembly
Core idea:
- Map cell parameters to lattice tensors and place node/linker building units on topology templates to assemble periodic frameworks.
Topology::from_nameaccepts both the built-in homogeneous nets and the data-driven RCSR nets; nets with inequivalent edges select a linker peredge_typesentry.
Main API entries:
- Rust:
create_unit_cell,assemble_framework,assemble_framework_with_linkers - Python:
create_unit_cell,assemble_framework - WASM:
create_unit_cell,assemble_framework,alpha_periodic_kpath_standard,alpha_periodic_fermi_surface_from_bands - CLI:
cell,assemble,kpoint-path-chart,fermi-surface-chart
Related theory docs:
/algorithm/materials-assembly
Related SVGs:
/svg/materials-unit-cell.svg/svg/materials-assembly.svg
Dynamics, NEB, and Worker Transport
Core idea:
- Provide exploratory simulation and scalable transport helpers for long or distributed workflows.
Main API entries:
- Dynamics:
compute_md_trajectory,compute_md_trajectory_nvt,compute_simplified_neb_path,search_conformers_with_uff - Transport:
pack_conformers,pack_batch_arrow,split_worker_tasks,estimate_workers
Related theory docs:
/algorithm/web-transport
Related SVGs:
/svg/transport-arrow.svg/svg/transport-chunked.svg
Experimental APIs
State note (2.0.0). The Rust implementations of CGA, SDR, EDL, GSM, KPM, CPM, RandNLA, Riemannian, kinetics, the periodic adapters and the render bridge are core. Some Python/WASM/CLI wrappers still carry the historical
experimental-*,alpha-*orbeta-*feature flag; the flag is a build choice, not a stability claim. MBH, DFT, MLFF and reaction dynamics remain gated.
The table records the binding or CLI feature that still exposes each entry point.
Experimental tracks and surfaces
| Capability | Rust feature | Python | WASM | CLI | SVG |
|---|---|---|---|---|---|
| EEQ charges | core (alias experimental-eeq) | compute_eeq_charges, compute_eeq_energy (aliases eeq_charges, eeq_energy) | compute_eeq_charges, compute_eeq_energy | eeq | /svg/experimental-eeq.svg |
| ALPB solvation | core (alias experimental-alpb) | compute_alpb_solvation, compute_alpb_born_radii (aliases alpb_solvation, alpb_born_radii) | compute_alpb_solvation, compute_alpb_born_radii | alpb | /svg/experimental-alpb.svg |
| D4 dispersion | core (alias experimental-d4) | compute_d4_energy (alias d4_energy) | compute_d4_energy | d4 | /svg/experimental-d4.svg |
| CPM electrochemistry | core (alias experimental-cpm) | compute_cpm_charges, compute_cpm_surface (aliases cpm_charges, cpm_surface) | compute_cpm_charges, compute_cpm_surface | cpm | /svg/experimental-cpm.svg |
| CGA | core (alias experimental-cga) | - | - | - | /svg/experimental-cga.svg |
| RandNLA | core (alias experimental-randnla) | - | - | - | /svg/experimental-randnla.svg |
| Riemannian | core (alias experimental-riemannian) | - | - | - | /svg/experimental-riemannian.svg |
| KPM | core (alias experimental-kpm) | - | - | - | /svg/experimental-kpm.svg |
| SDR | core (alias experimental-sdr) | - | - | - | /svg/experimental-sdr.svg |
| MBH | beta-mbh (gated) | - | - | - | /svg/experimental-mbh.svg |
| GSM | core (alias experimental-gsm) | - | - | - | /svg/experimental-gsm.svg |
Related theory docs:
/experimental/overview/experimental/eeq/experimental/alpb/experimental/d4/experimental/cpm/experimental/cga/experimental/randnla/experimental/riemannian/experimental/kpm/experimental/sdr/experimental/mbh/experimental/gsm
SVG Inventory, Diagram by Diagram
This inventory is intended to support the “SVG by SVG” documentation pass. Every listed asset exists today in docs/public/svg/ unless otherwise noted.
Conformer generation and validation
| SVG | Meaning |
|---|---|
pipeline-overview.svg | Global end-to-end conformer pipeline |
etkdg-pipeline.svg | ETKDG-specific stage breakdown |
bounds-matrix-overview.svg | Bounds matrix concept and inputs |
bounds-matrix-1-4.svg | 1-4 torsional distance constraints |
bounds-matrix-triangle.svg | Triangle inequality smoothing intuition |
distance-geometry-pipeline.svg | Distance geometry workflow |
distance-geometry-matrix.svg | Metric matrix / embedding matrix intuition |
embedding-eigendecomp.svg | Coordinate recovery from eigendecomposition |
etkdg-torsion.svg | Torsion preference refinement |
validation-pipeline.svg | Post-embedding validation stages |
validation-tetrahedral.svg | Tetrahedral stereochemistry validation |
validation-double-bond.svg | E/Z and double-bond geometry validation |
Graphs, SMARTS, and rings
| SVG | Meaning |
|---|---|
smiles-pipeline.svg | SMILES parsing workflow |
smiles-phenol.svg | Example parsed structure |
smarts-pattern.svg | SMARTS substructure pattern logic |
EHT, population, dipole, ESP, DOS
| SVG | Meaning |
|---|---|
eht-pipeline.svg | EHT computational pipeline |
population-mulliken.svg | Mulliken partitioning concept |
population-lowdin.svg | Löwdin orthogonalization / partitioning concept |
dipole-vector.svg | Molecular dipole vector interpretation |
esp-grid.svg | ESP grid construction and interpretation |
dos-smearing.svg | Gaussian smearing for DOS |
Force fields and alignment
| SVG | Meaning |
|---|---|
force-fields-overview.svg | UFF/MMFF94 energy family overview |
force-fields-torsion.svg | Torsional term behavior |
uff-energy-terms.svg | UFF term decomposition |
mmff94-energy-terms.svg | MMFF94 term decomposition |
kabsch-alignment.svg | Optimal rigid alignment geometry |
Spectroscopy
| SVG | Meaning |
|---|---|
spectroscopy-overview.svg | High-level spectroscopy stack overview |
uvvis-stda-pipeline.svg | UV-Vis / sTDA pipeline |
ir-hessian-pipeline.svg | IR and vibrational Hessian workflow |
nmr-pipeline.svg | NMR shift/spectrum workflow |
nmr-karplus.svg | Karplus relation for J-couplings |
broadening-functions.svg | Gaussian vs Lorentzian broadening |
Materials and transport
| SVG | Meaning |
|---|---|
materials-unit-cell.svg | Unit-cell geometry |
materials-assembly.svg | Framework assembly logic |
transport-arrow.svg | Arrow-style columnar transport |
transport-chunked.svg | Worker/task chunking strategy |
Benchmarks
| SVG | Meaning |
|---|---|
benchmarks-rmsd.svg | RMSD distribution versus RDKit |
benchmarks-success.svg | Per-category embed success (diverse set) |
benchmarks-timing.svg | Measured embed time vs. molecule size |
Experimental SVGs
| SVG | Meaning |
|---|---|
experimental-eeq.svg | EEQ model overview |
experimental-alpb.svg | ALPB implicit solvation overview |
experimental-d4.svg | D4 dispersion workflow |
experimental-cpm.svg | Constant-potential method workflow |
experimental-cga.svg | CGA geometric algebra track |
experimental-kpm.svg | Kernel Polynomial Method track |
experimental-mbh.svg | Mobile Block Hessian track |
experimental-randnla.svg | Randomized linear algebra track |
experimental-riemannian.svg | Riemannian optimization track |
experimental-sdr.svg | Semidefinite relaxation track |
experimental-gsm.svg | Growing String Method track |
Root-level public SVGs
| SVG | Meaning |
|---|---|
svg/ani-architecture.svg | ANI stack architecture |
svg/hf3c-architecture.svg | HF-3c stack architecture |
logo.svg | Project/site branding |
Practical Usage Patterns
Recommended baseline workflow for users
embeda structure from SMILES- Reuse
elementsandcoordsfor all geometry-dependent workflows - Choose the cheapest method that matches the property needed:
- topology only: descriptors, ML properties, fingerprints, empirical pKa
- fast electronic proxy: EHT-derived population/dipole/DOS/ESP
- semiempirical SCF: PM3 or xTB
- ab initio-like compact workflow: HF-3c
- Move to spectroscopy, solvation, or materials only after geometry is validated
Common mapping from user goal to API
| Goal | Recommended functions |
|---|---|
| Generate 3D coordinates | embed, embed_batch, embed_diverse |
| Get partial charges fast | compute_charges |
| Obtain quantum-like orbital descriptors cheaply | compute_population, compute_dipole, compute_dos, compute_esp |
| Estimate higher-fidelity electronic energies | compute_pm3, compute_xtb, compute_gfn1, compute_gfn2, compute_hf3c |
| Visualize orbitals | compute_orbital_mesh, eht_orbital_mesh, eht_orbital_grid_typed |
| Score conformers or geometry strain | compute_uff_energy, compute_mmff94_energy |
| Analyze stereochemistry | analyze_stereo (Python) / analyze_stereo (WASM) / stereo (CLI) |
| Compare molecular similarity | compute_ecfp, compute_tanimoto |
| Cluster conformers | butina_cluster, compute_rmsd_matrix, filter_diverse |
Documentation Gaps Still Visible After This Consolidation
This file is comprehensive for the exposed surface, but the repo still has some areas that would benefit from dedicated deep-dive pages:
- PM3 theory and implementation notes
- xTB theory and implementation notes
- dedicated ring perception and fingerprint theory page
- dedicated dynamics / NEB theory page
- dedicated topology-analysis page for coordination environments
- dedicated orbital-mesh page for cross-method visualization
Those gaps are now easier to fill because the public surface and the diagram inventory are consolidated here.