public class NucleotideSubstitution extends NucleotideChange
Constructor and Description |
---|
NucleotideSubstitution(boolean onlyPredicted,
NucleotidePointLocation position,
String fromNT,
String toNT)
Construct with the given values
|
Modifier and Type | Method and Description |
---|---|
static NucleotideSubstitution |
build(boolean onlyPredicted,
int basePos,
String fromNT,
String toNT)
Build
NucleotideSubstitution with nucleotide positions without offset values. |
static NucleotideSubstitution |
buildWithOffset(boolean onlyPredicted,
int basePos,
int posOffset,
String fromNT,
String toNT)
Build
NucleotideSubstitution with nucleotide positions with offset values. |
boolean |
equals(Object obj) |
String |
getFromNT() |
NucleotidePointLocation |
getPosition() |
String |
getToNT() |
int |
hashCode() |
String |
toHGVSString()
Return HGVS representation in three-letter amino acid code.
|
String |
toString() |
NucleotideSubstitution |
withOnlyPredicted(boolean flag) |
isOnlyPredicted, toHGVSString
public NucleotideSubstitution(boolean onlyPredicted, NucleotidePointLocation position, String fromNT, String toNT)
public static NucleotideSubstitution buildWithOffset(boolean onlyPredicted, int basePos, int posOffset, String fromNT, String toNT)
NucleotideSubstitution
with nucleotide positions with offset values.public static NucleotideSubstitution build(boolean onlyPredicted, int basePos, String fromNT, String toNT)
NucleotideSubstitution
with nucleotide positions without offset values.public NucleotideSubstitution withOnlyPredicted(boolean flag)
withOnlyPredicted
in class NucleotideChange
NucleotideChange
with given onlyPredicted
value.public NucleotidePointLocation getPosition()
NucleotidePointLocation
of the changed nucleotidepublic String getFromNT()
public String getToNT()
public String toHGVSString()
ConvertibleToHGVSString
ProteinPointLocation
public int hashCode()
hashCode
in class NucleotideChange
public boolean equals(Object obj)
equals
in class NucleotideChange
Copyright © 2016. All rights reserved.