**3.2k**wrote:

From the mpileup page, we have the definition:

PV4: P-values for 1) strand bias (exact test); 2) baseQ bias (t-test); 3) mapQ bias (t); 4) tail distance bias (t)

Looking at the source for this t-test (I couldn't find any further documentation), we can can see on line 61:

```
if (u1 <= u2) return 1.;
```

At this point, u1 and u2 are the mean values of interest. So this t-test returns one if u2 is larger than u1. So, for example, if we are considering mapping quality we return one (accept null hypothesis that sample means are the same). This means we only test if the mapping quality is lower in the non reference reads.

Why not use a two sided t-test to test for differences in means between quantities of interest?