Skip to main content

Mine MOF oxidation states and featurize metal sites.

Project description

oximachine_featurizer

Actions Status Documentation Status DOI Binder

Mine oxidation states for structures from the (MOF) subset of the CSD and calculate features for them. Runscripts are automatically installed for the most important steps. Some of these runscripts contain hard coded paths, that would need to be updated. This code generates inputs that can be used with the learnmofox package to replicate our work [1].

If you're just interested in using a pre-trained model, the oximachinerunner package.

⚠️ Warning: For the mining of the oxidation states, you need the CSD Python API. You need to export the CSD_HOME path. Due to the licensing issues, this cannot be done automatically.

Installation

The commands below automatically install several command-line tools (CLI) which are detailed below.

The full process should take some seconds.

Latest version

To install the latest version of the software with all dependencies, you can use

pip install git+https://github.com/kjappelbaum/oximachine_featurizer.git

Stable release

pip install oximachine_featurizer

How to use it

To run the default featurization on one structure you can use the CLI

run_featurization <structure> <outdir>

for each metal center this should take seconds if there is no disorder.

Some output can be found on the MaterialsCloud Archive (doi: 10.24435/materialscloud:2019.0085/v1 ).

More details can be found in the documentation.

Example usage

The use of the main functions of this package is shown in the Jupyter Notebook in the example directory. It contains some example structures and the output, which should be produces in seconds.

Testing the installation

For testing, you can---as it is done for the continuous integration (CI)---use pytest and run the files in the test directory. For example

pip install pytest
pytest test/main

References

[1] Jablonka, Kevin Maik; Ongari, Daniele; Moosavi, Seyed Mohamad; Smit, Berend (2020): Using Collective Knowledge to Assign Oxidation States. ChemRxiv. Preprint. https://doi.org/10.26434/chemrxiv.11604129.v1

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

oximachine_featurizer-0.2.11.tar.gz (54.0 kB view details)

Uploaded Source

Built Distribution

oximachine_featurizer-0.2.11-py3-none-any.whl (60.2 kB view details)

Uploaded Python 3

File details

Details for the file oximachine_featurizer-0.2.11.tar.gz.

File metadata

  • Download URL: oximachine_featurizer-0.2.11.tar.gz
  • Upload date:
  • Size: 54.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4

File hashes

Hashes for oximachine_featurizer-0.2.11.tar.gz
Algorithm Hash digest
SHA256 1a3af804b7e07c57fb05d77f9fdc32f73b27ba49fefe81aec08f420673882b5a
MD5 44f5db05f87c5089a6ba3ee7885b1ae9
BLAKE2b-256 4b55c08a4984181e1a68501b35b3fce4943c3b87fb085773d41b673b057ae8ae

See more details on using hashes here.

Provenance

File details

Details for the file oximachine_featurizer-0.2.11-py3-none-any.whl.

File metadata

  • Download URL: oximachine_featurizer-0.2.11-py3-none-any.whl
  • Upload date:
  • Size: 60.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4

File hashes

Hashes for oximachine_featurizer-0.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 713830ef1ff12b801ee99c811359a0ccff8250557d2f5ee5e3eb7580b47d02f0
MD5 6c5064db95f9eb4ded36e1ee9ed78f8d
BLAKE2b-256 28b9bb9077f0c10ae783673f44d2752336bab69ed3277697165d6480518a93be

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page