Companion

object Companion

Extensions

Link copied to clipboard
fun Molecule.Companion.fromMol2(mol2: String, isPolymer: Boolean? = null): Molecule

Read a molecule in MOL2 format.

Link copied to clipboard
fun Molecule.Companion.fromMol2WithMetadata(mol2: String, isPolymer: Boolean? = null): Pair<Molecule, Mol2Metadata>
Link copied to clipboard
fun Molecule.Companion.fromOMOL(toml: String, throwOnMissingAtoms: Boolean = DefaultThrowOnMissingAtoms): List<Molecule>

Read molecules from the OMOL (OSPREY molecule) format.

fun Molecule.Companion.fromOMOL(doc: TomlParseResult, throwOnMissingAtoms: Boolean = DefaultThrowOnMissingAtoms): List<Molecule>
Link copied to clipboard
fun Molecule.Companion.fromOMOLWithAtoms(doc: TomlParseResult, throwOnMissingAtoms: Boolean = DefaultThrowOnMissingAtoms): List<Pair<Molecule, Map<Int, Atom>>>
Link copied to clipboard
fun Molecule.Companion.fromPDB(pdb: String): Molecule

Read a molecule in PDB format.