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;
}
* 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;
{
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<SequenceI> unmappedProtein = new ArrayList<>();
{
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
* @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<SequenceI, List<AlignmentAnnotation>> annotations,
* @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(
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]);