Filesystem handling utilities
Project description
CARATE
Why
Molecular representation is wrecked. Seriously! We chemists talked for decades with an ancient language about something we can't comprehend with that language. It has to stop. Now!
What
The success of transformer models is evident. Applied to molecules we need a graph-based transformer. Such models can then learn hidden representations of a molecule better suited to describe a molecule.
For a chemist it is quite intuitive but seldomly modelled as such: A molecule exhibits properties through its combined electronic and structural features
-
Evidence of this perspective was given in chembee.
-
Mathematical equivalence of the variational principle and neural networks was given in the thesis Markov-chain modelling of dynmaic interation patterns in supramolecular complexes.
-
The failure of the BOA is described in the case of diatomic tranistion metal fluorides is described in the preprint: Can Fluorine form triple bonds?
-
Evidence of quantum-mechanical simulations via molecular dynamics is given in a seminal work Direct Simulation of Bose-Einstein-Condensates using molecular dynmaics and the Lennard-Jones potential
Scope
The aim is to implement the algorithm in a reusable way, e.g. for the chembee pattern. Actually, the chembee pattern is mimicked in this project to provide a stand alone tool. The overall structure of the program is reusable for other deep-learning projects and will be transferred to an own project that should work similar to opinionated frameworks.
Installation on CPU
Prepare system
sudo apt-get install python3-dev libffi-dev
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
pip install torch-scatter torch-sparse torch-geometric rdkit-pypi networkx[default] matplotlib
pip install torch-cluster
pip install torch-spline-conv
Usage
bash install.sh
carate -c path_to_config_file.py
Examples for config.py
files are given in config_files
Or you can check the the tutorial.ipynb
in notebooks
how to use the package with a .json
file
Training results
Most of the training results are saved in pairs. The reason for this data structure is simply that the training can be interrupted for any reason. However the current result may still be saved or sent across a given network.
Therefore any ETL or data processing might not be affected by any interruption on the training machine.
Outlook
The program is meant to be run as a simple CLI. Not quite there yet.
Cite
There is a preprint available on bioRxiv. Read the preprint
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
File details
Details for the file carate-0.2.1.tar.gz
.
File metadata
- Download URL: carate-0.2.1.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0bf899b6aeec763c92d4ef8e9695fa05ce6c6bd101b5fc9944b131304640415 |
|
MD5 | 9a721794811ebe0807fbc99f05fa6833 |
|
BLAKE2b-256 | d02e8aa23713db1c26971c477e903e159c3d586cd604682ab02ee96924702ac4 |
File details
Details for the file carate-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: carate-0.2.1-py3-none-any.whl
- Upload date:
- Size: 41.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca922b96f024d5d08c4c8e787c69384381382bb3c789c5b332cf922aa759220 |
|
MD5 | b9acfdedddce36c86244cfc10a4b6ed3 |
|
BLAKE2b-256 | 560be55bd70fa053979a554f02550d783c9b5e09491016c3e8b1993757257c35 |