SEQanswers (
-   Bioinformatics (
-   -   Comparing and combining vcf files (

gavin.oliver 11-29-2011 07:15 AM

Comparing and combining vcf files

I am trying to determine if there is an available solution for comparing vcf files and combining them into a single, non-redundant file?

So for example, if I have two vcf files for two patients, I would like to create one unique list of all the mutated locations observed in their genomes. Is there anything else out there or should I just script something?

Thanks in advance.

aslihan 11-29-2011 12:39 PM

you can use samtools mpileup to compare 2 vcf files at the same time.

swbarnes2 11-29-2011 01:21 PM

So you want the union of both files? Try vcftools or BEDTools.

I don't think that mpileup will work with vcf files. What it will allow you to do is to take multiple .bams at once, and make one multi-vcf. But if you don't have the .bams, that won't help much.

gavin.oliver 11-30-2011 02:16 AM

BEDTools appears to be what I am after - cheers!

All times are GMT -8. The time now is 04:52 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.