diff --git a/src/nf_modules/htseq/main.nf b/src/nf_modules/htseq/main.nf
index 5405feac56f048f23d7e7ba0c5fb870148df70c1..f1ed89b47e43290b22092a6c0ddf00cbd059667c 100644
--- a/src/nf_modules/htseq/main.nf
+++ b/src/nf_modules/htseq/main.nf
@@ -31,7 +31,7 @@ process htseq_count {
     }
     input:
       tuple val(file_id), path(bam), path(bai)
-      val(gtf)
+      path(gtf)
 
     output:
       path "${file_id}.tsv", emit: counts