Skip to content

Commit 0c61326

Browse files
committed
Remove default deleting single-read txt files
1 parent be68d17 commit 0c61326

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mimseq/crosstalks.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ def analyze_1sample(s,dirpath,thres):
4545
oddsr, p = fisher_exact(cont_tab)
4646
outdf.loc[n] = [s,ref,v1,v2,p,oddsr,counts]
4747
n += 1
48-
# Remove temporary files
49-
rmtree(join(dirpath, s))
5048
return outdf
5149

5250
def crosstalks_wrapper(dirpath, thres, threads):
@@ -70,4 +68,3 @@ def crosstalks_wrapper(dirpath, thres, threads):
7068
outdf["canon_var2"] = ["Charged" if s[1]=="Charged" else posinfo.loc[(s[0],s[1]),"canon_pos"] if s[0] in posinfo.index.get_level_values(0) else "NA" for s in outdf[["ref","var2"]].to_numpy()]
7169
# Save table
7270
outdf.to_csv(dirpath+"/crosstalks.tsv",sep="\t",index=False)
73-

0 commit comments

Comments
 (0)