LfOreVEr commited on
Commit
6664381
1 Parent(s): c2ffe9b

Update cas9on.py

Browse files
Files changed (1) hide show
  1. cas9on.py +1 -1
cas9on.py CHANGED
@@ -83,7 +83,7 @@ def find_crispr_targets(sequence, chr, start, strand, transcript_id, exon_id, pa
83
  if i >= target_length:
84
  target_seq = sequence[i - target_length:i + 3]
85
  tar_start = start + i - target_length
86
- tar_end = start + i + 3
87
  gRNA = ''.join([dnatorna[base] for base in sequence[i - target_length:i]])
88
  targets.append([target_seq, gRNA, chr, str(tar_start), str(tar_end), str(strand), transcript_id, exon_id])
89
 
 
83
  if i >= target_length:
84
  target_seq = sequence[i - target_length:i + 3]
85
  tar_start = start + i - target_length
86
+ tar_end = start + i + 3 - 1
87
  gRNA = ''.join([dnatorna[base] for base in sequence[i - target_length:i]])
88
  targets.append([target_seq, gRNA, chr, str(tar_start), str(tar_end), str(strand), transcript_id, exon_id])
89