combine vcf files from differents genotypes
0
0
Entering edit mode
4.2 years ago
adrien.cv • 0

Dear, I perform the snp detection with Varscan on several genotypes. And now I tried to combine all vcf files in order to construct one matrix : genotype x snp. For each snp: If is found call the snp, if not, call the reference allele.

bcftools isec --collapse all --output-type v -p genotype1.vcf genotype2.vcf genotype3.vcf --output matrix.txt

Is it the good way ? Thanks a lot !

SNP • 530 views
ADD COMMENT

Login before adding your answer.

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