X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fanalysis%2FAlignmentUtils.java;h=be5133fe64b05d4630ae79131b3b5751bc98d3aa;hb=eb3e681d6e82ccdd5d312d1981dfb306e7f479f0;hp=f470dc6b366937fe36dc64cae13faa74ef90e9e1;hpb=cb31e23d9138e481479623374aed7767bf8934d2;p=jalview.git diff --git a/src/jalview/analysis/AlignmentUtils.java b/src/jalview/analysis/AlignmentUtils.java index f470dc6..be5133f 100644 --- a/src/jalview/analysis/AlignmentUtils.java +++ b/src/jalview/analysis/AlignmentUtils.java @@ -547,7 +547,8 @@ public class AlignmentUtils if (translated == null || !(aaRes == translated.charAt(0))) { // debug - // jalview.bin.Console.outPrintln(("Mismatch at " + i + "/" + aaResidue + ": " + // jalview.bin.Console.outPrintln(("Mismatch at " + i + "/" + aaResidue + // + ": " // + codon + "(" + translated + ") != " + aaRes)); return false; } @@ -698,7 +699,8 @@ public class AlignmentUtils * unmapped position; treat like a gap */ sourceGapMappedLength += ratio; - // jalview.bin.Console.errPrintln("Can't align: no codon mapping to residue " + // jalview.bin.Console.errPrintln("Can't align: no codon mapping to + // residue " // + sourceDsPos + "(" + sourceChar + ")"); // return; continue; @@ -883,7 +885,8 @@ public class AlignmentUtils { if (protein.isNucleotide() || !dna.isNucleotide()) { - jalview.bin.Console.errPrintln("Wrong alignment type in alignProteinAsDna"); + jalview.bin.Console + .errPrintln("Wrong alignment type in alignProteinAsDna"); return 0; } List unmappedProtein = new ArrayList<>(); @@ -908,7 +911,8 @@ public class AlignmentUtils { if (protein.isNucleotide() || !dna.isNucleotide()) { - jalview.bin.Console.errPrintln("Wrong alignment type in alignProteinAsDna"); + jalview.bin.Console + .errPrintln("Wrong alignment type in alignProteinAsDna"); return 0; } // todo: implement this @@ -1512,7 +1516,9 @@ public class AlignmentUtils * @param alignment * the alignment to add them to * @param selectionGroup - * current selection group - may be null, if provided then any added annotation will be trimmed to just those columns in the selection group + * current selection group - may be null, if provided then any added + * annotation will be trimmed to just those columns in the selection + * group */ public static void addReferenceAnnotations( Map> annotations, @@ -1536,7 +1542,9 @@ public class AlignmentUtils * @param seq * @param ann * @param selectionGroup - * current selection group - may be null, if provided then any added annotation will be trimmed to just those columns in the selection group + * current selection group - may be null, if provided then any added + * annotation will be trimmed to just those columns in the selection + * group * @return annotation added to {@code seq and {@code alignment} */ public static AlignmentAnnotation addReferenceAnnotationTo( @@ -2770,8 +2778,8 @@ public class AlignmentUtils fromRange[i + 1]); if (range == null) { - jalview.bin.Console.errPrintln("Error in mapping " + seqMap + " from " - + fromSeq.getName()); + jalview.bin.Console.errPrintln("Error in mapping " + seqMap + + " from " + fromSeq.getName()); return false; } int fromCol = fromSeq.findIndex(fromRange[i]);