get_atoms_from_smiles

analyze.get_atoms_from_smiles(smiles, cell=None)

Build an ASE Atoms object from a SMILES string with RDKit 3D embedding and covalent bond metadata.

Parameters

Name Type Description Default
smiles A string representing the SMILES notation of a molecule required
cell The cell parameter is an optional argument that specifies the size of the simulation cell in Angstroms. If it is not provided, a default cell size of 10x10x10 Angstroms is used None

Returns

Name Type Description
an ASE Atoms object that represents the molecule specified by the SMILES string input. The Atoms object contains information about the atomic positions, atomic symbols, and covalent bonds in the molecule. Additionally, the Atoms object contains information about the SMILES string used to generate the molecule and the cell size used to embed the molecule.