Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Added deletion of CSI indices in DeleteBam.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfenne committed Aug 22, 2019
1 parent fdf8223 commit 0c5364a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/src/main/scala/dagr/tasks/picard/DeleteBam.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0c5364a

Please sign in to comment.