Hi Shuxiang,
Try to run
find_pair with the
-s option. For example, with PDB id 355d, you'd get the following:
find_pair -s 355d.pdb
# check file: ref_frames.dat
24 bases
... 1 C # A:...1_:[.DC]C
16.9789 25.9058 25.8821 # origin
-0.9926 0.0784 -0.0923 # x-axis
0.1143 0.8582 -0.5004 # y-axis
0.0400 -0.5073 -0.8609 # z-axis
... 2 G # A:...2_:[.DG]G
16.5327 24.5857 22.7653 # origin
-0.7750 0.6089 -0.1693 # x-axis
0.6082 0.6457 -0.4617 # y-axis
-0.1718 -0.4607 -0.8707 # z-axis
......
You could also easily get the base reference frame using DSSR with the
--json option. For example,
x3dna-dssr -i=355d.pdb --json | jq -c .nts[0].frame
# you'd get the following for A.DC1
{"rmsd":0.01,"origin":[16.979,25.906,25.882],"x_axis":[-0.993,0.078,-0.092],
"y_axis":[0.114,0.858,-0.5],"z_axis":[0.04,-0.507,-0.861],"quaternion":[0.034,0.05,0.963,-0.262]}
HTH,
Xiang-Jun