Skip to content

Commit

Permalink
add final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranum committed Jan 8, 2021
1 parent 2d7da7d commit d368b4b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions python_only_tool/splitseqdemultiplex_0.2.2.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
outputDir = args.outputDir,
numReadsBin = int(args.numReadsBin),
errorThreshold = int(args.errors),
performanceMetrics = True,
performanceMetrics = bool(args.performanceMetrics),
readsPerCellThreshold = 10,
verbose = True) for i in range(int(args.numCores)))

Expand All @@ -72,14 +72,22 @@

Splitseq_fun_lib.remove_file_fun("./position_learner_fastqr.fastq")
Splitseq_fun_lib.remove_file_fun("./output/MergedCells_1.fastq")
Splitseq_fun_lib.remove_dir_fun("./__pycache__")
#Splitseq_fun_lib.remove_dir_fun("./__pycache__")

##########################################################
# STEP4: Perform Mapping #
##########################################################

if args.align == True:
if bool(args.align) == True:
print("Alignment setting = True")
Splitseq_fun_lib.run_star_alignment_fun(numCores = args.numCores, starGenome = args.starGenome, resultsDir = args.outputDir)
Splitseq_fun_lib.run_featureCounts_SAF_fun(numCores = args.numCores, countsFile = args.geneAnnotationSAF, resultsDir = args.outputDir)
Splitseq_fun_lib.run_samtools_fun(resultsDir = args.outputDir)
Splitseq_fun_lib.run_umi_tools_fun(resultsDir = args.outputDir)
else:
print("Alignment setting = False, exiting run")

##########################################################
# STEP5: Final Clean Up
##########################################################
Splitseq_fun_lib.remove_dir_fun("__pycache__")

0 comments on commit d368b4b

Please sign in to comment.