Source code for bioseq.reverse

[docs] def reverse(seq): """Generate the reversal of the current DNA sequence. Args: seq (string): Input DNA sequence. Returns: string: Reversal of the current DNA sequence. """ return seq[::-1]