The file of weights must be a text file with 1 or 2 columns.
File with 1 column:
The order of weights must match the order of SNPs in the genotype file. This file format is more efficient for a genotype file with a large number of SNPs.
File with 2 columns:
The first column must be the SNP id and the second column must be the weights. Any SNP id in the genotype file that is not matched with an id in the weight file is asigned a weight of 0.