Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ with st.form('get signature'):
|
|
59 |
refdownload=False
|
60 |
file_to_lookat=st.file_uploader('VCF upload here',type=[".vcf"],accept_multiple_files=True)
|
61 |
remove_old_vcf()
|
62 |
-
|
63 |
sub=st.form_submit_button('submit input')
|
64 |
|
65 |
if sub and file_to_lookat !=[]:
|
@@ -101,8 +101,9 @@ if sub and file_to_lookat !=[]:
|
|
101 |
sig.sigProfilerExtractor("vcf", "output", "input", minimum_signatures=1, maximum_signatures=3,nmf_test_conv= 1000,nmf_tolerance= 1e-10,max_nmf_iterations=100000,min_nmf_iterations= 1000)
|
102 |
|
103 |
#show_pdf('output/SBS96/Suggested_Solution/COSMIC_SBS96_Decomposed_Solution/SBS96_Decomposition_Plots.pdf')
|
104 |
-
|
105 |
-
|
|
|
106 |
components.iframe("https://cancer.sanger.ac.uk/signatures/sbs/", height=3000,width=800)
|
107 |
#show_pdf('output/ID83/Suggested_Solution/COSMIC_ID83_Decomposed_Solution/ID83_Decomposition_Plots.pdf')
|
108 |
components.iframe("https://cancer.sanger.ac.uk/signatures/id/",height=3000,width=800)
|
|
|
59 |
refdownload=False
|
60 |
file_to_lookat=st.file_uploader('VCF upload here',type=[".vcf"],accept_multiple_files=True)
|
61 |
remove_old_vcf()
|
62 |
+
|
63 |
sub=st.form_submit_button('submit input')
|
64 |
|
65 |
if sub and file_to_lookat !=[]:
|
|
|
101 |
sig.sigProfilerExtractor("vcf", "output", "input", minimum_signatures=1, maximum_signatures=3,nmf_test_conv= 1000,nmf_tolerance= 1e-10,max_nmf_iterations=100000,min_nmf_iterations= 1000)
|
102 |
|
103 |
#show_pdf('output/SBS96/Suggested_Solution/COSMIC_SBS96_Decomposed_Solution/SBS96_Decomposition_Plots.pdf')
|
104 |
+
with st.form('signatures'):
|
105 |
+
dl(file_to_lookat)
|
106 |
+
sig=st.form_submit_button('use the above buttons to download the signatures')
|
107 |
components.iframe("https://cancer.sanger.ac.uk/signatures/sbs/", height=3000,width=800)
|
108 |
#show_pdf('output/ID83/Suggested_Solution/COSMIC_ID83_Decomposed_Solution/ID83_Decomposition_Plots.pdf')
|
109 |
components.iframe("https://cancer.sanger.ac.uk/signatures/id/",height=3000,width=800)
|