Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement