public class ProteinDuplication extends ProteinChange
| Constructor and Description |
|---|
ProteinDuplication(boolean onlyPredicted,
ProteinRange range,
ProteinSeqDescription seqSpec) |
| Modifier and Type | Method and Description |
|---|---|
static ProteinDuplication |
buildWithLength(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
int len) |
static ProteinDuplication |
buildWithoutSeqDescription(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos) |
static ProteinDuplication |
buildWithSeqDescription(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
ProteinSeqDescription desc) |
static ProteinDuplication |
buildWithSequence(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
String seq) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toHGVSString(AminoAcidCode code)
Return HGVS representation using the given amino acid code.
|
String |
toString() |
ProteinChange |
withOnlyPredicted(boolean onlyPredicted) |
isOnlyPredicted, toHGVSStringpublic ProteinDuplication(boolean onlyPredicted,
ProteinRange range,
ProteinSeqDescription seqSpec)
onlyPredicted - range - seqSpec - public static ProteinDuplication buildWithoutSeqDescription(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos)
public static ProteinDuplication buildWithSequence(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, String seq)
public static ProteinDuplication buildWithLength(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, int len)
public static ProteinDuplication buildWithSeqDescription(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, ProteinSeqDescription desc)
public String toHGVSString(AminoAcidCode code)
ConvertibleToHGVSStringcode - AminoAcidCode to useProteinPointLocationpublic int hashCode()
hashCode in class ProteinChangepublic boolean equals(Object obj)
equals in class ProteinChangepublic ProteinChange withOnlyPredicted(boolean onlyPredicted)
withOnlyPredicted in class ProteinChangeProteinChange object with prediction state set to the one given by the parameterCopyright © 2016. All rights reserved.