AlloViz.AlloViz.Filtering.No_Sequence_Neighbors¶
- AlloViz.AlloViz.Filtering.No_Sequence_Neighbors(pkg, data, Sequence_Neighbor_distance, **kwargs)[source]¶
Filter out residue pairs too close in the sequence
It only retains edges between residue pairs that are minimum a certain number of positions away in the protein sequence (default: 5). It can be assumed that residues that are close in the protein sequence will be considerably correlated and/or interacting, because of their intrinsic short spatial distance. Specially, it is known that a turn of an alpha-helix is completed almost every 4 residues, and that the residues i and i+4 (and i-5) in an alpha-helix interact with a backbone hydrogen bond. Thus, to take out these interactions and also the contacts due to closeness of residues i and i+5, the default value is 5 sequence positions.
- Other Parameters:
- **kwargs
Sequence_Neighbor_distance kwarg can be passed to specify the minimum number of sequence positions/distance between residues of a pair to retain in Intercontact filtering, which defaults to 5.