public class NucleotideSeqDescription extends Object implements ConvertibleToHGVSString
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_NT_COUNT
sentinel value for invalid nucleotide count
|
Constructor and Description |
---|
NucleotideSeqDescription()
Construct as reporting the empty string.
|
NucleotideSeqDescription(int ntCount)
Construct with nucleotide string length and
null string. |
NucleotideSeqDescription(String nts)
Construct with nucleotide string length.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getNucleotides()
Get nucleotidestring, only available if
hasNucleotides() returns true . |
int |
hashCode() |
boolean |
hasNucleotides() |
boolean |
isBlank() |
int |
length() |
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 static final int INVALID_NT_COUNT
public NucleotideSeqDescription()
public NucleotideSeqDescription(int ntCount)
null
string.public NucleotideSeqDescription(String nts)
public boolean hasNucleotides()
true
if the nucleotide sequence was specifiedpublic String getNucleotides()
hasNucleotides()
returns true
.public boolean isBlank()
true
if nothing is to be printed.public int length()
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.