next up previous contents index
Next: alignment.id_table() calculate Up: The alignment class: comparison Previous: alignment.edit() edit   Contents   Index

alignment.describe() -- describe proteins

This command outputs basic data about the proteins in the current alignment ( read in by alignment.append()). This command is useful for preparation before comparative modeling because it summarizes disulfides, cis-prolines, charges, chain breaks, etc. Results which depend only on the amino acid sequences are still written out even if some atom files do not exist.

Example: examples/commands/

# Example for: alignment.describe()

# Describe the sequences and structures in the alignment.

from modeller import *

env = environ() = ['../atom_files']
aln = alignment(env, file='toxin.ali', align_codes=('2ctx', '2abx'))

Ben Webb 2008-05-05