Hi, to elaborate a little you will get that message if your sequence names don't match the genome you are using. Execute the following with samtools to see the sequence names in the file
samtools view -H <your bam file>
There will be a section with entries like this, in this example the sequence name is "chr1"
SN:chr1
Jim