combine vcf files from differents genotypes
0
0
Entering edit mode
4.6 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 • 572 views
ADD COMMENT

Login before adding your answer.

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