Skip to content
Snippets Groups Projects
Commit 7a02f643 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Fix bug shift one nt for guide

parent 8a6ca374
No related branches found
No related tags found
No related merge requests found
......@@ -35,13 +35,13 @@ def find_targets(seq):
for target in matching_targets:
matching_target = target.group(1)
start, end = target.span(1)
start_min = 13
start_min = 14
if start >= start_min:
guide_start = start - start_min
guide_end = start + 7
guide_end = end - 16 - 3
guide = seq_revcomp[guide_start:guide_end]
assert len(guide) == 20
pos_seq_start = L - guide_start - 20
pos_seq_start = L - guide_end
pos_seq_stop = L - guide_start
pos_seq_pam = pos_seq_start - 3
yield dict(
......
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