public class ProteinPointLocation extends Object implements ConvertibleToHGVSString
Constructor and Description |
---|
ProteinPointLocation(String aa,
int pos,
int offset,
boolean downstreamOfTerminal) |
Modifier and Type | Method and Description |
---|---|
static ProteinPointLocation |
build(String aa,
int pos) |
static ProteinPointLocation |
buildDownstreamOfTerminal(String aa,
int pos) |
static ProteinPointLocation |
buildWithOffset(String aa,
int pos,
int offset) |
boolean |
equals(Object obj) |
String |
getAA() |
int |
getOffset() |
int |
getPos() |
int |
hashCode() |
boolean |
isDownstreamOfTerminal() |
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 ProteinPointLocation(String aa, int pos, int offset, boolean downstreamOfTerminal)
aa
- 1-letter code of the amino acidpos
- 0-based position in the proteinoffset
- for changes in intronic or upstream regions, 0 for no offsetpublic static ProteinPointLocation build(String aa, int pos)
public static ProteinPointLocation buildWithOffset(String aa, int pos, int offset)
public static ProteinPointLocation buildDownstreamOfTerminal(String aa, int pos)
public int getPos()
public String getAA()
public int getOffset()
public boolean isDownstreamOfTerminal()
Gln*1
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.