utils/infernal_utils.py
def convert_short_wuss_to_dbn(ss_string):
    """
    Converts RNA structure string from shorthand WUSS notation to dot-bracket notation

    ss_string: Secondary structure string
    """

    for regex in DBN_REGEX.keys():
        ss_string = re.sub(regex, DBN_REGEX[regex], ss_string)

    return ss_string

    Converts RNA structure string from shorthand WUSS notation to dot-bracket notation

    ss_string: Secondary structure string
    
Converts RNA structure string from shorthand WUSS notation to dot-bracket notation
ss_string: Secondary structure string
Converts RNA structure string from shorthand WUSS notation to dot - bracket notation ss_string : Secondary structure string
def convert_short_wuss_to_dbn(ss_string):
    for regex in DBN_REGEX.keys():
        ss_string = re.sub(regex, DBN_REGEX[regex], ss_string)
    return ss_string
def convert_short_wuss_to_dbn ( ss_string ) : for regex in DBN_REGEX . keys ( ) : ss_string = re . sub ( regex , DBN_REGEX [ regex ] , ss_string ) return ss_string
Converts RNA structure string from shorthand WUSS notation to dot-bracket notation
ss_string: Secondary structure string
Converts RNA structure string from shorthand WUSS notation to dot - bracket notation ss_string : Secondary structure string
"""
    Converts RNA structure string from shorthand WUSS notation to dot-bracket notation

    ss_string: Secondary structure string
    """
ss_string