- AlignmentI xrefs = new CrossRef(sel, alignment)
- .findXrefSequences(source);
+ boolean dna = alignment.isNucleotide();
+ if (_odna!=dna)
+ {
+ System.err
+ .println("Conflict: showProducts for alignment originally "
+ + "thought to be "
+ + (_odna ? "DNA" : "Protein")
+ + " now searching for "
+ + (dna ? "DNA" : "Protein") + " Context.");
+ }
+ AlignmentI xrefs = new CrossRef(sel, dataset)
+ .findXrefSequences(source, dna);