from_topology#
- biotite.interface.openmm.from_topology(topology)[source]#
Create a
AtomArrayfrom aopenmm.app.topology.Topology.- Parameters:
- topologyTopology
The topology to be converted.
- Returns:
- atomsAtomArray
The created
AtomArray. As theopenmm.app.topology.Topologydoes not contain atom coordinates, the values of theAtomArraycoordare set to NaN.
Notes
This function is especially useful for obtaining an updated template, if the original topology was modified (e.g. via
openmm.app.modeller.Modeller).