Package edu.duke.cs.osprey.gui.forcefield.amber

Types

Link copied to clipboard
class Amber14SBParams : AmberForcefieldParams
Link copied to clipboard
class Amber96Params : AmberForcefieldParams
Link copied to clipboard
enum AmberAtomTypes : Enum<AmberAtomTypes>
Link copied to clipboard
data class AmberChargeGeneration(method: AmberChargeMethod, netCharge: Int, minimizationSteps: Int)
Link copied to clipboard
enum AmberChargeMethod : Enum<AmberChargeMethod>
Link copied to clipboard
object AmberDefaults
Link copied to clipboard
abstract class AmberForcefieldParams(ffnameOverrides: Map<MoleculeType, ForcefieldName>) : ForcefieldParams
Link copied to clipboard
data class AmberMolParams(mol: Molecule, atomIndex: AtomIndex, types: AmberTypes, frcmods: List<String>)
Link copied to clipboard
data class AmberParams(top: String, crd: String)
Link copied to clipboard
class AmberTopology(pointers: List<Int>, atomNames: List<String>, atomicNumbers: List<Int>, residuePointers: List<Int>, residueLabels: List<String>, bondsIncHydrogen: List<Int>, bondsWithoutHydrogen: List<Int>, dihedralsIncHydrogen: List<Int>, dihedralsWithoutHydrogen: List<Int>, charges: List<Double>, atomTypeIndices: List<Int>, nonbondedParmIndices: List<Int>, esScaleFactors: List<Double>, vdwScaleFactors: List<Double>, lennardJonesACoeff: List<Double>, lennardJonesBCoeff: List<Double>, atomTypes: List<String>)

A representation of the parts of the AMBER topology file format that we care about in OSPREY.

Link copied to clipboard
data class AmberTypes(ffname: ForcefieldName, atomTypes: Map<Int, String>, bondTypes: Map<IntPair, String>, atomCharges: Map<Int, String>)
Link copied to clipboard
enum Architecture : Enum<Architecture>
Link copied to clipboard
object CrdIO
Link copied to clipboard
data class ForcefieldName(name: String, atomTypes: AmberAtomTypes?)
Link copied to clipboard
enum Hybridization : Enum<Hybridization>
Link copied to clipboard
class MappingException(msg: String) : RuntimeException
Link copied to clipboard
class MinimizerInfo(mol: Molecule, restrainedAtoms: List<Atom>)
Link copied to clipboard
data class MissingAtom(mol: Molecule, chain: Polymer.Chain?, res: Polymer.Residue?, atom: Atom)
Link copied to clipboard
class MoleculeMapper(src: Molecule, dst: Molecule)

Maps from a Antechamber/LEaP-generated mol2 molecule to a Molscope molecule.

Link copied to clipboard
enum MoleculeType : Enum<MoleculeType>
Link copied to clipboard
enum OperatingSystem : Enum<OperatingSystem>
Link copied to clipboard
class ParseException(msg: String) : RuntimeException
Link copied to clipboard
class Platform(os: OperatingSystem, arch: Architecture)
Link copied to clipboard
data class ProtonatedAtom(mol: Molecule, chain: Polymer.Chain?, res: Polymer.Residue?, heavy: Atom, light: Atom)
Link copied to clipboard
data class Protonation(element: Element, numHeavy: Int, numH: Int, hybridization: Hybridization)
Link copied to clipboard
object TopIO

Functions

Link copied to clipboard
suspend fun Molecule.calcModsAmber(types: AmberTypes, atomIndex: AtomIndex): String?
Link copied to clipboard
suspend fun AmberMolParams.calcParamsAmber(): AmberParams
suspend fun List<AmberMolParams>.calcParamsAmber(): AmberParams
Link copied to clipboard
suspend fun Molecule.calcTypesAmber(molType: MoleculeType, atomIndex: AtomIndex, ffname: ForcefieldName = molType.defaultForcefieldNameOrThrow, generateCharges: AmberChargeGeneration? = null): AmberTypes

Calculate Amber types for atoms and bonds. Pass values to chargeMethod and netCharge to calculate partial charges for small molecules as well.

Link copied to clipboard
fun Molecule.deprotonate()

Removes all hydrogen atoms from the molecule.

fun Molecule.deprotonate(atom: Atom)

Removes all bonded hydrogen atoms from the atom.

Link copied to clipboard
fun Molecule.findProtonation(atom: Atom, numH: Int, hybridization: Hybridization): Protonation?
Link copied to clipboard
fun Molecule.findTypeOrThrow(): MoleculeType

Returns the type of the molecule based on AMBER rules for residue classification, or throws an exception.

Link copied to clipboard
fun Molecule.findTypes(): Set<MoleculeType>

Returns the types of the molecules in the Molecule instance based on AMBER rules for residue classification.

Link copied to clipboard
suspend fun Molecule.inferBondsAmber(): List<AtomPair>

Uses Amber forcefields to infer atom connectivity, but not bond order.

Link copied to clipboard
fun Molecule.inferBondsAmberBlocking(): List<AtomPair>
Link copied to clipboard
suspend fun Molecule.inferMissingAtomsAmber(): List<MissingAtom>

Uses Amber forcefields to infer missing heavy atoms and their positions.

Link copied to clipboard
fun Molecule.inferMissingAtomsAmberBlocking(): List<MissingAtom>
Link copied to clipboard
suspend fun Molecule.inferProtonation(): List<ProtonatedAtom>

Returns a list of heavy-hydrogen atom pairs based on inferred forcefield atom and bond types.

Link copied to clipboard
fun Molecule.inferProtonationBlocking(): List<ProtonatedAtom>
Link copied to clipboard
fun Molecule.mapTo(dst: Molecule): MoleculeMapper
Link copied to clipboard
suspend fun List<MinimizerInfo>.minimize(numSteps: Int)

Minimize the selected molecules with molecule-associated information using sander from AmberTools

Link copied to clipboard
fun List<MinimizerInfo>.minimizeBlocking(numSteps: Int)
Link copied to clipboard
fun Molecule.partition(combineSolvent: Boolean = true): List<Pair<MoleculeType, Molecule>>
fun Collection<Molecule>.partition(combineSolvent: Boolean = true): List<Pair<MoleculeType, Molecule>>
Link copied to clipboard
fun Molecule.partitionAndAtomMap(combineSolvent: Boolean = true): Pair<List<Pair<MoleculeType, Molecule>>, AtomMap>

Partition a single Molecule into a list of Molecules based on AMBER rules for residue classification.

fun Collection<Molecule>.partitionAndAtomMap(combineSolvent: Boolean = true): Pair<List<Pair<MoleculeType, Molecule>>, AtomMap>
Link copied to clipboard
suspend fun Molecule.protonate(atom: Atom, protonation: Protonation)

Adds hydrogens atoms to the atom in the supplied protonation state.

Link copied to clipboard
fun Molecule.protonateBlocking(atom: Atom, protonation: Protonation)
Link copied to clipboard
fun Molecule.protonations(atom: Atom): List<Protonation>

Get all the supported protonation states for the specified atom.