VCFTools Removing Individuals and SNP counting
1
0
Entering edit mode
4.4 years ago
adnichols • 0

I have a vcf file that I have been processing and I have been tracking my SNP counts throughout the processing steps. However, upon removing several individuals from the dataset, the SNP count remained the same as before. Does anyone have any insight as to why this might have happened? For reference, the species being studied is a grass with three subspecies. The removal of these individuals was done to process out the two subspecies.

SNP VCFtools • 977 views
ADD COMMENT
0
Entering edit mode

use 'bcftools view --samples ...'

ADD REPLY
0
Entering edit mode
4.4 years ago
inedraylig ▴ 60

Generally, vcftools will not remove any SNPs, but will set the GT score to missing (./.) for the individuals you remove. I second Pierre's recommendation to prefer bcftools, where the use is far more clear on what the filtering steps do.

ADD COMMENT

Login before adding your answer.

Traffic: 1737 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

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

Powered by the version 2.3.6