OOps! sorry, forgot a couple of vital lines:
from pymol import cmd
from pymol import commanding
def __init__(self):
cmd.extend('allalign',allAlign)
def allAlign(id=''):
"""Aligns all models in a list to the
specified model where '' is the model id you want to
align a
Hi,
I've written a script for aligning all structures loaded against your
structure of choice:
def __init__(self):
cmd.extend('allalign',allAlign)
def allAlign(id=''):
"""Aligns all models in a list to the
specified model where '' is the model id you want to
align
Thanks for that one; it works as advertised.
Another question: if I have 10 different structures read into PyMOL,
what is the best (most accurate) method for aligning the structures as
an ensemble? Currently, I'm aligning all to the first structure read
in (i.e. 2>1, 3>1, etc.) using a for l