To determine sample cross-contamination from an exome sequencing experiment using only a .vcf output file you can follow the steps mentioned below:
PyVCF
.Here's a code snippet that demonstrates how to parse a VCF file using the PyVCF library.
main.py209 chars9 lines
The steps in detail and code for further processing can be found in this tutorial - Estimating cross-sample contamination in exome sequencing data.
gistlibby LogSnag