1 cccccccccccccccccccccccccccccccccc
2 subroutine get_diff12(aarray,barray,diff)
3 implicit real*8 (a-h,o-z)
9 include 'COMMON.INTERACT'
11 dimension aarray(mxang,maxres,mxch),
12 & barray(mxang,maxres,mxch)
13 real x1(maxres),y1(maxres),z1(maxres)
14 integer n_1(maxres),L1
15 real x2(maxres),y2(maxres),z2(maxres)
16 integer n_2(maxres),L2
25 theta(j+1)=barray(1,j,k)
26 phi(j+2)=barray(2,j,k)
43 theta(j+1)=aarray(1,j,k)
44 phi(j+2)=aarray(2,j,k)
59 call TMscore(L1,x1,y1,z1,n_1,L2,x2,y2,z2,n_2,TM,Rcomm,Lcomm)
62 cd write(*,*)'TMscore=',TM,diff
63 cd write(*,*)'Number of residues in common=',Lcomm
64 cd write(*,*)'RMSD of the common residues=',Rcomm
73 dif=rad2deg*dabs(aarray(i,j,k)-barray(i,j,k))
74 if(dif.gt.180.) dif=360.-dif
75 if (dif.gt.diffcut) diff=diff+dif
82 ccccccccccccccccccccccccccccccccccccccccccccccccc