diff --git a/stringtie.wdl b/stringtie.wdl
index b5346c3022b3dc57e55c866e6bf3360b51b7739a..b26109d1b18980b902d552baefc06aadc3345b86 100644
--- a/stringtie.wdl
+++ b/stringtie.wdl
@@ -5,7 +5,7 @@ import "common.wdl"
 task Stringtie {
     input {
         String? preCommand
-        IndexedBamFile bam
+        IndexedBamFile bamFile
         File? referenceGtf
         Int threads = 1
         String assembledTranscriptsFile
@@ -25,7 +25,7 @@ task Stringtie {
         ~{true="fr" false="" secondStranded} \
         -o ~{assembledTranscriptsFile} \
         ~{"-A " + geneAbundanceFile} \
-        ~{bam.file}
+        ~{bamFile.file}
     }
 
     output {