annotation.setSequenceRef(this);
}
+ public void removeAlignmentAnnotation(AlignmentAnnotation annotation)
+ {
+ if(this.annotation!=null)
+ {
+ this.annotation.remove(annotation);
+ if(this.annotation.size()==0)
+ this.annotation = null;
+ }
+ }
+
/**
* test if this is a valid candidate for another
public void addAlignmentAnnotation(AlignmentAnnotation annotation);
+ public void removeAlignmentAnnotation(AlignmentAnnotation annotation);
+
/**
* Derive a sequence (using this one's dataset or as the dataset)
* @return duplicate sequence with valid dataset sequence