*/
public void liftOver(SequenceI sq, Mapping sp2sq)
{
+ if (sp2sq.getMappedWidth() != sp2sq.getWidth())
+ {
+ // TODO: employ getWord/MappedWord to transfer annotation between cDNA and Protein reference frames
+ throw new Error("liftOver currently not implemented for transfer of annotation between different types of seqeunce");
+ }
boolean mapIsTo = (sp2sq != null) ? (sp2sq.getTo() == sq || sp2sq
.getTo() == sq.getDatasetSequence()) : false;