Methods and systems for data analysis using the Burrows Wheeler transform