MRCIEU / gwas2vcf

Convert GWAS summary statistics to VCF
MIT License
47 stars 18 forks source link

Sample sizes formatted to only 6 significant digits #47

Closed mja closed 3 years ago

mja commented 3 years ago

Sample sizes (the SS or NC records) greater than 1 million get truncated to six significant digits and formatted using E notation. For example, the number of cases "7654321" gets formatted as "7.65432e+06".

mcgml commented 3 years ago

Hi @mja

Thanks for raising this. We have updated the VCF header so these fields are now integer which should solve the problem https://github.com/MRCIEU/gwas2vcf/commit/8d3c66b8d5ab4f609a52c0317b9ce1460b1b48e9.