build bam index if necessary
Merge branch 'release/1.2'