ConfSpace

class ConfSpace(mols: List<Pair<MoleculeType, Molecule>>)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class ConfConfSpace(frag: ConfLib.Fragment, conf: ConfLib.Conf)
Link copied to clipboard
class ConfLibs : Iterable<ConfLib>
Link copied to clipboard
class DuplicateConfLibException(conflib: ConfLib) : RuntimeException
Link copied to clipboard
class PositionConfSpace
Link copied to clipboard
inner class PositionConfSpaces

Functions

Link copied to clipboard
fun addConformationsFromLibraries(pos: DesignPosition, type: String)
Link copied to clipboard
fun addMotion(desc: MolMotion.Description)
Link copied to clipboard
fun addMutations(pos: DesignPosition, vararg mutations: String)
Link copied to clipboard
fun addPosition(pos: DesignPosition): DesignPosition
Link copied to clipboard
fun addWildTypeConformation(pos: DesignPosition)
Link copied to clipboard
fun checkPosition(pos: DesignPosition)
Link copied to clipboard
fun containsPosition(pos: DesignPosition): Boolean
Link copied to clipboard
fun copy(vararg mols: Molecule): ConfSpace

fun copy(selMols: List<Molecule> = mols.map { (_, mol) -> mol }): ConfSpace

Makes a copy of the selected molecules along with all their design positions into a new conformation space

Link copied to clipboard
fun countConformations(): BigInteger
Link copied to clipboard
fun countSequences(): BigInteger
Link copied to clipboard
fun findMol(name: String): Molecule?
Link copied to clipboard
fun fixedAtoms(mol: Molecule): List<Atom>

Get all the atoms that aren't part of design positions.

Link copied to clipboard
fun getConformations(pos: DesignPosition, frag: ConfLib.Fragment): List<ConfSpace.ConfConfSpace>
fun getConformations(pos: DesignPosition, type: String): List<ConfSpace.ConfConfSpace>
Link copied to clipboard
fun getFragments(pos: DesignPosition): List<ConfLib.Fragment>
fun getFragments(pos: DesignPosition, type: String): List<ConfLib.Fragment>
Link copied to clipboard
fun getMutations(pos: DesignPosition): MutableSet<String>
Link copied to clipboard
fun libraryFragments(): List<ConfLib.Fragment>

Collect all the unique library (ie non-wild-type) fragments used by the conf space.

Link copied to clipboard
fun positions(): List<DesignPosition>

Collect all the positions for all the molecules in a stable order.

Link copied to clipboard
fun wildTypeFragments(): List<ConfLib.Fragment>

Collect all the wild-type fragments from the conf space, whether used or not.

Properties

Link copied to clipboard
val conflibs: ConfSpace.ConfLibs
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val mols: List<Pair<MoleculeType, Molecule>>
Link copied to clipboard
var name: String
Link copied to clipboard
val positionConfSpaces: ConfSpace.PositionConfSpaces

Extensions

Link copied to clipboard
fun ConfSpace.assign(assignments: List<PosAssignment>): Assignments
fun ConfSpace.assign(vararg assignments: PosAssignment): Assignments
Link copied to clipboard
fun ConfSpace.toToml(): String