A measurement of the genotype of a bacterial pathogen in an infected individual. The trait is bacterial pathogen genotype measurement (EFO_0010271).