How can I run the latest version of samtools on Slurm?
I would start with:
module avail

Then look to see (a) if there is a samtools module avilable and (b) exactly what it's called.
If it's called samtools/1.11 then:
module load samtools/1.11

Should work, if it doesn't speak to your sys admin.