See https://github.com/AlphaGenes/AlphaImpute2/issues/16 and https://github.com/AlphaGenes/tinyhouse/issues/8