JAL-1880 handle sequence offsets properly when mapping cDNA to protein
[jalview.git] / src / jalview / gui / AlignViewport.java
index 8378f30..a857f11 100644 (file)
@@ -926,7 +926,7 @@ public class AlignViewport extends AlignmentViewport implements
      * is a pre-requisite for building mappings.
      */
     al.setDataset(null);
-    AlignmentUtils.mapProteinToCdna(protein, cdna);
+    AlignmentUtils.mapProteinAlignmentToCdna(protein, cdna);
 
     /*
      * Create the AlignFrame for the added alignment. If it is protein, mappings