Thanks for your respond. I have downloaded the phase3_corrected.psam\?dl\=1 file from plink2 website. I ran the command line :
plink2 --pfile all_phase3 vzs \
--keep-cat-pheno SuperPop \
--keep-cat-names AFR \
--make-pgen \
--out afr_phase3
But I got a debug message:
Start time: Wed Apr 29 11:14:10 2020
193440 MiB RAM detected; reserving 96720 MiB for main workspace.
Using up to 16 threads (change this with --threads).
Error: Failed to open all_phase3.pvar.zst?dl=1.pgen : No such file or
directory.
How do I resolve this is issue?
Did you take a look at the FAQ provided by 1000 genomes project?
Yes,I did but all I saw was values, I dont really know which is for which population.
https://www.internationalgenome.org/faq/can-i-get-genotypes-specific-individualpopulation-your-vcf-files/