Unverified Commit f7903932 authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

fix rev_comp2

parent 331d5485
Pipeline #58163 passed with stages
in 15 seconds
import string
def rev_comp(seq):
"""
......@@ -8,6 +8,6 @@ def rev_comp(seq):
reverse = seq[::-1]
direct = 'acgtATCG'
comp = 'tgcaTGCA'
table = string.maketrans(direct, comp)
table = str.maketrans(direct, comp)
rev_comp = reverse.translate(table)
return rev_comp
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment