ViennaRNA / forgi

An RNA manipulation library.
GNU General Public License v3.0
51 stars 30 forks source link

Consolidate find_bulge_loop, shortest_bg_loop and find_multiloop_loops somehow. #10

Closed Bernhard10 closed 5 years ago

Bernhard10 commented 8 years ago

A bulge graph has the member functions

There are no tests for find_bulge_loop.

Is there a reason we need to maintain both functions?

Bernhard10 commented 8 years ago

There is also get_multiloop_nucleotides which seems to be unused.

pkerpedjiev commented 8 years ago

From what I can tell, get_shortest_bg_loop operates on nucleotides whereas find_bulge_loop operates on cg elements. find_multiloop_loops seems to find all multiloop loops.

So they're all slightly different, but could probably be consolidated somehow.

Bernhard10 commented 5 years ago

Forgi 2.0 now has

And some convenience functions which are thin wrappers around find_mlonly_multiloops: