revComp = reverse . map (\n -> case n of 'A' -> 'T'; 'T' -> 'A'; 'C' -> 'G'; 'G' -> 'C') revComp = lambda s: ''.join({'A': 'T', 'T': 'A', 'C': 'G', 'G': 'C'}[n] for n in reversed(s))
[namegrep.com]2
Page:
Context: