Fast screening of large databases using clustering and PCA based on structure fragments