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, toHGVSString
public 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)
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.