public class ProteinIndel extends ProteinChange
Constructor and Description |
---|
ProteinIndel(boolean onlyPredicted,
ProteinRange range,
ProteinSeqDescription delSeq,
ProteinSeqDescription insSeq) |
Modifier and Type | Method and Description |
---|---|
static ProteinIndel |
buildWithLength(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
int deletedLength,
int insertedLength)
Build with length information
|
static ProteinIndel |
buildWithoutSeqDescription(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos)
Build without any sequence description
|
static ProteinIndel |
buildWithSeqDescription(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
ProteinSeqDescription delDesc,
ProteinSeqDescription insDesc)
Build with sequence description
|
static ProteinIndel |
buildWithSequence(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
String deletedSeq,
String insertedSeq)
Build with sequence information
|
boolean |
equals(Object obj) |
ProteinRange |
getRange() |
ProteinSeqDescription |
getSeq() |
int |
hashCode() |
String |
toHGVSString(AminoAcidCode code)
Return HGVS representation using the given amino acid code.
|
String |
toString() |
ProteinChange |
withOnlyPredicted(boolean onlyPredicted) |
isOnlyPredicted, toHGVSString
public ProteinIndel(boolean onlyPredicted, ProteinRange range, ProteinSeqDescription delSeq, ProteinSeqDescription insSeq)
public static ProteinIndel buildWithoutSeqDescription(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos)
public static ProteinIndel buildWithLength(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, int deletedLength, int insertedLength)
public static ProteinIndel buildWithSequence(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, String deletedSeq, String insertedSeq)
public static ProteinIndel buildWithSeqDescription(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, ProteinSeqDescription delDesc, ProteinSeqDescription insDesc)
public String toHGVSString(AminoAcidCode code)
ConvertibleToHGVSString
code
- AminoAcidCode
to useProteinPointLocation
public ProteinRange getRange()
public ProteinSeqDescription getSeq()
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.