Added methods to do random sampling, remove duplicate sequences