RonWeber Feb 14th, 2020 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. reverse_comp = lambda s: "".join({"A": "T", "T": "A", "C": "G", "G": "C"}[b] for b in (a.upper() for a in s[::-1])) # Using more than one line is heresy, comrade!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand