1 import jalview.analysis.*;
2 import jalview.datamodel.*;
3 import jalview.gui.AlignFrame;
4 import jalview.gui.AlignViewport;
6 def af = Jalview.getAlignframes();
8 def todie = "PDBFile"; // about to delete this type of group
11 def al = ala.viewport.alignment.getDataset();
14 SequenceI[] seqs = al.getSequencesArray();
18 SequenceFeature[] sf = sq.getSequenceFeatures();
21 if (sfpos!=null && sfpos.getFeatureGroup().equals(todie))
23 sq.deleteFeature(sfpos);