Genome-wide association tests of inversions with application to psoriasis.