syedislamuddin commited on
Commit
8c85f7f
·
1 Parent(s): 2cf664c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -447,12 +447,7 @@ def order_ready_tbl_CHM13(set12,set34,set56,listA_found_lr,listA_notfound_lr,lis
447
 
448
  elif resb.shape[0]>0: #at least one guide
449
  #if resb['sgID_1'][0] != resb['sgID_2'][0]:
450
- if f[4]==0 and f[5] == 0:
451
- resb['gene']=gene_n
452
- resb['guide_type']='3-4'
453
- dft_order_table=dft_order_table.append(resb)
454
-
455
- elif f[4]==0 or f[5] == 0:
456
  #if not resc.empty and resc['sgID_1'][0] != resc['sgID_2'][0]:
457
  resb[['sgID_2', 'sgRNA_2', 'chr_sgRNA_2', 'position_sgRNA_2']] = resc[['sgID_1', 'sgRNA_1', 'chr_sgRNA_1', 'position_sgRNA_1']]
458
  resb['sgID_1_2'] = resb['sgID_1']+"|"+resb['sgID_2']
 
447
 
448
  elif resb.shape[0]>0: #at least one guide
449
  #if resb['sgID_1'][0] != resb['sgID_2'][0]:
450
+ if f[4]==0 or f[5] == 0:
 
 
 
 
 
451
  #if not resc.empty and resc['sgID_1'][0] != resc['sgID_2'][0]:
452
  resb[['sgID_2', 'sgRNA_2', 'chr_sgRNA_2', 'position_sgRNA_2']] = resc[['sgID_1', 'sgRNA_1', 'chr_sgRNA_1', 'position_sgRNA_1']]
453
  resb['sgID_1_2'] = resb['sgID_1']+"|"+resb['sgID_2']