ADDED sam/bam detection for primerUsage