sagan-mc / README.md
gbaydin's picture
Update README.md
b95793c verified
|
raw
history blame
6.92 kB

SaganMC: A Molecular Complexity Dataset with Mass Spectra

Summary

SaganMC is a machine learning-ready dataset designed for molecular complexity prediction, spectral analysis, and chemical discovery. Molecular complexity metrics quantify how structurally intricate a molecule is, reflecting how difficult it is to construct or synthesize.

The dataset includes 406,446 molecules. A subset of 16,653 molecules includes experimental mass spectra.

We provide standard representations (SMILES, InChI, SELFIES), RDKit-derived molecular descriptors, Morgan fingerprints, and three complementary complexity scores: Bertz, Böttcher, and the Molecular Assembly Index (MA). MA scores, computed using code from the Cronin Group, are especially relevant to astrobiology research as potential agnostic biosignatures. Assigning MA indices to molecules is compute intensive, and generating this dataset required over 100,000 CPU hours on Google Cloud.

SaganMC is named in honor of Carl Sagan, the astronomer and science communicator whose work inspired generations to explore life beyond Earth. The initial version of this dataset was produced during a NASA Frontier Development Lab (FDL) astrobiology sprint.

Intended Uses

  • Train machine learning models to predict molecular complexity directly from molecular structure or mass spectrometry data.
  • Develop surrogate models to approximate Molecular Assembly Index (MA) scores efficiently at large scale.
  • Benchmark complexity metrics (Bertz, Böttcher, MA) across diverse molecular classes.
  • Enable onboard ML pipelines for spacecraft to prioritize high-complexity chemical targets during exploration.
  • Explore correlations between molecular complexity and experimental observables such as mass spectra.
  • Support AI-driven chemical discovery tasks.

Available Files

  • sagan-mc-400k.csv: The full dataset (SaganMC-400k) with 406,446 molecules, including structural and complexity features.
  • sagan-mc-spectra-16k.csv: A 16,653-molecule subset (SaganMC-Spectra-16k) of the full dataset, with experimental mass spectra from NIST.

Dataset Structure

Each CSV file includes 36 columns describing various molecular attributes. A split column assigns rows into train, val, or test splits (80/10/10). All data is in CSV format, with string, float, or integer fields.

Features

  • inchi: IUPAC International Chemical Identifier for the molecule.
  • inchikey: Hashed version of the InChI string, used for indexing.
  • selfies: SELFIES representation of the molecule (robust molecular string encoding).
  • smiles: SMILES string (Simplified Molecular Input Line Entry System).
  • smiles_scaffold: Murcko scaffold representation extracted from the molecule.
  • formula: Molecular formula, computed using RDKit.
  • fingerprint_morgan: Base64-encoded 2048-bit Morgan fingerprint (ECFP4) with chirality.
  • num_atoms: Number of heavy atoms (excluding hydrogens).
  • num_atoms_all: Total number of atoms (including hydrogens).
  • num_bonds: Number of bonds between heavy atoms.
  • num_bonds_all: Total number of bonds (including to hydrogens).
  • num_rings: Number of rings in the molecule.
  • num_aromatic_rings: Number of aromatic rings in the molecule.
  • physchem_mol_weight: Molecular weight (Daltons).
  • physchem_logp: LogP, a measure of lipophilicity.
  • physchem_tpsa: Topological Polar Surface Area, related to hydrogen bonding.
  • physchem_qed: Quantitative Estimate of Drug-likeness.
  • physchem_h_acceptors: Number of hydrogen bond acceptors.
  • physchem_h_donors: Number of hydrogen bond donors.
  • physchem_rotatable_bonds: Number of rotatable bonds.
  • physchem_fraction_csp3: Fraction of sp3-hybridized carbon atoms.
  • mass_spectrum_nist: Mass spectrum data sourced from the NIST Chemistry WebBook, encoded in JCAMP-DX format as a string. Includes metadata, units, and a peak table in the format m/z,intensity (e.g., 43,9999 44,290 45,30).
  • complex_ma_score: Molecular Assembly Index score (pathway complexity).
  • complex_ma_runtime: Wall-clock runtime (in seconds) to compute MA score.
  • complex_bertz_score: Bertz/Hendrickson/Ihlenfeldt (BHI) complexity score.
  • complex_bertz_runtime: Wall-clock runtime (in seconds) to compute BHI score.
  • complex_boettcher_score: Böttcher complexity score, based on atom environments.
  • complex_boettcher_runtime: Wall-clock runtime (in seconds) to compute Böttcher score.
  • synth_sa_score: Synthetic accessibility score, lower is easier to synthesize.
  • meta_cas_number: CAS Registry Number, if available.
  • meta_names: Common names or synonyms for the molecule.
  • meta_iupac_name: IUPAC name for the molecule.
  • meta_comment: Optional comments associated with the molecule.
  • meta_origin: Source or origin information for the molecule.
  • meta_reference: Reference or source citation for the molecule.
  • split: Predefined data split (train, val, test).

Data Sources and Tools Used

Citation

Please cite the following if you use this dataset:

@inproceedings{gebhard-2022-molecular,
  title = {Inferring molecular complexity from mass spectrometry data using machine learning},
  author = {Gebhard, Timothy D. and Bell, Aaron and Gong, Jian and Hastings, Jaden J.A. and Fricke, George M. and Cabrol, Nathalie and Sandford, Scott and Phillips, Michael and Warren-Rhodes, Kimberley and Baydin, {Atılım Güneş}},
  booktitle = {Machine Learning and the Physical Sciences workshop, NeurIPS 2022},
  year = {2022}
}

Acknowledgments

This work was enabled by and carried out during an eight-week research sprint as part of the Frontier Development Lab (FDL), a public-private partnership between NASA, the U.S. Department of Energy, the SETI Institute, Trillium Technologies, and leaders in commercial AI, space exploration, and Earth sciences, formed with the purpose of advancing the application of machine learning, data science, and high performance computing to problems of material concern to humankind.

We thank Google Cloud and the University of New Mexico Center for Advanced Research Computing for providing the compute resources critical to completing this work. GMF was funded by NASA Astrobiology NfoLD grant #80NSSC18K1140. We also thank the Cronin Group at the University of Glasgow for their collaboration, and for providing us with the code for computing MA values.

License

Creative Commons Attribution 4.0 International (CC BY 4.0)