Package org.rcsb.strucmotif.core
Class HitScorer
java.lang.Object
org.rcsb.strucmotif.core.HitScorer
Scores hits by computing the RMSD with respect to the reference motif.
-
Constructor Summary
ConstructorsConstructorDescriptionHitScorer(List<Map<LabelAtomId, float[]>> queryResidues, AtomPairingScheme atomPairingScheme, AlignmentService alignmentService) Construct a query-specific hit scorer. -
Method Summary
Modifier and TypeMethodDescriptionalignToReference(List<Map<LabelAtomId, float[]>> targetResidues) Align a set of residues to the reference.Returns the used atom pairing scheme (e.g., all-atoms, side-chain, ...)
-
Constructor Details
-
HitScorer
public HitScorer(List<Map<LabelAtomId, float[]>> queryResidues, AtomPairingScheme atomPairingScheme, AlignmentService alignmentService) Construct a query-specific hit scorer.- Parameters:
queryResidues- the reference structureatomPairingScheme- how to pair atoms?alignmentService- alignment service
-
-
Method Details
-
getAtomPairingScheme
Returns the used atom pairing scheme (e.g., all-atoms, side-chain, ...)- Returns:
- an
AtomPairingSchemevalue
-
alignToReference
Align a set of residues to the reference.- Parameters:
targetResidues- collection of residues- Returns:
- an
AlignmentResult
-