Molecular diagnostics for the digital age