Hi Chen,
DSSR identifies junctions (and other types of loops, such as hairpin loop, internal loop or bulge) as one would expect when looking at the secondary structure representation. For example, the cover image of the DSSR User Manual for the yeast phenylalanine tRNA (1ehz) shows the 4-way junction in the middle and three hairpin loops at the peripheral. The length of stems do not matter, and a (junction) loop forms a 'topological' circle -- see the DSSR output of the 4-way junction for 1ehz:
List of 1 junction
1 4-way junction: nts=16; [2,1,5,0]; linked by [#1,#2,#3,#4]
nts=16 UUAgCgCGAGgUCcGA A.U7,A.U8,A.A9,A.2MG10,A.C25,A.M2G26,A.C27,A.G43,A.A44,A.G45,A.7MG46,A.U47,A.C48,A.5MC49,A.G65,A.A66
nts=2 UA A.U8,A.A9
nts=1 g A.M2G26
nts=5 AGgUC A.A44,A.G45,A.7MG46,A.U47,A.C48
nts=0
More details about the underlying algorithms will be described in the DSSR manuscript I have been focusing on. Stay tuned.
HTH,
Xiang-Jun