Detection of localized DNA flexibility