Skip to content

Commit

Permalink
delete stats directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hpratt committed May 15, 2020
1 parent 793a701 commit acba06d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/kotlin/step/rsemquant.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ fun CmdRunner.runRSEMQuant(parameters: RSEMParameters) {
${ if (parameters.pairedEnd) "--paired-end" else "" } \
${parameters.bam} \
${parameters.outputDirectory.resolve(parameters.index.getFileName().toString().split(".tar.gz")[0])} \
${parameters.outputDirectory.resolve("${parameters.outputPrefix}")} && \
chmod -R 666 ${parameters.outputDirectory.resolve("${parameters.outputPrefix}.stat")}
${parameters.outputDirectory.resolve("${parameters.outputPrefix}")}
""")

// delete unnecessary stat directory
parameters.outputDirectory.resolve("${parameters.outputPrefix}.stat").toFile().deleteRecursively()

}

0 comments on commit acba06d

Please sign in to comment.