Skip to content
Snippets Groups Projects
Commit fb2fc695 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix output file

parent 1a5a202c
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ class Star(val root: Configurable) extends BiopetCommandLineFunction with Refere
super.beforeGraph()
if (reference == null) reference = referenceFasta()
if (outFileNamePrefix != null && !outFileNamePrefix.endsWith(".")) outFileNamePrefix += "."
val prefix = if (outFileNamePrefix != null) outputDir + outFileNamePrefix else outputDir
val prefix = if (outFileNamePrefix != null) outputDir + File.separator + outFileNamePrefix else outputDir
if (runmode == null) {
outputSam = new File(prefix + "Aligned.out.sam")
outputTab = new File(prefix + "SJ.out.tab")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment