fetch a variant or ref base in a read in sam format