Class Edit.Delete<C extends Compound>
java.lang.Object
org.biojava.nbio.core.sequence.edits.Edit.AbstractEdit<C>
org.biojava.nbio.core.sequence.edits.Edit.Delete<C>
- All Implemented Interfaces:
Edit<C>
Implementation which allows for the deletion of bases from a Sequence
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.biojava.nbio.core.sequence.edits.Edit
Edit.AbstractEdit<C extends Compound>, Edit.Delete<C extends Compound>, Edit.Insert<C extends Compound>, Edit.Substitute<C extends Compound>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFivePrime
(Sequence<C> editingSequence) Should return the 5-prime end of the given Sequence according to the edit.protected int
protected int
getThreePrime
(Sequence<C> editingSequence) Should return the 3-prime end of the given Sequence according to the edit.Methods inherited from class org.biojava.nbio.core.sequence.edits.Edit.AbstractEdit
edit, getEmptySequence, getEnd, getStart, getTargetSequence, setSequence, setStringSequence
-
Constructor Details
-
Delete
public Delete(int position) -
Delete
public Delete(int start, int end)
-
-
Method Details
-
getRealStart
protected int getRealStart() -
getRealEnd
protected int getRealEnd() -
getFivePrime
Description copied from class:Edit.AbstractEdit
Should return the 5-prime end of the given Sequence according to the edit. An empty Sequence is valid.- Specified by:
getFivePrime
in classEdit.AbstractEdit<C extends Compound>
-
getThreePrime
Description copied from class:Edit.AbstractEdit
Should return the 3-prime end of the given Sequence according to the edit. An empty Sequence is valid.- Specified by:
getThreePrime
in classEdit.AbstractEdit<C extends Compound>
-