COSMolKit PythonΒΆ
COSMolKit is a Python package for molecule graph workflows, SMILES/SDF/MOL2/XYZ IO, coordinate access, native 3D conformer generation, UFF/MMFF optimization, Morgan fingerprints, molecule depiction, SMARTS parse metadata, protein structure access, and high-throughput batch processing.
Important API model: COSMolKit presents value-style Molecule objects.
Transform methods return new Molecule objects and do not mutate the
original object in place. Internally the library uses copy-on-write (COW)
storage to share unchanged data efficiently. This differs from common RDKit
Python workflows where code often updates an existing molecule or RWMol
directly.
User Guide
- Installation
- Quick Start
- Molecule Values
- Batch Workflows
- Fingerprints
- Protein Structures
- File IO and Arrays
- API Reference
AtomBatchErrorBatchErrorModeBatchExportReportBatchValidationErrorBondBondDirectionBondOrderBondStereoChiralTagMoleculeMoleculeBatchMoleculeEditResidueCodeResidueInfoResidueInfoKindSdfDatasetSdfReaderSdfRecordSdfRecordMetadataexpand_one_letter()expand_one_letter_sequence()expand_protein_one_letter()expand_protein_one_letter_string()find_tabulated_residue()find_tabulated_residue_idx()get_residue_info()mmff_has_all_molecule_params()mmff_optimize_molecule()mmff_optimize_molecule_confs()mol_from_binary()mol_to_binary()parse_smarts()residue_code_from_name()uff_has_all_molecule_params()uff_optimize_molecule()uff_optimize_molecule_confs()- Protein API