Skip to content

extended dot-bracket notation #3

Open

Description

@brendanf

I'm working on a BioConductor package to interface with Infernal, which produces RNA alignments with an extended dot-bracket notation called WUSS. In addition to the characters allowed by Structstrings currently, WUSS allows:

for unpaired positions:
_    hairpin loops
-    bulges, internal loops
,    multifurcation loops
:    external residues
~    unaligned residues

for paired positions:
A-Z    left part of pseudoknot
a-z    right part of pseudoknot

At the moment I am just using BString and BStringSet to represent these secondary structure strings, but it seems that it would be useful to modify or extend Structstrings to also support WUSS. Is that something you would be interested in either a) implementing yourself, or b) considering a pull request for?

Activity

  1. FelixErnst commented on Nov 24, 2024

    @FelixErnst
    Owner

    @brendanf
    Sorry for the long delay. Certainly a pull request would be much appreciated.

  2. FelixErnst commented on Nov 24, 2024

    @FelixErnst
    Owner

    Just had a look at the Infernal userguide. My guess would be that the following things would be on the todo list

    • WUSSString classes implementation
    • WUSSDataFrame classes implementation
    • Figure out the overlap between DotBracketString classes and the WUSSString classes to decide whether it makes sense to implement a common StructString class ancestor
    • Same for the the WUSSDataFrame classes and the DotBracketDataFrame classes
  3. FelixErnst commented on Sep 23, 2025

    @FelixErnst
    Owner

    Hi @brendanf any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions