Welcome to CombineMols
CombineMols is a python package for easily combining two molecules.
This intuitively aids in the combining of molecules using dummy atoms.
The easiest way to install the dependencies is to install the Anaconda 3 Python distribution and use conda to set up an environment with RDKit.
Dependencies
rdkit / mendeleev
Installation
Step 1 :
Make a new conda environment and install RDKit.
conda create -c rdkit -n my-rdkit-env rdkit
Then activate this new environment.
conda activate my-rdkit-env
Step 2 :
Inside this environment install CombineMols.
Using pip
pip install CombineMols
Examples
from rdkit import Chem
from CombineMols.CombineMols import CombineMols
Two molecule classes can be combined.
mol1 = Chem.MolFromSmiles('IOc1c[nH]c2ncc(I)cc12')
mol2 = Chem.MolFromSmiles('Sc1cccc(I)c1I')
CombineMols(mol1, mol2, "I")
Molecules can be entered directly in SMILES form.
mol1 = 'IOc1c[nH]c2ncc(I)cc12'
mol2 = 'Sc1cccc(I)c1I'
CombineMols(mol1, mol2, "I")
Dummy atom can be entered by atomic number.
mol1 = 'IOc1c[nH]c2ncc(I)cc12'
mol2 = 'Sc1cccc(I)c1I'
CombineMols(mol1, mol2, 53)
Release files for CombineMols 1.0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| CombineMols-1.0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / CombineMols-1.0.1.0-py3-none-any.whl
| Download URL | CombineMols-1.0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd7d988e82a7f7b40b19e4fb8d07a293e015c8ee91012e17da51ef70b1b64ecc
|
|
BLAKE2b-256 checksum How to use checksums |
b56cc49bef56b81de91cfefee0495ea0c66647a4367a362eabbc191de4c117fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|