Code used to measure ambient contamination of genotype-based demultiplexing methods using reference genotypes multiplexed single-cell experiments.