A sequence environment modulates the impact of methylation on the torsional rigidity of DNA.