Closed smlmbrt closed 1 year ago
Not a bug. Practically all plink2 commands print floating-point values to 6 decimal places; printing to "full precision" would inflate file sizes while adding negligible scientific value. The source code is available if you actually need more digits of precision to be printed here.
@chrchang, thanks for the explanation! So if I understand correctly the full precision is used for the calculation internally but it just prints to 6 decimal places?
That is correct.
Hi there, I've noticed that the SUM and AVG are missing a decimal place of precision when you use the
plink2 --score
command. You can see it clearly with a scoring file with 1 variant:And the results scoring it on HGDP:
The possible values of SUM should be [0, -4.997371e-05, -9.994742e-05], but they are [0, 4.99737e-05, -9.99474e-05]. I get the same results in v1.90b7, v2.00a3.3, and v2.00a4. This didn't change when I provided the weight as -0.00004997371 either.