BAG: a graph theoretic sequence clustering algorithm. (8th September 2006)