Expand description
chematic-perception — molecular perception algorithms.
Provides:
sssr: Smallest Set of Smallest Rings (SSSR) via Balducci-Pearlman algorithm.aromaticity: Hückel aromaticity perception for kekulized molecules.
Re-exports§
pub use aromaticity::AromaticityModel;pub use aromaticity::RingAromaticity;pub use aromaticity::apply_aromaticity;pub use aromaticity::assign_aromaticity;pub use aromaticity::augmented_ring_set;pub use aromaticity::count_aromatic_rings;pub use pharmacophore::Feature;pub use pharmacophore::FeatureType;pub use pharmacophore::detect_features;pub use pharmacophore::features_to_bitvec;pub use ring_family::RingFamily;pub use ring_family::RingSystemKind;pub use ring_family::find_ring_families;pub use sssr::RingSet;pub use sssr::find_sssr;pub use stereo_validation::StereoCompleteness;pub use stereo_validation::StereoError;pub use stereo_validation::StereoErrorKind;pub use stereo_validation::stereo_completeness;pub use stereo_validation::validate_stereo;pub use stereo2d::StereoAssignment2D;pub use stereo2d::apply_stereo_from_2d;pub use stereo2d::assign_ez_from_2d;pub use stereo2d::assign_stereo_from_2d;pub use stereo2d::cip_ez_descriptor;
Modules§
- aromaticity
- Hückel aromaticity perception with antiaromaticity detection.
- cip_
priority - v0.1.93: Full multi-sphere CIP (Cahn–Ingold–Prelog) priority comparison.
- pharmacophore
- Pharmacophore feature detection and fingerprinting.
- ring_
family - sssr
- Smallest Set of Smallest Rings (SSSR) via the Balducci-Pearlman algorithm.
- stereo2d
- v0.1.93: Stereochemistry assignment from 2D coordinates with full CIP prioritization.
- stereo_
validation - Stereochemistry quality validation.
Structs§
- Valence
Error - A valence violation on a specific atom.
Functions§
- aromatize
- Apply aromaticity to
molin-place (wrapper forapply_aromaticity). - is_
fused_ ring_ system - Return
trueif the molecule contains a fused ring system. - kekulize_
inplace - Convert
molto Kekulé form in-place (wrapper forkekulize+apply_kekule). - ring_
membership - For each atom, return the list of SSSR ring indices that contain it.
- ring_
sizes_ for_ atom - Return the sizes of all SSSR rings that contain
atom_idx. - validate_
valence - Check every atom in
molfor valence violations.