Eitan177 commited on
Commit
c147ae3
·
1 Parent(s): f8b568d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -47,7 +47,7 @@ def showdl(file_to_lookat,to_dl_sbs,to_dl_indel,to_dl_dbs,to_dl_sbs_text,to_dl_i
47
  {file_to_lookat[j].name}SBS.txt">Download {file_to_lookat[j].name} Single Base Substition table</a>'
48
  download_link3 = f'<a href="data:application/octet-stream;base64, \
49
  {base64.b64encode(to_dl_sbs_summary_text[j]).decode()}" download=" \
50
- {file_to_lookat[j].name}SBS_summary.txt">Download {file_to_lookat[j].name} Single Base Substition table</a>'
51
  st.markdown(download_link1, unsafe_allow_html=True)
52
 
53
  st.markdown(download_link2, unsafe_allow_html=True)
@@ -244,8 +244,6 @@ if file_to_lookat !=[] and sub:
244
  tovcf['alt']=table_of_penn_file['Alt']
245
  nameuse=re.sub('xlsx$','vcf',file_to_lookat[j].name)
246
  tovcf.to_csv(nameuse,sep='\t',header=False, index=False)
247
- st.write('original file read as:')
248
- st.write(table_of_penn_file)
249
  st.write('file after liftover:')
250
  st.write(tovcf)
251
  #st.write(nameuse)
 
47
  {file_to_lookat[j].name}SBS.txt">Download {file_to_lookat[j].name} Single Base Substition table</a>'
48
  download_link3 = f'<a href="data:application/octet-stream;base64, \
49
  {base64.b64encode(to_dl_sbs_summary_text[j]).decode()}" download=" \
50
+ {file_to_lookat[j].name}SBS_summary.txt">Download {file_to_lookat[j].name} Summary Single Base Substition table</a>'
51
  st.markdown(download_link1, unsafe_allow_html=True)
52
 
53
  st.markdown(download_link2, unsafe_allow_html=True)
 
244
  tovcf['alt']=table_of_penn_file['Alt']
245
  nameuse=re.sub('xlsx$','vcf',file_to_lookat[j].name)
246
  tovcf.to_csv(nameuse,sep='\t',header=False, index=False)
 
 
247
  st.write('file after liftover:')
248
  st.write(tovcf)
249
  #st.write(nameuse)