ChainGeneratorSingleResidue

class ChainGeneratorSingleResidue(idGenerator: ChainIdGenerator) : ChainGenerator

Generates single-residue chains for non-polymer molecules. Useful for small molecules.

Constructors

Link copied to clipboard
fun ChainGeneratorSingleResidue(idGenerator: ChainIdGenerator)

Functions

Link copied to clipboard
open override fun generateChain(nonPolymerMol: Molecule, polymerMol: Polymer, polymerAtoms: List<Atom>): Polymer.Chain

nonPolymerMol is the input non-polymer molecule to be combined. polymerMol is the combined output molecule, with the polymerAtoms already added. polyerAtoms are the atoms in polymerMol which have already been copied from nonPolymerMol.

Link copied to clipboard
open override fun setUsedIds(ids: Collection<String>)

Properties

Link copied to clipboard
val idGenerator: ChainIdGenerator