Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Merge branch 'main' of https://huggingface.co/spaces/Knowles-Lab/tiger into main
Browse files
tiger.py
CHANGED
|
@@ -223,6 +223,10 @@ def tiger_exhibit(transcripts: pd.DataFrame, status_bar=None, status_text=None,
|
|
| 223 |
if option=='On and Off Target' and len(off_target_predictions) > 0:
|
| 224 |
off_target_predictions['Guide'] = off_target_predictions['Guide'].apply(lambda s: s[::-1])
|
| 225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
return on_target_predictions.reset_index(drop=True), off_target_predictions.reset_index(drop=True)
|
| 227 |
|
| 228 |
|
|
|
|
| 223 |
if option=='On and Off Target' and len(off_target_predictions) > 0:
|
| 224 |
off_target_predictions['Guide'] = off_target_predictions['Guide'].apply(lambda s: s[::-1])
|
| 225 |
|
| 226 |
+
# reverse guide sequences
|
| 227 |
+
on_target_predictions['Guide'] = on_target_predictions['Guide'].apply(lambda s: s[::-1])
|
| 228 |
+
off_target_predictions['Guide'] = off_target_predictions['Guide'].apply(lambda s: s[::-1])
|
| 229 |
+
|
| 230 |
return on_target_predictions.reset_index(drop=True), off_target_predictions.reset_index(drop=True)
|
| 231 |
|
| 232 |
|