Subcommands of build correspond to sections of the Build Structure tool:
See also: addh, bond, angle, torsion, delete, swapaa, swapna, altlocs, dockprep, combine, renumber, changechains, open, rna
•
build start atom
model-info
[ position x,y,z ]
[ resName resname ]
[ select true | false ]
•
build start fragment
model-info
fragment-name
[ position x,y,z ]
[ resName resname ]
•
build start peptide
model-info sequence
φ1,ψ1
φ2,ψ2
... φN,ψN
[ position x,y,z ]
[ chainId ID ]
[ rotLib rotamer-library ]
•
build start nucleic
model-info sequence
[ position x,y,z ]
[ type dna | rna | hybrid ]
[ form A | B ]
For starting a new molecule with build start, the choices are atom, fragment, peptide, or nucleic. With the open command, however, a wide variety of atomic structures for subsequent modification can be fetched from online sources or modeled from a SMILES string.• build modify atom element numBonds [ geometry ion | single | linear | trigonal | tetrahedral ] [ connectBack true | false ] [ colorByElement true | false ] [ name name ] [ newRes true | false ] [ resName resname ]The model-info can be given as the identifier of an existing atomic model (for example, #2) or a character-string name for a new model.
The position of the new atom or new molecule's geometric center defaults to the current center of view, but can be given as x,y,z coordinates separated by commas only.
For fragment, both model-info and fragment-name are required. Several planar 5- and 6-membered rings and their fused ring systems are available, with choices for fragment-name as listed in the Build Structure dialog.
For peptide, the required arguments are model-info and the sequence as a string of single-letter amino acid codes (upper- or lowercase) and a list of comma-separated pairs of φ,ψ values, one pair for each residue, in the same order as in the sequence. Even though the terminal residues lack either φ or ψ, a pair of values is required for each residue. The “extra” values for the terminal residues will be ignored. Example:
build start peptide "custom built" ADKLL -57,-47 -57,-47 -57,-47 -57,-47 -57,-47 rotLib DunbrackFor nucleic, the required arguments are model-info and the sequence of one strand as a string of single-letter nucleic acid codes (upper- or lowercase). The complementary strand of the double helix will also be built according to the specified type (default dna) and form (default B). For building a hybrid DNA/RNA, the sequence of the DNA strand should be given. The nucleic acid chains will be assigned the first two unused chain IDs of the atomic model.
Further options:
- resName – for atom or fragment, a name for the new residue (default UNL)
- select – for atom only, whether to select the new atom (default true), as may be convenient for subsequent modification
Options for peptide only:
- chainId – an existing or new chain ID (default the “lowest” unused ID)
- rotLib – which amino acid sidechain rotamer library to use (see swapaa for details and literature citations):
- Dunbrack (default)
- Dynameomics
- Richardson.common
- Richardson.mode
The build modify command changes the type of a single specified atom and automatically fills its valence with attached hydrogens. The hydrogens could be modified in turn to continue building outward. The element (element symbol) and numBonds (total number of bonds to the atom, including hydrogens) must also be given, for example:• build join peptide atoms [ length bond-length ] [ phi φ ] [ omega ω ] [ move large | small | C | N ]build modify sel O 2 geometry tetrahedralHydrogens will be added to the atom to generate the indicated total number of bonds. They are added to form the idealized bond angles for the specified geometry, or if the atom already has two or more substituents, to maximally avoid those substituents. The default geometry is the same as for the atom's current type. Since the geometry around the atom may be changing, any pre-existing directly attached hydrogens are removed beforehand. No other atoms are removed automatically. If the atom is already bonded to one (and only one) other nonhydrogen atom, the length of the bond will be adjusted depending on the elements involved. No other atoms are moved.
Other options:
- connectBack (default true) – if a newly added hydrogen would be very close to an existing atom in the same model, discard the hydrogen and form a bond to the existing atom instead
- colorByElement (default true) – color the modified atom and any newly added hydrogens by element
- name – new name for the modified atom; if not given, the atom name is kept the same if the element stays the same, or changed to an element-based name if the element is changed
- newRes – whether to put the modified atom and any attached hydrogens into a new residue.
If newRes is false (default):If newRes is true:
- the resName option can be used to rename the residue containing the modified atom
- if resName is omitted, the residue containing the modified atom will retain its original name
- if resName is given as auto, the residue will be renamed according to the following rules:
- UNK for an amino acid in a bonded chain
- N for a nucleic acid in a bonded chain
- UNL otherwise
- a name for the new residue can be supplied with the resName option
- if resName is omitted or given as auto, the new residue's name will be based on the atom's original residue type according to the following rules:
- UNK for an amino acid in a bonded chain
- N for a nucleic acid in a bonded chain
- UNL otherwise
The build join command forms a covalent bond of the specified geometry between two atomic models, combining the two models into one. The atoms of one model are repositioned and incorporated into the other model; the original model will no longer exist. Thus, it may be a good idea to save a session beforehand, since the join (along with other building actions) cannot be undone. The related command combine also combines atomic models, but without forming a bond or changing the relative positions of the atoms.Currently, only a peptide bond can be formed, where atoms must include exactly one peptide C-terminal carbon atom C –OR– N-terminal nitrogen atom N (not both) from one model, and from a second model, exactly one of whichever of those two atoms is not in the first. These C and N atoms each must be bonded to only one carbon (except N in proline or hydroxyproline can be bonded to two carbons); however, it may also be bonded to hydrogen and/or OXT, and if so, these atoms will be replaced as appropriate by the new peptide bond. The default length for the new C-N bond is 1.330 Å and the default omega angle (Cα-C-N-Cα dihedral) is 180.0°. There is no default for the phi angle (C-N-Cα-C dihedral). The model to move is repositioned and its atoms placed in the other model, using the chain ID from the other model. Options for which model to move:
- large – the one with the greater number of atoms
- small (default) – the one with fewer atoms
- C – the one containing the C atom to be bonded
- N (default if the two models have equal numbers of atoms) – the one containing the N atom to be bonded
The values of omega and phi (along with other peptide torsion angles) are attributes of the amino acid residue containing the newly bonded N.
• build invert atom-specThe build invert command exchanges the positions of two substituents of an atom, potentially inverting a chiral center. Substituents of atoms that are not chiral centers can also be swapped.
- If a single atom is specified, the command exchanges the positions of its two smallest substituents based on number of atoms, or if those are the same, the atomic weights of the atoms directly bonded to the selected atom. Implicit hydrogens on the selected atom are considered, but not those on its substituents. These rules are not meant to reproduce the much more complex “priority” calculations used in chirality determination.
- If two atoms directly bonded to the same central atom are specified, the command will exchange the positions of the substituents rooted at those atoms.
The results can be reversed by simply repeating the command.