diff --git a/public/shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/ShivaTrait.scala b/public/shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/ShivaTrait.scala
index e9f73da3a27a7e6338a82fbb2d08286e9bf1564b..1b1107f4a4ad01cdc6d7b68b3024b417c06670ee 100644
--- a/public/shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/ShivaTrait.scala
+++ b/public/shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/ShivaTrait.scala
@@ -93,7 +93,7 @@ trait ShivaTrait extends MultiSampleQScript with Reference {
       def summaryFiles: Map[String, File] = {
         ((bamFile, preProcessBam) match {
           case (Some(b), Some(pb)) => Map("bamFile" -> b, "preProcessBam" -> pb)
-          case (Some(b), _)        => Map("bamFile" -> b)
+          case (Some(b), _)        => Map("bamFile" -> b, "preProcessBam" -> b)
           case _                   => Map()
         }) ++ (inputR1.map("input_R1" -> _) ::
           inputR2.map("input_R2" -> _) ::