Spaces:
Running
Running
Update cas9on.py
#3
by
LfOreVEr
- opened
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 |
|