mmtfPyspark.utils.columnarStructureX module

columnarStructureX.py

Inheritance class of ColumnarStructure

class ColumnarStructureX(structure, firstModelOnly=True)[source]

Bases: mmtfPyspark.utils.columnarStructure.ColumnarStructure

Inheritance of class ColumnarStructure with additional functions

Attributes

structure (mmtfStructure)) mmtf structure
firstModelOnly (bool) flag to use only the first model of the structure

Methods

get_alt_loc_list()
get_atom_names()
get_atom_to_chain_indices()
get_atom_to_group_indices()
get_b_factors()
get_calpha_atom_indices() Get the indices of Calpha atoms
get_calpha_coordinates() Get the coordinates for Calpha atoms
get_chain_ids()
get_chain_names()
get_chain_to_atom_indices()
get_chain_to_entity_index() Returns an array that maps a chain index to an entity index
get_chain_to_group_indices()
get_chem_comp_types()
get_clamped_normalized_b_factors() Returns a normalized B-factors that are clamped to the [-1,1] interval using the method of Liu et at.
get_elements()
get_entity_indices()
get_entity_types()
get_group_names()
get_group_numbers()
get_group_to_atom_indices()
get_group_types()
get_indices()
get_normalized_b_factors() Returns z-scores for B-factors (normalized B-factors).
get_num_atoms()
get_num_chains()
get_num_groups()
get_num_models()
get_occupancies()
get_sequence_positions()
get_x_coords()
get_y_coords()
get_z_coords()
is_polymer()
get_calpha_atom_indices()[source]

Get the indices of Calpha atoms

get_calpha_coordinates()[source]

Get the coordinates for Calpha atoms

get_clamped_normalized_b_factors()[source]

Returns a normalized B-factors that are clamped to the [-1,1] interval using the method of Liu et at. B-factors are normalized and scaled the 90% Confidenceinterval of the B-factors to [-1,1]. Any value outside of the 90% confidence interval is set to either -1 or 1, whichever is closer.

References

  • Liu et al. BMC Bioinformatics 2014, 15(Suppl 16):S3, Use B-factor related features for accurate classification between protein binding interfaces and crystal packing contacts https://doi.org/10.1186/1471-2105-15-S16-S3
get_normalized_b_factors()[source]

Returns z-scores for B-factors (normalized B-factors).

Critical z-score values: Confidence level Tail Area z critical 90% 0.05 +- 1.645 95% 0.025 +- 1.96 99% 0.005 +- 2.576