Package org.rcsb.strucmotif.domain.query
Class QueryBuilder.MandatoryBuilder
java.lang.Object
org.rcsb.strucmotif.domain.query.QueryBuilder.MandatoryBuilder
- Enclosing class:
- QueryBuilder
Parameters are considered mandatory arguments (in the sense that some value has to be given - nonetheless,
default values will be used). But internally these values are strictly required. No input validation is performed
whatsoever.
-
Method Summary
Modifier and TypeMethodDescriptionangleTolerance(int angleTolerance) Specify the angle tolerance (default: 1).atomPairingScheme(AtomPairingScheme atomPairingScheme) Controls which atoms will be considered for alignment.backboneDistanceTolerance(int backboneDistanceTolerance) Specify the backbone distance tolerance (default: 1).Creates aParametersinstance based on all values.limitResults(int limit) Stop after a certain number of accepted hits.motifPruningStrategy(MotifPruningStrategy motifPruningStrategy) Specify the motif pruning strategy.motifPruningStrategy(MotifPruner motifPruner) Specify the motif pruning strategy.rmsdCutoff(double rmsdCutoff) Filter hits based on RMSD.sideChainDistanceTolerance(int sideChainDistanceTolerance) Specify the side-chain distance tolerance (default: 1).
-
Method Details
-
backboneDistanceTolerance
Specify the backbone distance tolerance (default: 1).- Parameters:
backboneDistanceTolerance- the tolerance to use- Returns:
- this builder
-
sideChainDistanceTolerance
Specify the side-chain distance tolerance (default: 1).- Parameters:
sideChainDistanceTolerance- the tolerance to use- Returns:
- this builder
-
angleTolerance
Specify the angle tolerance (default: 1).- Parameters:
angleTolerance- the tolerance to use- Returns:
- this builder
-
rmsdCutoff
Filter hits based on RMSD. Only relevant when scoring strategy involves alignment.- Parameters:
rmsdCutoff- the RMSD cutoff above which hits are filtered- Returns:
- this builder
-
atomPairingScheme
Controls which atoms will be considered for alignment. Only relevant when scoring scheme is alignment-based.- Parameters:
atomPairingScheme- how to pair atoms for alignment routine- Returns:
- this builder
-
motifPruningStrategy
Specify the motif pruning strategy.- Parameters:
motifPruner- the implementation to prune motifs- Returns:
- this builder
-
motifPruningStrategy
public QueryBuilder.MandatoryBuilder motifPruningStrategy(MotifPruningStrategy motifPruningStrategy) Specify the motif pruning strategy.- Parameters:
motifPruningStrategy- the strategy to prune motifs- Returns:
- this builder
-
limitResults
Stop after a certain number of accepted hits.- Parameters:
limit- the maximum number of hits below the RMSD threshold- Returns:
- this builder
-
buildParameters
Creates aParametersinstance based on all values. Proceeds to the next step.- Returns:
- the optional argument step
-