Inference of high resolution HLA types using genome-wide RNA or DNA sequencing reads