[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [modeller_usage] retrieve model object



On 7/9/10 7:49 AM, Andrea Coletta wrote:
      it is possible to retrieve the model(s) object from the
automodel.make() instance, instead of writing a pdb(s) and subsequenlty
open it with a model.read() ?

You can override the automodel.user_after_single_model() method:
http://salilab.org/modeller/9v8/manual/node71.html

This method gets called after each model is produced; the model object itself is the 'self' argument. You can do your per-model analysis here.

	Ben Webb, Modeller Caretaker
--
             http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage