Detecting Association Of Common And Rare Variants With Complex Diseases