The document describes a new method for sample tracking using plasmid barcodes. Small plasmids are constructed with barcode sequences inserted within a genomic region captured by the sequencing panel. Samples are spiked with different barcoded plasmids prior to sequencing. By mapping the sequencing data to the plasmid references, any potential sample swaps or mix-ups can be detected by observing the expected barcodes. The method provides a cheap and simple way to track samples without additional workflow steps. Testing showed the barcodes are reliably captured and detected in the sequencing data for both exome and amplicon sequencing.