The chiralfinder package.
Project description
chiralfinder
Data and codes for the paper "ChiralFinder: A Computational Framework for Identifying Stereogenic Elements and Distinguishing Stereoisomers in Complex Molecules", in submission.
Quick use
Install Anaconda, create and enter your own environment like
conda create -n env_test python=3.10
Enter the conda environment and install the ChiralFinder package through pip like
conda activate env_test
pip install chiralfinder
Run test.py to get example results.
python test.py
from chiralfinder import ChiralFinder
if __name__ == '__main__':
smi_list = ["C[C@H]1CC(=O)[C@]2(CCCC2=O)C1", "CC1=CC=C(SC2=C(C)N(C3=CC=CC=C3C(C)(C)C)C(C)=C2)C=C1"]
chiral_finder = ChiralFinder(smi_list, "SMILES")
res_ = chiral_finder.get_axial(n_cpus=8)
print(res_[0]["chiral axes"], res_[1]["chiral axes"])
chiral_finder.draw_res_axial("./img")
smi_list_center = ["BrC/C(=C\[C@@H]1CCCO1)C1CCCCC1"]
chiral_finder = ChiralFinder(smi_list_center, "SMILES")
res_ = chiral_finder.get_central()
print(res_)
You will get the images of two molecules with predicted chiral axes in the folder ./img by default. Predicted chiral axes:
[(5,)] [(9, 10)]
You will get the prediction of one molecule for central chirality.
[{
'center id': [4],
'quadrupole matrix':
[[array([[-0.29989323, -1.08474687, 0.09943544],
[-2.0754821 , 0.47857598, 1.02051223],
[-0.0064714 , -0.03258116, 2.29906673]])]],
'determinant': [[-5.501797575969392]],
'sign': [[-1.0]]
}]
Dataset
The RotA dataset is stored in the folder ./data. The excel file contains labeled chiral axes and some calculated molecular properties. The pickle file includes calculated molecular conformers.
We also provide sampled achiral molecules and centrally chiral molecules with multiple centers from the PubChem3D database in the folder ./data.
Citation
To be filled
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chiralfinder-0.0.1.tar.gz.
File metadata
- Download URL: chiralfinder-0.0.1.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d788efda1f155b01b0fb1c4c7ec64c6f3d4bad29399a6641313075a3e9dc323b
|
|
| MD5 |
ed0488f2e810bbfcfa8913b4393b5c6a
|
|
| BLAKE2b-256 |
3569812ea545419d3b9b656e021118f2a0d01e5dabd6a4495d7c6b27d4b6d3bd
|
File details
Details for the file chiralfinder-0.0.1-py3-none-any.whl.
File metadata
- Download URL: chiralfinder-0.0.1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d43d1e58ec10084e91cd02be631e4ae3b9ca89fef1f097364f688f72b61b385f
|
|
| MD5 |
01bc5835469ebc728d5a24163946f10b
|
|
| BLAKE2b-256 |
8c19cd69726804632e980f94dd11564161b929564ffb26e81ec0173de7586313
|