mrparse.mr_alphafold module

Created on 23 Jul 2021

@author: hlasimpk

class ModelData[source]

Bases: object

OBJECT_ATTRIBUTES = ['hit', 'region']
property length
property model_id
property name
property query_start
property query_stop
property range
property region_id
property region_index
property score
property seq_ident
property static_dict

Return a self representation with all properties resolved, suitable for JSON

exception PdbModelException[source]

Bases: Exception

calculate_avg_plddt(struct)[source]
calculate_quality_h_score(struct)[source]
calculate_quality_threshold(struct, plddt_threshold=70)[source]
calculate_sum_plddt(struct)[source]
convert_plddt_to_bfactor(struct)[source]
download_model(pdb_name)[source]

Download AlphaFold2 model

get_plddt(struct)[source]
get_plddt_regions(struct, seqid_range)[source]
models_from_hits(hits)[source]
prepare_pdb(hit)[source]

Download pdb or take file from cache trucate to required residues calculate the MW