Skip to main content

A python machine learning module for for accelerating the discovery and synthesis of Metal organic frameworks

Project description

fairmofsyncondition

fairmofsyncondition is a Python module designed to predict the synthesis conditions for metal-organic frameworks (MOFs). This tool offers two main functionalities:

  1. Predict Synthesis Conditions from Crystal Structures Structure: Given a crystal structure of a MOF, the model will predict the optimal set of conditions required to synthesize the specified structure.
  2. Predict MOF Structures from Synthesis Conditions: If a set of reaction condition is provided, the model will predict the crystal structures of all possible MOF that can be formed under those conditions.

The model is trained on data extracted from the FAIR-MOF dataset, which is a comphrensive and carefully curated collection of MOF structures paired with their corresponding experimental synthesis conditions, building units and experimental synthetic conditions. This dataset serves as a robust foundation for accurate and reliable predictions.

Features

  • Bidirectional Prediction: Whether you have a MOF structure or reaction conditions, the module can provide the corresponding synthesis conditions or possible MOF structures, respectively.
  • FAIR-MOF Dataset: Utilizes a comprehensive curated dataset of MOFs with verified experimental conditions.
  • User-Friendly: Easy to install and use, with minimal setup required.

Installation

The module can be installed directly from GitHub. Follow the steps below to get started:

PyPi

Simply pip install. '''bash pip install fairmofsyncondition '''

GitHub Installation

To install fairmofsyncondition from GitHub, execute the following commands in your terminal:

# Clone the repository
git clone https://github.com/bafgreat/fairmofsyncondition.git

# Navigate into the project directory
cd fairmofsyncondition

# Install the package
pip install --upgrade pip setuptools wheel
pip install .

PYPI Installation

To install fairmofsyncondition from PYPI, simply execute the following commands in your terminal:

pip install fairmofsyncondition

Useful tool

iupac2cheminfor one of the most useful tool is to directly extract cheminonformatic identifiers such as inchikey and smile strings directly from iupac names or common names. This can be achieved using iupac2cheminfor CLI as follows:

iupac2cheminfor 'water'

or

iupac2cheminfor -n 'water' -o filename

The out will be written by default to cheminfor.csv if no output is provided and if porvided it will be written to the name parsed.

cheminfo2iupac

Another useful tool is directly convert a smile or and inchikey their iupac name. To achieve this simply run the following commandline tool

cheminfo2iupac -n 'O' -o filename

struct2iupac In other cases one may one to directly extract the iupac name and cheminformatic identifier of a chemical structure. The quickest way to do this is by running the following commands.

struct2iupac XOWJUR.xyz

Training

To quickly train the model on the command line, simply use the train_bde CLI command. It has several helpful options to facilated training.

train_bde -h

The above command will provide all neccesarry information to train a model.

We also provide a commandline to to run optuna for searching optimal command line arguments.

find_bde_parameters -h

Documentation

Full documentation can be found docs.

LICENSE

This project is licensed under the MIT

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

fairmofsyncondition-0.1.0.tar.gz (334.7 kB view details)

Uploaded Source

Built Distribution

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

fairmofsyncondition-0.1.0-py3-none-any.whl (341.3 kB view details)

Uploaded Python 3

File details

Details for the file fairmofsyncondition-0.1.0.tar.gz.

File metadata

  • Download URL: fairmofsyncondition-0.1.0.tar.gz
  • Upload date:
  • Size: 334.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.9 Darwin/24.3.0

File hashes

Hashes for fairmofsyncondition-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b7f63c835f70a57d2156267d268dd634207057dfa809c5e21cdaaa99fb86680
MD5 d9f6420818ce6cbac57caffbe0b15f9c
BLAKE2b-256 4ed88069cf18e99421bc6d096c19da9a41cf6713c176d42d1a4bc9b24f68d338

See more details on using hashes here.

File details

Details for the file fairmofsyncondition-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fairmofsyncondition-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f418de94545c9b1e81e370cd93fe967d8ddeb842821df851f0985d5df19259b
MD5 e6eb84f11170a23c85bfd26c7b1a9699
BLAKE2b-256 26be843cc83a70ebfacff55a9ea40213abbc9e4052d31807782ac1bfae5f303d

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