next up previous contents index
Next: model.orient() center Up: The model class: handling Previous: model.to_iupac() standardize   Contents   Index

model.reorder_atoms() -- standardize order of MODEL atoms

topology library

This routine reorders atoms within the residues of MODEL so that they follow the order in the current residue topology library.

Example: examples/commands/

# Example for: model.reorder_atoms()

# This will standardize the order of atoms in the model.

from modeller import *

env = environ() = ['../atom_files']

# Order the atoms according to a topology library:'$(LIB)/top_heav.lib')

mdl = model(env, file='1fas')

Automatic builds 2012-08-29