diff --git a/sambamba.wdl b/sambamba.wdl index b402f5808806aea54c4025280ddab24f337abee8..4de4dfdc07f90037bced66abcc947ea50551ef20 100644 --- a/sambamba.wdl +++ b/sambamba.wdl @@ -94,9 +94,8 @@ task Sort { -m ~{memoryPerThreadGb}G \ -o ~{outputPath} \ ~{inputBam} - sambamba index \ - ~{"--nthreads " + threads} \ - ~{outputPath} ~{bamIndexPath} + # sambamba creates an index for us + mv ~{outputPath}.bai ~{bamIndexPath} } output {