NiniCat LfOreVEr commited on
Commit
fca5575
·
verified ·
1 Parent(s): 2e72fba

Update cas9on.py (#3)

Browse files

- Update cas9on.py (6664381aa6e96b09129eb2d71ff862196f7ae4e3)


Co-authored-by: Qingyang Liu <[email protected]>

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