Spaces:
Sleeping
Sleeping
Update app.py (#15)
Browse files- Update app.py (6b63f354ef1558e87b14b0c5c66aae13376c84fe)
Co-authored-by: Qingyang Liu <LfOreVEr@users.noreply.huggingface.co>
app.py
CHANGED
@@ -14,6 +14,7 @@ import zipfile
|
|
14 |
import io
|
15 |
import gtracks
|
16 |
import subprocess
|
|
|
17 |
|
18 |
|
19 |
|
@@ -322,7 +323,7 @@ if selected_model == 'Cas9':
|
|
322 |
elif target_selection == 'mutation':
|
323 |
# Prediction button
|
324 |
predict_button = st.button('Predict on-target')
|
325 |
-
vcf_reader
|
326 |
|
327 |
if 'exons' not in st.session_state:
|
328 |
st.session_state['exons'] = []
|
|
|
14 |
import io
|
15 |
import gtracks
|
16 |
import subprocess
|
17 |
+
import cyvcf2
|
18 |
|
19 |
|
20 |
|
|
|
323 |
elif target_selection == 'mutation':
|
324 |
# Prediction button
|
325 |
predict_button = st.button('Predict on-target')
|
326 |
+
vcf_reader = cyvcf2.VCF('SRR25934512.filter.snps.indels.vcf.gz')
|
327 |
|
328 |
if 'exons' not in st.session_state:
|
329 |
st.session_state['exons'] = []
|