Hi Yanfeng,

You need to supply the two imol numbers in the apply_lsq_matches() function (defined in WinCoot\share\coot\python\coot_lsq.py).

For example:

clear_lsq_matches()
add_lsq_match(12,18,"B",12,18,"D",2) #match-type is 0 for all-atom, 1 for mainchain and 2 for CAs
add_lsq_match(25,35,"B",25,35,"D",2)
apply_lsq_matches(0,1) #assuming imol 1 is the moving one and imol 0 is the reference

Zhijie

-----Original Message----- From: yanfeng zhou
Sent: Thursday, February 12, 2015 9:03 AM
To: Zhijie Li
Subject: Re: [ccp4bb] Superposition of select residues

Morning, Zhijie. Thanks for your tips.  They are really useful.

I have a quick question here about the mutli range LSQ in coot.  I
read the link you post, and how do I define the imol number in this
multi range lsq command?  It only listed chain id in the instruction.

Thanks,
Yanfeng

Reply via email to