Skip to content

Commit

Permalink
Add rmdir function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranum committed Jan 8, 2021
1 parent 60982c4 commit 6683465
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions python_only_tool/Splitseq_fun_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ def remove_file_fun (filename):
import os
os.remove(filename)

def remove_dir_fun (filename):
import shutil
shutil.rmtree(filename)

def run_star_alignment_fun (numCores, starGenome, resultsDir):
import os
os.system(str("pushd " + resultsDir))
Expand Down Expand Up @@ -158,3 +162,8 @@ def run_umi_tools_fun (resultsDir):
split_fastqF_fun()
split_fastqR_fun()
remove_file_fun()
remove_dir_fun()
run_star_alignment_fun()
run_featureCounts_SAF_fun()
run_samtools_fun()
run_umi_tools_fun()

0 comments on commit 6683465

Please sign in to comment.