ultraplex/__main__.py
def rev_c(seq):
    """
    simple function that reverse complements a given sequence
    """
    tab = str.maketrans("ACTGN", "TGACN")
    # first reverse the sequence
    seq = seq[::-1]
    # and then complement
    seq = seq.translate(tab)
    return seq

    simple function that reverse complements a given sequence
    
simple function that reverse complements a given sequence
simple function that reverse complements a given sequence
def rev_c(seq):
    tab = str.maketrans("ACTGN", "TGACN")
    seq = seq[::-1]
    seq = seq.translate(tab)
    return seq
def rev_c ( seq ) : tab = str . maketrans ( "ACTGN" , "TGACN" ) seq = seq [ : : - 1 ] seq = seq . translate ( tab ) return seq
simple function that reverse complements a given sequence
simple function that reverse complements a given sequence
"""
    simple function that reverse complements a given sequence
    """ # first reverse the sequence
 # and then complement

seq