GithubHelp home page GithubHelp logo

afanalysis's Introduction

AFanalysis

Here, you can use the provided python script for the analysis of AlphaFold models, including both local predictions that produce .pkl files and ColabFold predictions that produce .json files storing quality evaluation scores.

With this script, you can only analyze one AlphaFold model at a time.

If only pkl/json file is provided, this script outputs:
   - a json file containing plddt, pae, max_pae, ranking confidence, ptm and iptm scores (%s.json)
   - draws a PAE graph showing iptm and ptm values (%s_PAE.jpeg)
   - draws a pLDDT graph showing the plddt score for each residue (%s_Plddt.jpeg)
   
If only pdb file is provided, this script outputs:
- a PyMOL-made figure showing the structure colored by chains (%s_cbc.png)
- a PyMOL-made figure showing the structure colored by AlphaFold coloring (%s_cbaf.png)

If both pkl/json and pdb files are provided, this script outputs:
- All mentioned above and updated versions of PAE and pLDDT graphs showing the residue numbers of each monomers as lines. 

Usage:

	python AFanalysis.py --data_file <pkl file or json file>
	python AFanalysis.py --pdb_file <pdb file>
	or 
	python AFanalysis.py --data_file <pkl file or json file> --pdb_file <pdb file>

Example:

	python AFanalysis.py --data_file result_model_1_multimer_v2_pred_1.pkl
	python AFanalysis.py --data_file result_model_1_multimer_v2_pred_1.json
	python AFanalysis.py --pdb_file rank0.pdb
	python AFanalysis.py --data_file result_model_1_multimer_v2_pred_1.pkl --input_pdb rank0.pdb
	python AFanalysis.py --data_file result_model_1_multimer_v2_pred_1.json --input_pdb rank0.pdb

Recommended to use this script by creating a conda environment.

	conda create -n AFanalysis python=3.7
	conda activate AFanalysis
	conda install -c schrodinger pymol -y
	conda install matplotlib

Output figure examples are listed below:

  • PAE graphs (with and without residue numbers of monomers):

  • pLDDT graphs (with and without residue numbers of monomers):

  • PyMOL-made figures:

afanalysis's People

Contributors

busrasavas avatar

Stargazers

BurcuOzden avatar Computational Structural Biology - Karaca Lab avatar

Watchers

 avatar

Forkers

csb-karacalab

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.