A framework for detecting noncoding rare-variant associations of large-scale whole-genome sequencing studies