Biostar Beta. Not for public use.
Using VCFtools to find which population codes individuals in a vcf file belong to
Entering edit mode
4.4 years ago
severalorks • 90

EDIT: The population code for each individual is listed elsewhere and is found on the 1000Genomes site, so the question's essentially been answered

I've been looking through phased vcf data from 1000 Genomes, specifically these files:

This has been a helpful resource so far for deciphering vcf format:

However, I still have questions about identifying which population code each individual in the data belongs to. For example, what population code does individual HG00096 belong to? Is it possible to find all individuals from group GBR? In column INFO, it lists the allele frequency for each super population for each of the recorded positions, though I'm looking for information about the more specific population codes.

I think VCFtools may allow me to accomplish this, I've looked through the manual here: I haven't found the answer to my question yet, but I'm still searching through it.

So how can I use VCFtools to find which population codes individuals in a vcf file belong to? If VCFtools can't do this, where else can I get this information?

vcf 1000genomes population-code vcftools • 1.4k views
Entering edit mode
4.4 years ago
Vincent Laufer ♦ 1.0k
@Vincent Laufer13619


The information is not contained in the VCF file itself, unless you extract it from the genomic information ...

Rather, the mapping is contained in a separate file. First, have a look here: You might also look here for an alternative way to extract subpopulations of a given type:

Now then, the mapping you are looking for can be found here: which can be accessed from this page:

You mention VCF tools. A next step could be to extract only those samples and create a smaller VCF file, or to run whatever analysis you wanted on that subset using VCF tools.

I recently did something similar but using Plink2, then Plink1, if you would like that code for reference I can append it. Does this answer your question?

Entering edit mode

Yes, thank you. I'd already found the population codes elsewhere but your additional information was very helpful too.


Login before adding your answer.

Similar Posts
Loading Similar Posts
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.3