Hi,
I am trying to convert a BGZIP file to binary fileset using following command:
plink2 --bcf test.vcf.gz --sort-vars --set-missing-var-ids @:#:\$r,\$a --new-id-max-allele-len 487 --update-sex /data/sample_sex_map.csv --make-pgen vzs --out output
However, I got an error:
Error: Line 2 of --update-sex file has fewer tokens than expected.
Here is my sample_sex_map.csv file looks like
#IID,SEX
sample1,F
sample2,M
Question:
PS: I am attaching the log file with dummified paths.