Hi Luigi,
Thanks for providing the "3HTS.py.pdb" file which helped me to trace where the problem is. As shown below, the two neighboring A.DG1 nts are differentiated only by segids "B000" and "A00A", which were not taken into account by the DSSR version you used. So both residues are taken as ONE unit, even though they are far off as shown in your initial attached image.
ATOM 1 O5' DG A 1 39.110 13.077 4.497 1.00 33.08 B000 O
ATOM 2 C5' DG A 1 38.049 13.488 3.641 1.00 31.25 B000 C
ATOM 3 C4' DG A 1 37.215 12.293 3.246 1.00 29.19 B000 C
......
ATOM 18 N3 DG A 1 33.391 11.463 -0.413 1.00 20.16 B000 N
ATOM 19 C4 DG A 1 33.803 12.711 -0.134 1.00 22.14 B000 C
ATOM 1 O5' DG A 1 1.555 13.077 30.156 1.00 33.08 A00A O
ATOM 2 C5' DG A 1 2.616 13.488 31.012 1.00 31.25 A00A C
ATOM 3 C4' DG A 1 3.450 12.293 31.407 1.00 29.19 A00A C
......
ATOM 18 N3 DG A 1 7.274 11.463 35.066 1.00 20.16 A00A N
ATOM 19 C4 DG A 1 6.862 12.711 34.787 1.00 22.14 A00A C
If you paid attention to DSSR diagnostic message, you may have noticed the following:
more than one < O5'> atoms in A.DG1
*****the first match is used*****
more than one < C5'> atoms in A.DG1
*****the first match is used*****
......
This bug only shows up in very special cases as yours -- with
segid info, and two otherwise identical residues next to each other. I've fixed the issue and updated DSSR binaries in the download page (currently still called
v1.2.9-2015jul25). Now the corresponding section is as below:
List of 3 atom-base capping interactions
dv: vertical distance of the atom above the nucleotide base
-----------------------------------------------------------
type atom nt dv
1 sugar O4'@.A00A.A.DG.1. ..A.DC.12. 2.84
2 sugar O4'@..A.DG.1. .A00Z.A.DC.12. 2.84
3 sugar O4'@.B000.A.DG.1. .B00A.A.DC.12. 2.84
Please have a try and
report back how it goes.
Best regards,
Xiang-Jun