First-hand information for everyone
A new study shows that a computer can draw how a bacterial colony would appear on a petri dish when it knows the organism’s genome, the drug used and whether the colony resists the drug. The model was trained on 167 356 images from 22 clinical blood isolates exposed to four conditions – azithromycin, ciprofloxacin, tetracycline, or no antibiotic. A conditional Wasserstein GAN with gradient penalty then synthesises colony images conditioned on that vector, the antibiotic label and the resistance label.
To choose the best visual backbone for the generator, the researchers compared seven ImageNet‑pretrained networks. ConvNeXt‑Tiny produced the lowest Fréchet Inception Distance (80.88) and Kernel Inception Distance (0.026), beating DenseNet121, MobileNet‑V2, ResNet‑101, EfficientNet‑B0, VGG‑16 and Inception‑V1.
When synthetic images were added to a small real training set, classifiers of antibiotic resistance gained recall for the resistant class. However, precision for the resistant class dropped slightly, showing a trade‑off between sensitivity and specificity.
The work is limited by the small number of isolates (22) and shows best performance when the same isolates appear in training and testing. Still, it demonstrates a new way to link genome data with visual colony phenotype.