public static class Edit.Insert<C extends Compound> extends Edit.AbstractEdit<C>
ACTG insert TT @ position 1 : TTACGT ACTG insert TT @ position 2,3 : ACTTGT ACTG insert A @ position 4 : ACGTAThe code will raise exceptions if you attempt a single base edit with an insertion.
Edit.AbstractEdit<C extends Compound>, Edit.Delete<C extends Compound>, Edit.Insert<C extends Compound>, Edit.Substitute<C extends Compound>
Constructor and Description |
---|
Insert(Sequence<C> sequence,
int position) |
Insert(Sequence<C> sequence,
int start,
int stop) |
Insert(String sequence,
int position) |
Insert(String sequence,
int start,
int stop) |
Modifier and Type | Method and Description |
---|---|
protected Sequence<C> |
getFivePrime(Sequence<C> editingSequence)
Should return the 5-prime end of the given Sequence according to
the edit.
|
protected Sequence<C> |
getThreePrime(Sequence<C> editingSequence)
Should return the 3-prime end of the given Sequence according to
the edit.
|
edit, getEmptySequence, getEnd, getStart, getTargetSequence, setSequence, setStringSequence
protected Sequence<C> getFivePrime(Sequence<C> editingSequence)
Edit.AbstractEdit
getFivePrime
in class Edit.AbstractEdit<C extends Compound>
protected Sequence<C> getThreePrime(Sequence<C> editingSequence)
Edit.AbstractEdit
getThreePrime
in class Edit.AbstractEdit<C extends Compound>
Copyright © 2000–2019 BioJava. All rights reserved.