Class LabelSelection
java.lang.Object
org.rcsb.strucmotif.domain.structure.LabelSelection
- All Implemented Interfaces:
Selection
Identifies a residue unambiguously by label_asym_id, struct_oper_id, and label_seq_id. Basically the 'natural' way to
reference residues.
-
Constructor Summary
ConstructorsConstructorDescriptionLabelSelection(String labelAsymId, String structOperId, int labelSeqId) Construct a label selection. -
Method Summary
-
Constructor Details
-
LabelSelection
Construct a label selection.- Parameters:
labelAsymId- the chain of intereststructOperId- the operation of interestlabelSeqId- the sequence position of interest
-
-
Method Details
-
getLabelAsymId
The chain of interest. Corresponds to 'label_asym_id' in mmCIF.- Returns:
- a String
-
getStructOperId
Description copied from interface:SelectionThe operator applied to the original coordinates.- Specified by:
getStructOperIdin interfaceSelection- Returns:
- an expression based on struct_oper_id
-
getLabelSeqId
public int getLabelSeqId()The sequence position of interest. Corresponds to 'label_seq_id' in mmCIF.- Returns:
- an int
-
equals
-
hashCode
public int hashCode() -
toString
-