Using whole-genome sequencing data to derive the homologous recombination deficiency scores