`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
Release history Release notifications | RSS feed
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
Close
Hashes for af2_analysis-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0939d9768464f938faa257d967e0e978ce398d7e611f879eb75ccf5f4936335c |
|
MD5 | ec4ee58aa2b2653c4e8d79a301421b7d |
|
BLAKE2b-256 | 133d7ca825d9b055acdb4e699cf5e60e2d57324452158bef1cd0e902dbc745a1 |