diff --git a/src/nf_modules/htseq/htseq.config b/src/nf_modules/htseq/htseq.config
index c8f844e9fb366728e47bcb79c6a13c266fa29310..a04f0851f357f7f3cf7f71acab1602f973d6d7a4 100644
--- a/src/nf_modules/htseq/htseq.config
+++ b/src/nf_modules/htseq/htseq.config
@@ -17,6 +17,10 @@ profiles {
     singularity.enabled = true
     process {
       withName: sort_bam {
+        container = "file://bin/samtools:1.7.img"
+        cpus = 1
+      }
+      withName: counting {
         container = "file://bin/htseq:0.11.2.img"
         cpus = 1
       }