File format conversion

11 views
Skip to first unread message

Yang Li

unread,
Nov 6, 2025, 3:48:23 PM (3 days ago) Nov 6
to plink2-users
Hi Plink team,

Thanks for developing such a great tool! I'm working on some imputation dataset that might be generated by IMPUTE on hg19 reference. The data is not very well documented and have genotypes spliced into chunks by regions. For each region, it contains the following files:
1. .gz file: a table with "SNP, A1, A2, Sample1 dosage ([0.2,0.8])...Sample2 dosage ()" information.
2. .fam file: .fam file in plink format
3. .ngt file: snp information like "22 rs145711952 0 16199921 0"
4. .info file: table with columns "CHR SNP POS genotyped info freq a1 a2 pass" The "pass" column containing filtering information. 
5. .map file: similar to .ngt file but with less column "22 rs145711952 0 16199921"

Do you by chance know how to convert those files to .pgen format? Also do you by chance know does plink able to liftover to hg38 then harmonize the alleles to make it consistent with hg38?

Thanks,
Yang
Reply all
Reply to author
Forward
0 new messages