fixed getAnnotatedRestrictionSites function when passing NA to the parameter of chromosomes