According to the documentation junctions returns A list of tuples of multiloop segments. Each tuple contains the segments of one regular (i.e. not pseudoknotted) multiloop.
but the output isn't always a list of only regular multiloops, for example:
Although the output list is intended to indicate the quantity of regular multiloops, which is two in this instance, an inspection of the graph produced by Forna reveals that there is only one regular multiloop.
In addition, using describe_multiloop(multiloop)[source] we get:
According to the documentation
junctions
returns A list of tuples of multiloop segments. Each tuple contains the segments of one regular (i.e. not pseudoknotted) multiloop. but the output isn't always a list of only regular multiloops, for example:Although the output list is intended to indicate the quantity of regular multiloops, which is two in this instance, an inspection of the graph produced by Forna reveals that there is only one regular multiloop.
In addition, using
describe_multiloop(multiloop)
[source] we get: