Class QueryStructure

java.lang.Object
org.rcsb.strucmotif.domain.query.QueryStructure

public class QueryStructure extends Object
A query structure wraps a Structure and provides additional functionality needed to employ it as motif definition during a structural motif query job.
  • Method Details

    • getStructureIdentifier

      public String getStructureIdentifier()
    • getStructure

      public Structure getStructure()
      Delegate to wrapped structure.
      Returns:
      the structure instance
    • getResiduePairOccurrences

      public List<ResiduePairOccurrence> getResiduePairOccurrences()
      All word occurrences in this query structure.
      Returns:
      a collection of word occurrences
    • getResiduePairIdentifiers

      public List<ResiduePairIdentifier> getResiduePairIdentifiers()
      All word identifiers in this query structure.
      Returns:
      a collection of word identifiers
    • getResiduePairDescriptors

      public List<ResiduePairDescriptor> getResiduePairDescriptors()
      All word descriptors in this query structure.
      Returns:
      a collection of word descriptors
    • getResidues

      public List<Map<LabelAtomId,float[]>> getResidues()
    • getIndexSelections

      public List<IndexSelection> getIndexSelections()
      All selections of this query structure.
      Returns:
      a collection of IndexSelections
    • getResidueIndexSwaps

      public List<Integer> getResidueIndexSwaps()
      This allows re-arranging residues in hits so they have the same order as the query.
      Returns:
      an array tracks how residues were swapped