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

Fix output file

(cherry picked from commit fb2fc695)
parent 1890dd26
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ class Star(val root: Configurable) extends BiopetCommandLineFunction with Refere
if (reference == null) reference = referenceFasta()
genomeDir = config("genomeDir", new File(reference.getAbsoluteFile.getParent, "star"))
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