[Chimera-users] A question abount "define axis"

squirrel squirrel_dock at 163.com
Mon Feb 6 20:11:10 PST 2023


Dear Chimera list,
I'm Interested in finding and showing the distance of N-terminal and C-terminal between two proteins.
As I can't download GUI so I use "chimera --nogui" to compute them.
That's my command:
open protein.pdb
sel:1.Ln;
measure center sel mark True radius 0.3 color cyan modelId 1;

sel:1.S2;

measure center sel mark True radius 0.3 color cyan modelId 2;

sel:390.Lz;

measure center sel mark True radius 0.3 color cyan modelId 3;

sel:44.LH;

measure center sel mark True radius 0.3 color cyan modelId 4;



distance #1 #3;

define axis name Ln_N_Lz_C #1 #3;

distance #1 #4;

define axis name Ln_N_LH_C #1 #4;

distance #2 #3;

define axis name S2_N_Lz_C #2 #3;
distance #2 #4;

define axis name S2_N_LH_C #2 #4;


stop


But I found that when I input "distance" and "define axis" the terminal shows that "Must specifiy at least two atoms/centroids to define an axis".
 


I am puzzle because I can see the #1,#2,#3,#4 in the list.
 


Can you give me some guidance?
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20230207/43aa7d47/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1675742867493.png
Type: image/png
Size: 1890 bytes
Desc: not available
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20230207/43aa7d47/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.png
Type: image/png
Size: 2376 bytes
Desc: not available
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20230207/43aa7d47/attachment-0001.png>


More information about the Chimera-users mailing list