Class LegacyIndel
- java.lang.Object
-
- de.charite.compbio.jannovar.hgvs.legacy.LegacyChange
-
- de.charite.compbio.jannovar.hgvs.legacy.LegacyIndel
-
public class LegacyIndel extends LegacyChange
Representation of a legacy notation substitution.- Author:
- Manuel Holtgrewe
-
-
Constructor Summary
Constructors Constructor Description LegacyIndel(LegacyLocation location, NucleotideSeqDescription deletedSeq, NucleotideSeqDescription insertedSeq)
Construct new legacy substitution with the given values
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
NucleotideSeqDescription
getDeletedSeq()
NucleotideSeqDescription
getInsertedSeq()
int
hashCode()
String
toLegacyString()
String
toString()
-
Methods inherited from class de.charite.compbio.jannovar.hgvs.legacy.LegacyChange
getLocation
-
-
-
-
Constructor Detail
-
LegacyIndel
public LegacyIndel(LegacyLocation location, NucleotideSeqDescription deletedSeq, NucleotideSeqDescription insertedSeq)
Construct new legacy substitution with the given values
-
-
Method Detail
-
getDeletedSeq
public NucleotideSeqDescription getDeletedSeq()
- Returns:
- replaced sequence
-
getInsertedSeq
public NucleotideSeqDescription getInsertedSeq()
- Returns:
- sequence to replace with
-
toLegacyString
public String toLegacyString()
- Specified by:
toLegacyString
in classLegacyChange
- Returns:
- legacy string descrition of the change
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classLegacyChange
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classLegacyChange
-
-