[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [modeller_usage] retrieve model object
- To: Andrea Coletta <andrea.coletta AT uniroma2.it>
- Subject: Re: [modeller_usage] retrieve model object
- From: Modeller Caretaker <modeller-care@ucsf.edu>
- Date: Fri, 09 Jul 2010 09:26:45 -0700
- Cc: modeller_usage <modeller_usage@listsrv.ucsf.edu>
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
--
modeller-care@ucsf.edu http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage