An Efficient Algorithm For Clustering Genomic Data