Text this: Calculating the statistical significance of rare variants causal for Mendelian and complex disorders