Andrew Stirn commited on
Commit
ccfd7e1
·
1 Parent(s): 546d4e5

small bug from last commit

Browse files
Files changed (1) hide show
  1. tiger.py +1 -1
tiger.py CHANGED
@@ -251,7 +251,7 @@ def find_off_targets(top_guides: pd.DataFrame, status_update_fn=None):
251
  target = target + 'N' * (TARGET_LEN - len(target))
252
  else:
253
  target = target[start_location - CONTEXT_5P:start_location + GUIDE_LEN + CONTEXT_3P]
254
- if row[MM_COL] == 0 and 'N' not in row[TARGET_COL]:
255
  assert row[GUIDE_COL] == sequence_complement([target[CONTEXT_5P:TARGET_LEN - CONTEXT_3P]])[0]
256
  row[TARGET_COL] = target
257
 
 
251
  target = target + 'N' * (TARGET_LEN - len(target))
252
  else:
253
  target = target[start_location - CONTEXT_5P:start_location + GUIDE_LEN + CONTEXT_3P]
254
+ if row[MM_COL] == 0 and 'N' not in target:
255
  assert row[GUIDE_COL] == sequence_complement([target[CONTEXT_5P:TARGET_LEN - CONTEXT_3P]])[0]
256
  row[TARGET_COL] = target
257