Pressure induces folding intermediates that are crucial for protein-DNA recognition and virus assembly.