Hi all, I have a question as to how to combine two separate VCFs into one large one. For example, say I have a dbSNP VCF and a Cosmic database VCF. I now want to merge or combine them into one file into a way that will produce a single file that contains the contents of both files. If there is an overlap between the two, I would want to keep them as a single entry, just that it would annotate the ID field with both entries (the dbSNP rs# and the Cosmic ID). I can't seem to find a good way to do this using GATK, VCF tools, or some other approach.
Thanks for any suggestions.
You can take a look at
vcf-merge
in vcf-tools