public class ProteinShortSequenceRepeatVariability extends ProteinChange
Constructor and Description |
---|
ProteinShortSequenceRepeatVariability(boolean onlyPredicted,
ProteinRange range,
int minCount,
int maxCount)
Construct with the given values
|
Modifier and Type | Method and Description |
---|---|
static ProteinShortSequenceRepeatVariability |
build(boolean onlyPredicted,
ProteinRange range,
int minCount,
int maxCount)
Factory forwards to
ProteinShortSequenceRepeatVariability(boolean, ProteinRange, int, int) |
static ProteinShortSequenceRepeatVariability |
build(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
int minCount,
int maxCount)
Factory forwards to
build(boolean, ProteinRange, int, int) |
boolean |
equals(Object obj) |
int |
getMaxCount() |
int |
getMinCount() |
ProteinRange |
getRange() |
int |
hashCode() |
String |
toHGVSString(AminoAcidCode code)
Return HGVS representation using the given amino acid code.
|
String |
toString() |
ProteinChange |
withOnlyPredicted(boolean onlyPredicted) |
isOnlyPredicted, toHGVSString
public ProteinShortSequenceRepeatVariability(boolean onlyPredicted, ProteinRange range, int minCount, int maxCount)
public static ProteinShortSequenceRepeatVariability build(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, int minCount, int maxCount)
build(boolean, ProteinRange, int, int)
public static ProteinShortSequenceRepeatVariability build(boolean onlyPredicted, ProteinRange range, int minCount, int maxCount)
ProteinShortSequenceRepeatVariability(boolean, ProteinRange, int, int)
public ProteinRange getRange()
public int getMinCount()
public int getMaxCount()
public String toHGVSString(AminoAcidCode code)
ConvertibleToHGVSString
code
- AminoAcidCode
to useProteinPointLocation
public int hashCode()
hashCode
in class ProteinChange
public boolean equals(Object obj)
equals
in class ProteinChange
public ProteinChange withOnlyPredicted(boolean onlyPredicted)
withOnlyPredicted
in class ProteinChange
ProteinChange
object with prediction state set to the one given by the parameterCopyright © 2016. All rights reserved.