Git Product home page Git Product logo

alphacrystal's Introduction

AlphaCrystal

AlphaCrytal: Contact map based deep learning algorithm for crystal structure prediction

Developed at:

University of South Carolina, 2021

Hu, Jianjun, Yong Zhao, Qin Li, Yuqi Song, Rongzhi Dong, Wenhui Yang, and Edirisuriya MD Siriwardane. "Deep Learning-Based Prediction of Contact Maps and Crystal Structures of Inorganic Materials." ACS omega (2023). Link

Installation:

  1. Install MLatticeABC, a software for predicting lattice parameters a/b/c from a given formula

  2. Install Cryspnet, a software to predict the crystal system and space groups from a given formula

  3. Download the AlphaCrystal model file last-model-12-0-125-32.h5 from Figshare and put it into the models folder.

  4. Install other needed packages

tensorflow                      2.4.1
pymatgen                        2023.5.31 
nevergrad                       0.6.0         
ninja                           1.10.2.3      
numba                           0.53.0        
numpy                           1.24.3

How to run

given a formula Ag2F4,

(1) use

python MLatticeABC/predict.py -i Ag2F4

to predict the a,b,c of lattice unit cell.

(2) use

put Ag2F4 into formula.csv file.

python cryspnet/predict.py -i formula.csv

To get top 1-5 space groups and alpha/beta/gamma parameters.

(3) put all the info into a csv input.csv file

formula,crystal,a,b,c,alpha,beta,gamma,Top-1 SpaceGroup,Top-2 SpaceGroup,Top-3 SpaceGroup,Top-4 SpaceGroup,Top-5 SpaceGroup
Ag2F4,monoclinic,4.062,4.667,6.129,90.0,96.94,90.0,14,11,13,7,4

(4) predict the contact map for the formula

python contactmap.py --input-file input.csv

it will generate the contact map file in test/test_output/Ag2F4-*.**.input

(5) Reconstruct the crystal structure from contact map file

cd cmcrystal
python CMC.py --input ../test/test_output/Ag2F4-orthorhombic-62.input

Acknowledgement

This software is developed based on three open source software including MLatticeABC, CMCrystal, cryspnet. We strongly appreciate their open-source contribution. We include their folders and some codes for illustrations and easy use by materials researchers.

alphacrystal's People

Contributors

usccolumbia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.