Closed Fedja closed 4 years ago
It seems that the true credible set top variant, chr1_196651787_C_T, has a p-value of 0.5477, and it is filtered away in the credible set grouping (due to the 0.01 alt sign threshold), which is why it's not present in the credible set. In fact, if you look at the report, one can see that the credible set ID is chr1_196651787_C_T_2, which is the correct lead PIP variant in the second cs in that region.
This should be fixed when #103 is merged to master, as it removes filtering in credset grouping's case. However, I think the simple/ld grouping would also benefit from having all of the credible set variants in the results, so that needs to be fixed.
ah yea indeed. This is one of those cases when a variant is not significant until conditioned on other variants. Can fix by setting proper threshold...
Ran autoreporting and looking at this report gs://fg-cromwell/autoreporting/ede8c84e-b71c-45af-8d03-5fa2b9078e08/call-report/shard-8/glob-d7a6a932aaa9bb3e161d9330b7c3c2fd/H7_AMD.top.out
For region chr1:195202087-198202087 there are two CSs and report says one of the loci is lead by chr1_196677257_T_C and report gives it a PIP of 0.00902.
However in the credible set there are much better variants.