This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Combine Single Sample Vcf To Multi Sample Vcf

Is it possible to combine single sample VCF files to multi sample VCF files? The samples are different strains from the same species, mapped against the same reference.

The single sample vcf files have been made with GATK and the multi sample vcf file should preferentially also be compatible with GATK for downstream processing.

We chose not to do multi-sample calling in GATK because we don't want the genotype calls and their quality from one sample to be influenced by the genotype calls and their quality from other samples (which GATK does by default when doing multi-sample calling ).

We do however want to to process the samples the and their genotypes as one big matrix.

gatk snp vcf

3 answers

The problem is that unless your vcf's have a line for every single locus, samples that match consensus at a position will not have an entry for that position, so if you have a SNP in one sample at a given position, other samples will have no vcf entry for that position, and you won't know if your other samples really match consensus there, or if they have low coverage there, and a variant couldn't be safely called.

That's why calling them all together is preferable. If one variant is iffy in one sample, the fact that that variant exists in other samples makes it more likely that the the iffy variant is real.

I did use EMIT_ALL_CONFIDENT_SITES for the output mode of the unified genotyper. So each sample vcf also has reference calls.

use vcf-merge

You can also try Gene-Talk.de, upload the single files, and create a collection from all. afterwards you can filter and reduce your data to clinically relevant variants.

Up to now GeneTalk supports only human hg19 referenced VCF files.

Log in to answer this question.