public class ProteinInsertion extends ProteinChange
Constructor and Description |
---|
ProteinInsertion(boolean onlyPredicted,
ProteinRange position,
ProteinSeqDescription seq) |
Modifier and Type | Method and Description |
---|---|
static ProteinInsertion |
buildWithLength(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos)
Build without any sequence description.
|
static ProteinInsertion |
buildWithLength(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
int insertedLength)
Build with length information
|
static ProteinInsertion |
buildWithoutSeqDescription(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos)
Build without any SeqDescription
|
static ProteinInsertion |
buildWithSeqDescription(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
ProteinSeqDescription seqDescription)
Build with SeqDescription
|
static ProteinInsertion |
buildWithSequence(boolean onlyPredicted,
String firstAA,
int firstPos,
String lastAA,
int lastPos,
String seq)
Build with sequence
|
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 ProteinInsertion(boolean onlyPredicted, ProteinRange position, ProteinSeqDescription seq)
onlyPredicted
- whether the change was only predictedposition
- range of length one giving the insertion positionseq
- description of the inserted sequencepublic static ProteinInsertion buildWithLength(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos)
public static ProteinInsertion buildWithLength(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, int insertedLength)
public static ProteinInsertion buildWithSequence(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, String seq)
public static ProteinInsertion buildWithSeqDescription(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos, ProteinSeqDescription seqDescription)
public static ProteinInsertion buildWithoutSeqDescription(boolean onlyPredicted, String firstAA, int firstPos, String lastAA, int lastPos)
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.