X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fanalysis%2FDna.java;h=9ce00cce0b432429392196793bf710f1065134a2;hb=4d7f98a6dd54d9863ba449ec79dcd95d25ed863d;hp=5696838739ac6044e11ef26fdceaedae83542fa2;hpb=619cc880371f3228e6a1fb33c6bfb6e7a7e2622c;p=jalview.git diff --git a/src/jalview/analysis/Dna.java b/src/jalview/analysis/Dna.java index 5696838..9ce00cc 100644 --- a/src/jalview/analysis/Dna.java +++ b/src/jalview/analysis/Dna.java @@ -208,9 +208,8 @@ public class Dna for (int gd = 0; gd < selection.length; gd++) { SequenceI dna = selection[gd]; - DBRefEntry[] dnarefs = DBRefUtils - .selectRefs(dna.getDBRef(), - jalview.datamodel.DBRefSource.DNACODINGDBS); + DBRefEntry[] dnarefs = DBRefUtils.selectRefs(dna.getDBRef(), + jalview.datamodel.DBRefSource.DNACODINGDBS); if (dnarefs != null) { // intersect with pep @@ -300,8 +299,7 @@ public class Dna aa.graphHeight = annotation.graphHeight; if (annotation.getThreshold() != null) { - aa.setThreshold(new GraphLine(annotation - .getThreshold())); + aa.setThreshold(new GraphLine(annotation.getThreshold())); } if (annotation.hasScore) { @@ -446,8 +444,10 @@ public class Dna aa = gapString; if (skipint == null) { - skipint = new int[] - { alignedCodon.pos1, alignedCodon.pos3 /* cdp[0], cdp[2] */}; + skipint = new int[] { alignedCodon.pos1, alignedCodon.pos3 /* + * cdp[0], + * cdp[2] + */}; } skipint[1] = alignedCodon.pos3; // cdp[2]; } @@ -683,8 +683,7 @@ public class Dna * range iv[0] = skipint[1]; } else { } } } else if (iv[0] proteinSeqs) + protected void insertAAGap(int pos, List proteinSeqs) { aaWidth++; for (SequenceI seq : proteinSeqs)