Skip to main content

A reaction-level embedding descriptor.

Project description

🚀 Overview

RXNEmb is a novel reaction-level embedding descriptor generated via the pre-trained model RXNGraphormer. It captures chemical bond formation and cleavage patterns, enabling data-driven reaction classification, mechanistic interpretation, and reaction space visualization.

The preprint paper is available at https://arxiv.org/pdf/2601.03689 .

🔧 Installation

pip install rxnemb

💡 Generate RXNEmb Descriptor

Example: Generate reaction embeddings from SMILES list

from rxnemb import RXNEMB

generator = RXNEMB()

# prepare reaction SMILES
# here are some examples
rxn_smiles_lst = [
    "O=C(O)c1ccccc1.[Cl-]>>O=C(Cl)c1ccccc1",  
    "C1CCOC1.C1CCOC1.O.O=C(O)C(Br)c1ccccc1>>OCC(Br)c1ccccc1",
    # ... more 
]

# output
rxn_emb = generator.gen_rxn_emb(rxn_smiles_lst)
print(rxn_emb.shape) # torch.Size([2, 768])

📚 Citation

If you use RXNEmb in your research, please cite:

@misc{RXNEmb_liu2026,
      title={A Pre-trained Reaction Embedding Descriptor Capturing Bond Transformation Patterns}, 
      author={Weiqi Liu and Fenglei Cao and Yuan Qi and Li-Cheng Xu},
      date = {2026-01-07},
      eprint={2601.03689},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      doi = {10.48550/arXiv.2601.03689},
      url={https://arxiv.org/abs/2601.03689}, 
      pubstate = {prepublished},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rxnemb-1.0.0.tar.gz (55.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rxnemb-1.0.0-py3-none-any.whl (55.3 MB view details)

Uploaded Python 3

File details

Details for the file rxnemb-1.0.0.tar.gz.

File metadata

  • Download URL: rxnemb-1.0.0.tar.gz
  • Upload date:
  • Size: 55.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rxnemb-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8042d413c946348db81a299ce741f30acc3e3d7c9b7387d4a59ed7a45cd4ecb4
MD5 a16860bd7f90114004793c69751b54e1
BLAKE2b-256 685543e2146629c3491b6c050478c55c253bfb9646e4311967be3fa6512cf0b0

See more details on using hashes here.

File details

Details for the file rxnemb-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: rxnemb-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 55.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rxnemb-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5dc72a0692fefe4158e235260a3e1add2d231c3965bf6b1c70f6aee6bff37a11
MD5 7771e7f7951014854a4da3239d8d40c2
BLAKE2b-256 bb28e898df94e8cff0a99fc48a542e81166de83849649a08be723b486292c6bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page