Commit 1c1ac1f0 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Remove unused apply methods

parent e42e39c6
...@@ -36,16 +36,4 @@ object SamtoolsFlagstat { ...@@ -36,16 +36,4 @@ object SamtoolsFlagstat {
flagstat.output = output flagstat.output = output
return flagstat return flagstat
} }
def apply(root: Configurable, input: File, outputDir: String): SamtoolsFlagstat = {
val dir = if (outputDir.endsWith("/")) outputDir else outputDir + "/"
val outputFile = new File(dir + swapExtension(input.getName))
return apply(root, input, outputFile)
}
def apply(root: Configurable, input: File): SamtoolsFlagstat = {
return apply(root, input, new File(swapExtension(input.getAbsolutePath)))
}
private def swapExtension(inputFile: String) = inputFile.stripSuffix(".bam") + ".flagstat"
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment