The package find the best chromatography based on properties of the mixture
Project description
Chrfinder
Project overview
Welcome to Chrfinder! This project automates the selection of the most suitable chromatography technique . By simply providing the names of the molecules in the mixture, the code retrieves their physicochemical properties from PubChem (web source) and determines the optimal chromatography method based on these properties. It also gives the optimal conditions.
✅ Benefits
- 🚀 Efficiency: Automates the property retrieval and decision-making process, saving time and reducing manual effort.
- 🎯 Accuracy: Utilizes precise physicochemical data to ensure the most suitable chromatography technique is chosen.
- 🌐 Versatility: Supports a wide range of organic compounds and chromatography methods (PubChem database).
⚙ Installation
Create a new environment, you may also give the environment a different name.
conda create -n chrfinder python=3.10
conda activate chrfinder
pip install .
If you need jupyter lab, install it
pip install jupyterlab
🛠️ Development installation
Initialize Git (only for the first time).
Note: You should have create an empty repository on https://github.com:Averhv/Chrfinder.
git init
git add *
git add .*
git commit -m "Initial commit"
git branch -M main
git remote add origin git@github.com:Averhv/Chrfinder.git
git push -u origin main
Then add and commit changes as usual.
To install the package, run
pip install -e ".[test,doc]"
Run tests and get coverage
pip install tox
tox
📒 Features
from chrfinder import main
# Running the whole file ask for molecules through Tkinter and returns the best chromatography
main()
🌐 Optional functions
find_pka(inchikey)
Finds the pKa value for a compound using its InChIKey.
from chrfinder import find_pka
inchikey = "XEFQLINVKFYRCS-UHFFFAOYSA-N"
find_pka(inchikey)
find_boiling_point(name)
Finds the boiling point for a compound by name.
from chrfinder import find_boiling_point
compound_name = "Ethanol"
find_boiling_point(compound_name)
get_df_properties()
Get a DataFrame of properties for a mixture of compounds.
from chrfinder import get_df_properties
mixture = ["Acetone", "Ethanol", "Methanol"]
get_df_properties(mixture, verbose=True)
How It Works
-
Input: User provides the names of the molecules present in the mixture through a Tkinter interface.
-
Data Retrieval: Finds the following key physicochemical properties for each molecule in Pubchem:
- Boiling temperature (°C)
- logP (partition coefficient)
- pKa (acid dissociation constants)
- Molecular mass
-
Chromatography Type Decision: Follows logical conditions to determine best chromatography and conditions
- Gas Chromatography (GC): if the Boiling Point is low (Teb <250°C).
- Ion Chromatography (IC): for small molecules (M<2000g/mol) and a negative maximum LogP negative
- Selected if the maximum molecular mass is less than or equal to 2000, and the maximum logP is negative, with a proposed pH derived from the pKa values.
- High-Performance Liquid Chromatography (HPLC): Chosen for different conditions. Stationary phases and eluent natures are suggested.
- Size Exclusion Chromatography (SEC): For big molecules (M>2000g/mol). From LogP, it suggest gel permeation or gel filtration, with corresponding eluant.
-
Output:
- The code outputs the advisable chromatography type, the nature of the eluent (gas, aqueous, or organic), and the proposed pH for the eluent if applicable through the Tkinter interface.
Work in progress...
- Build a data molecules thermostability database;
- taking into account multiple pKa values for polyacids for exemple;
- optimize the research: search only one time te same name;
- find physicalchemical properties as addition functionality;
🫱🏽🫲🏼 Contributing
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes.
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
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 chrfinder-0.0.1.tar.gz.
File metadata
- Download URL: chrfinder-0.0.1.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
057c0774fc2944d542913083577ec902875bb581afd5a43ddae964b353c517bb
|
|
| MD5 |
c6dc0c2bc12857d2b385879af83e6378
|
|
| BLAKE2b-256 |
f76fd6083ede03520f4ab25b38edd2550309e73a37502cf17593bc98da6a88dd
|
File details
Details for the file chrfinder-0.0.1-py3-none-any.whl.
File metadata
- Download URL: chrfinder-0.0.1-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c58439e1ef764ce1a90fc92e1feee9a676a8bee54dddcc7dabeeb471fc8b8a3e
|
|
| MD5 |
518385ee2e9e059f9ea6098469893ad5
|
|
| BLAKE2b-256 |
b980572f3e7fce4d6e1507bd767859b28f05a95bc9345193619515b2c0adb726
|