We developed and validated a one step primer set design tool for tNGS called multiPrime, which maximizes degenerate primer coverage by allowing mismatches. For targets with high sequence diversity such as viruses, we demonstrated that primers allowing mismatches can still effectively detect target amplicons. By allowing for mismatches and removing dimers with a loss function, multiPrime enables a broader coverage of pathogen spectrums while maintaining high multiplexing compatibility.