SigmanGroup/chemical_space_and_clustering ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python notebook workflow for exploring chemical space from a table of molecular descriptors. I want to load an Excel file with compound names, optional SMILES and type columns, and then standardize the numeric descriptor columns before mapping the data into 2D or 3D.

Please include the main ways to visualize the space, like PCA, UMAP, and t SNE, and make it easy to try different settings and compare the results. I also want clustering options such as k means, DBSCAN, HDBSCAN, Gaussian mixture models, agglomerative clustering, and BIRCH, with a few simple tools to help choose parameters and judge the clustering quality.

The notebook should let me make clean static plots, optional interactive plots that show compound info, and export the coordinates, cluster labels, and any useful summary outputs back to Excel or files. If you need current library details, look up the latest docs online and use a sensible conda environment so it runs reliably.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab