Magnesium-sensing Piezo1-directed NETs regulate M1 macrophage differentiation during the response to viral infection in mice and humans. This evidence concerns the gene PIEZO1 and viral infectious disease.