diff --git a/sambamba.wdl b/sambamba.wdl
index b411429773d19c2e18263c3cdda6c7d9b88109d3..b402f5808806aea54c4025280ddab24f337abee8 100644
--- a/sambamba.wdl
+++ b/sambamba.wdl
@@ -55,6 +55,11 @@ task Markdup {
         sambamba index ~{outputPath} ~{bamIndexPath} 
     }
 
+    output {
+        File outputBam = outputPath
+        File outputBamIndex = bamIndexPath
+    }
+
     runtime {
         memory: "~{memoryGb}G"
         cpu: threads