Second, it is not straight forward to model the hierarchical structure in gene sets: SNPs lie within genes, which lie within gene sets using permutation tests. To this end, an efficient algorithm that uses single level permutation iterations to achieve the goal of the multiple-level permutation procedure has been recently proposed [37].