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

Re: [modeller_usage] retrieve fitted models after iterative_structural_align()



On 5/18/11 7:18 AM, Benjamin SCHWARZ wrote:
Can someone tell me what is the (best) way to extract fitted models
after an iterative_structural_align() ?

Use Structure.write():
http://salilab.org/modeller/9.9/manual/node315.html

aln = alignment( env )
for model in models:
    aln.append_model( model )
salign.iterative_structural_align( aln )

for s in aln:
    s.write('%s-fitted.pdb' % s.code)

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