Skip to main content

`AF2 analysis` is a python library allowing analysis of Alphafold results.

Project description

Alphafold2 Analysis

af2_analysis is a python package allowing a simplified analysis of alphafold and colabfold results.

Installation

git clone https://github.com/samuelmurail/af2_analysis
cd af2_analysis
python setup.py install

Usage

Create the Data object, giving the path of the directory containing the results of the alphafold2/colabfold run.

import af2_analysis
my_data = af2_analysis.Data('MY_AF2_RESULTS_DIR')

Extracted data are available in the df attribute of the Data object.

my_data.df
  • Compute pdockQ and pdockQ2:
my_data.compute_pdockq()
my_data.compute_pdockq2()
  • plot msa
my_data.plot_msa()
  • plot plddt:
my_data.plot_plddt([0,1])
  • plot PAE:
my_data.plot_pae(my_data.df['ranking_confidence'].idxmax())
  • show 3D structure (nglview required):
my_data.show_3d(my_data.df['ranking_confidence'].idxmax())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

af2_analysis-0.0.1-py2.py3-none-any.whl (18.4 kB view hashes)

Uploaded Python 2 Python 3

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