Skip to content

Instantly share code, notes, and snippets.

@StephenFordham
Created April 16, 2019 18:57
Show Gist options
  • Save StephenFordham/c5c1775012fd0e389710f9bb3d5228ab to your computer and use it in GitHub Desktop.
Save StephenFordham/c5c1775012fd0e389710f9bb3d5228ab to your computer and use it in GitHub Desktop.
Creating_a_dict
result = []
for seq in args.pattern:
for x in re.findall(seq, DNA):
result.append(x)
restriction_enzyme = collections.Counter(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment