Skip to main content

MXtalTools: Molecular Crystals Machine Learning Toolkit

Project description

image

MXtalTools: Toolbox for machine learning on molecular crystals

Documentation

See our detailed documentation including installation and deployment instructions at our readthedocs page.

Installation for Users

  1. Install PyTorch, Pytorch Geometric (including torch-scatter, torch-sparse, torch-cluster), based on your system and CUDA version:
    PyTorch installation guide
    PyG installation guide

  2. Install this package:

    pip install git+https://github.com/InfluenceFunctional/MXtalTools.git
    

Installation for Developers

  1. Download the code from this repository via

    git clone git@github.com:InfluenceFunctional/MXtalTools.git MXtalTools
    
  2. Create a python environment of your choice. We recommend using pip+virtualenv.

  3. Install PyTorch, Pytorch Geometric (including torch-scatter, torch-sparse, torch-cluster), based on your system and CUDA version:
    PyTorch installation guide
    PyG installation guide

  4. Install remaining requirements with

    poetry install
    
  5. If you plan to train any models, login to your weights and biases ("wandb") account, which is necessary for run monitoring and reporting with

     wandb login
    
  6. In configs/users create a .yaml file for yourself and edit the paths and wandb details to correspond to your preferences. When running the code, append the following to your command line prompt.

     --user YOUR_USERNAME
    
  7. If you plan to construct crystal datasets from .cif files, you'll need to install the CSD python api, with a valid license from CCDC.

    [CSD Python API](PyTorch installation guide)

Reference

If you use this code in any future publications, please cite our work using

  title={Geometric deep learning for molecular crystal structure prediction},
  author={Kilgour, Michael and Rogal, Jutta and Tuckerman, Mark},
  journal={Journal of chemical theory and computation},
  volume={19},
  number={14},
  pages={4743--4756},
  year={2023},
  publisher={American Chemical Society}
}

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

mxtaltools-0.1.0.tar.gz (574.5 kB view details)

Uploaded Source

Built Distribution

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

mxtaltools-0.1.0-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mxtaltools-0.1.0.tar.gz
  • Upload date:
  • Size: 574.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for mxtaltools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a76f528a1ef9e1bbcc5c074e3215b3b1bb7e440b47d059ad577c7202f0e3bf52
MD5 3a5a79903f2fadab87c51ac500fc5194
BLAKE2b-256 d39a9c49f88c5fbd45f8b582dfbd6638d5b94795e5780576f67d24858c607b17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mxtaltools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for mxtaltools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 489e12c90388cb492fbbd68cc633cc46b0223285c8897552b381cb67e3e6ba61
MD5 e5d16c217c7fb3dd0b8f6e317c06741e
BLAKE2b-256 f13d101de429c517cf69b09e1a4bd71be32b07b2f6a67ef3ed24ba97bc1bec07

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