Build#
For explicit topology construction, use molsysmt.MolSysBuilder. Declare atoms
and groups first, add bonds with optional metadata such as
builder.add_bond(atom_0, atom_1, bond_order=2, bond_type="covalent"), assign
coordinates with set_coordinates(), and call build() to materialize a native
system. Before materialization, molsysmt.get(builder, ...) reads the complete
declared attribute union of the builder’s chemical/topological and structural
components. A builder does not store molecular-mechanics attributes or
per-structure chemical-state associations. The four course paths include
complete builder examples.
Conversions among molsysmt.MolSys, molsysmt.MolSysBuilder, and
molsysmt.MolSysDict provide exhaustive fidelity reports. The reduced
dictionary conversion canonicalizes atom selections, preserves the requested
structure_indices order, and rejects detected loss when strict=True.
bond_order is the formal numeric order; bond_type describes the chemical
relationship and accepts covalent, dative, or explicitly unknown.
Aromaticity, fractional order, and force-field parameter classes are distinct
concepts and are not encoded as arbitrary bond_type labels.
Adding new covalent bonds between atoms in a molecular system |
|
Adding the missing bonds in a molecular system |
|
Adding the missing heavy atoms in a molecular system |
|
Adding the missing hydrogen atoms in a molecular system |
|
Adding the missing terminal cappings in a molecular system |
|
Building a peptide |
|
Define a new chain with new id and name attributes |
|
Getting the disulfide bonds of a molecular system |
|
Getting the missing bonds of a molecular system |
|
Getting the missing heavy atoms of a molecular system |
|
Getting the missing residues of a molecular system |
|
Getting the missing terminal cappings of a molecular system |
|
Getting the non standard residues of a molecular system |
|
Checking if a molecular system has hydrogen atoms |
|
Checking if a molecular system is solvated |
|
Making a bioassembly of a molecular system |
|
Making a water box system |
|
Mutating residues in a molecular system |
|
Removing overlapping molecules in a molecular system |
|
Solvating of a molecular system |
|
Solving the coordinates of atoms with alternate locations in a molecular system |