Add reference sequence handling for bqsr