Fix to use htslib commands.