Class SoftClip
java.lang.Object
htsjdk.samtools.cram.encoding.readfeatures.SoftClip
- All Implemented Interfaces:
ReadFeature
,Serializable
A read feature representing a soft clip similar to
CigarOperator.S
.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
byte
Read features are distinguished by operator, similar to cigar operator.int
byte[]
int
hashCode()
void
setSequence
(byte[] sequence) toString()
-
Field Details
-
operator
public static final byte operator- See Also:
-
-
Constructor Details
-
SoftClip
public SoftClip(int position, byte[] sequence)
-
-
Method Details
-
getSequence
public byte[] getSequence() -
setSequence
public void setSequence(byte[] sequence) -
getOperator
public byte getOperator()Description copied from interface:ReadFeature
Read features are distinguished by operator, similar to cigar operator.- Specified by:
getOperator
in interfaceReadFeature
- Returns:
- type of the read feature
-
getPosition
public int getPosition()- Specified by:
getPosition
in interfaceReadFeature
- Returns:
- zero-based position in the read
-
toString
-
equals
-
hashCode
public int hashCode()
-