diff --git a/src/nf_modules/bowtie2/main.nf b/src/nf_modules/bowtie2/main.nf
index b9053c714961550800592be8ea904f348d220cb7..82bab9e699763b665ba59b93c4f9fdeeda0d0164 100644
--- a/src/nf_modules/bowtie2/main.nf
+++ b/src/nf_modules/bowtie2/main.nf
@@ -42,7 +42,7 @@ process mapping_fastq {
   }
 
   input:
-  path index
+  tuple val(index_id), path(index)
   tuple val(pair_id), path(reads)
 
   output: