public class NucleotideRange extends Object implements ConvertibleToHGVSString
Constructor and Description |
---|
NucleotideRange(NucleotidePointLocation firstPos,
NucleotidePointLocation lastPost) |
Modifier and Type | Method and Description |
---|---|
static NucleotideRange |
build(int firstPos,
int firstPosOffset,
int lastPos,
int lastPosOffset) |
static NucleotideRange |
buildWithoutOffset(int firstPos,
int lastPos) |
boolean |
equals(Object obj) |
NucleotidePointLocation |
getFirstPos() |
NucleotidePointLocation |
getLastPos() |
int |
hashCode() |
String |
toHGVSString()
Return HGVS representation in three-letter amino acid code.
|
String |
toHGVSString(AminoAcidCode code)
Return HGVS representation using the given amino acid code.
|
String |
toString() |
public NucleotideRange(NucleotidePointLocation firstPos, NucleotidePointLocation lastPost)
firstPos
- lastPost
- public static NucleotideRange build(int firstPos, int firstPosOffset, int lastPos, int lastPosOffset)
public static NucleotideRange buildWithoutOffset(int firstPos, int lastPos)
public NucleotidePointLocation getFirstPos()
public NucleotidePointLocation getLastPos()
public String toHGVSString()
ConvertibleToHGVSString
toHGVSString
in interface ConvertibleToHGVSString
ProteinPointLocation
public String toHGVSString(AminoAcidCode code)
ConvertibleToHGVSString
toHGVSString
in interface ConvertibleToHGVSString
code
- AminoAcidCode
to useProteinPointLocation
Copyright © 2016. All rights reserved.