columnarStructure.py
Provides efficient access to structure information in the form of atom-based arrays. Data are lazily initialized as needs.
ColumnarStructure
(structure, firstModelOnly=True)[source]¶Bases: object
Column based data structure to efficiently access structure information
Attributes
structure | (mmtfStructure) mmtf structure |
firstModelOnly | (bool) use only the first model in a structure if True |
Methods
get_alt_loc_list () |
|
get_atom_names () |
|
get_atom_to_chain_indices () |
|
get_atom_to_group_indices () |
|
get_b_factors () |
|
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_elements () |
|
get_entity_indices () |
|
get_entity_types () |
|
get_group_names () |
|
get_group_numbers () |
|
get_group_to_atom_indices () |
|
get_group_types () |
|
get_indices () |
|
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 () |