Rosetta
Classes | Functions
pyrosetta.tests.protocols.indexed_structure_store.test_search Namespace Reference

Classes

class  TestStructureSearch
 

Functions

def fragment_start_indicies_from_residue_array (fragment_length, source_residues)
 
def fragments_from_source_residues (fragment_length, source_residues)
 

Function Documentation

◆ fragment_start_indicies_from_residue_array()

def pyrosetta.tests.protocols.indexed_structure_store.test_search.fragment_start_indicies_from_residue_array (   fragment_length,
  source_residues 
)

◆ fragments_from_source_residues()

def pyrosetta.tests.protocols.indexed_structure_store.test_search.fragments_from_source_residues (   fragment_length,
  source_residues 
)
Extract fragment entries from residue array.

source_residues - Source residue data, include id, resn, and 'orient' entry containing atomic coordinates.

returns - (fragment_start_indices, fragment_data)

References pyrosetta.tests.protocols.indexed_structure_store.test_search.fragment_start_indicies_from_residue_array(), and range.

Referenced by pyrosetta.tests.protocols.indexed_structure_store.test_search.TestStructureSearch.test_pair_search(), and pyrosetta.tests.protocols.indexed_structure_store.test_search.TestStructureSearch.test_single_search().