Scientists have created an algorithm that can identify drug combinations to treat fungal infections that have become resistant to current drug treatments. This new study represents a strategy for treating complex diseases and finding new uses for existing drugs.