Removal of multiple samples from vcf file
1
0
Entering edit mode
2.6 years ago
Nai ▴ 50

I have a vcf file which has been filtered "vcftools --vcf file_filtered.vcf --maf 0.05 --max-missing 0.8 --min-meanDP 10 --recode --out snp_filtered_0.05.vcf.gz" this output file will be used to remove 13 samples from .vcf file.gz. Kindly help me to do. After wards I will do haploview.

VCFtools • 1.3k views
ADD COMMENT
0
Entering edit mode
2.6 years ago
bcftools view --samples-file file

    -S, --samples-file [^]<file>  file of samples to include (or exclude with "^" prefix)
ADD COMMENT
0
Entering edit mode

Is there any file type. Because I mentioned *.txt, it gave an error unknown file type

ADD REPLY
0
Entering edit mode

Its executed ..Thank you!

ADD REPLY

Login before adding your answer.

Traffic: 1481 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