From 843b31942cb34f3cac2c1bda296b7c66598a11db Mon Sep 17 00:00:00 2001 From: tfenne Date: Thu, 22 Aug 2019 06:20:42 -0600 Subject: [PATCH] Added deletion of CSI indices in DeleteBam. --- tasks/src/main/scala/dagr/tasks/picard/DeleteBam.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/src/main/scala/dagr/tasks/picard/DeleteBam.scala b/tasks/src/main/scala/dagr/tasks/picard/DeleteBam.scala index e8dbfea9..dd327fc2 100644 --- a/tasks/src/main/scala/dagr/tasks/picard/DeleteBam.scala +++ b/tasks/src/main/scala/dagr/tasks/picard/DeleteBam.scala @@ -44,6 +44,7 @@ class DeleteBam(val bam: Path*) extends SimpleInJvmTask { PathUtil.extensionOf(b) match { case Some(".bam") => paths += PathUtil.pathTo(bam.toString + ".bai") + paths += PathUtil.pathTo(bam.toString + ".csi") paths += PathUtil.replaceExtension(b, ".bai") case Some(".cram") => paths += PathUtil.pathTo(bam.toString + ".crai")