Class NucleotideRepeatSequence
- java.lang.Object
-
- de.charite.compbio.jannovar.hgvs.nts.change.NucleotideRepeatSequence
-
- All Implemented Interfaces:
ConvertibleToHGVSString
public class NucleotideRepeatSequence extends Object implements ConvertibleToHGVSString
A repeated sequence.- Author:
- Mark Woon
-
-
Constructor Summary
Constructors Constructor Description NucleotideRepeatSequence(String sequence, int copyNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getCopyNumber()
String
getSequence()
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()
-
-
-
Constructor Detail
-
NucleotideRepeatSequence
public NucleotideRepeatSequence(String sequence, int copyNumber)
-
-
Method Detail
-
getSequence
public String getSequence()
-
getCopyNumber
public int getCopyNumber()
-
toHGVSString
public String toHGVSString()
Description copied from interface:ConvertibleToHGVSString
Return HGVS representation in three-letter amino acid code.- Specified by:
toHGVSString
in interfaceConvertibleToHGVSString
- Returns:
- HGVS representation, e.g. "133L" for an
ProteinPointLocation
-
toHGVSString
public String toHGVSString(AminoAcidCode code)
Description copied from interface:ConvertibleToHGVSString
Return HGVS representation using the given amino acid code.- Specified by:
toHGVSString
in interfaceConvertibleToHGVSString
- Parameters:
code
-AminoAcidCode
to use- Returns:
- HGVS representation, e.g. "133L" for an
ProteinPointLocation
-
-