eternagame / EternaJS

Eterna game/RNA design interface
Other
12 stars 10 forks source link

Support pseudoknots of order higher than 3 #754

Closed luxaritas closed 5 days ago

luxaritas commented 1 week ago

Summary

Currently, our pseudoknot handling only supports 3rd-order pseudoknots as the only supported sets of characters for pairs are (), [], {}, and <>. We now add pairs of lower and upper case letters as well as explicitly erroring when encountering situations we can't handle.

This was change was specifically spurred by the in-progress RibonanzaNet integration sometimes predicting these higher-order pseudoknots (https://forum.eternagame.org/t/preview-ribonanzanet-ss-in-eterna/4955/15).

Implementation Notes

Testing

New and existing unit tests

Related Issues

Continues/stacked on #753, raised as part of #748