nlen--;\r
dnaSeqs[nlen] = (dnaseq.getDatasetSequence()==null) ? dnaseq : dnaseq.getDatasetSequence();\r
Mapping mp = new Mapping(map);\r
+ // JBPNote DEBUG! THIS !\r
+ //dnaseq.transferAnnotation(aaseq, mp);\r
+ //aaseq.transferAnnotation(dnaseq, new Mapping(map.getInverse()));\r
mp.to = (aaseq.getDatasetSequence()==null) ? aaseq : aaseq.getDatasetSequence();\r
a_aaSeqs.addElement(aaseq);\r
dnaToProt[nlen] = mp;\r
*/\r
public void markMappedRegion(SequenceI seq, int index, SearchResults results)\r
{\r
+ if (dnaToProt==null)\r
+ {\r
+ return;\r
+ }\r
int[] codon;\r
SequenceI ds = seq.getDatasetSequence();\r
for (int mi = 0; mi<dnaToProt.length; mi++)\r