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

Remove unused apply methods

parent e42e39c6
No related branches found
No related tags found
No related merge requests found
......@@ -36,16 +36,4 @@ object SamtoolsFlagstat {
flagstat.output = output
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
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