for ( int j = i+1; j < seqList.size(); j++){
LineageSequence seqy = seqList.get(j);
HierarchyTree treey = nodeMap.get((String) seqy.getAncestors().get(seqy.getAncestors().size() - 1));
Taxonomy lowestCommonAnc = findLowestCommonAncestor(treex, treey);
PairwiseAlignment result = PairwiseAligner.align(seqx.getSeqString().replaceAll("U", "T"), seqy.getSeqString().replaceAll("U", "T"), scoringMatrix, mode);
double distance = dist.getDistance(result.getAlignedSeqj().getBytes(), result.getAlignedSeqi().getBytes(), 0);
if ( show_alignment){
System.out.println(">\t" + seqx.getSeqName() + "\t" + seqy.getSeqName() + "\t" + String.format("%.3f", distance) + "\t" + lowestCommonAnc.getHierLevel());
System.out.println(result.getAlignedSeqi() + "\n");
System.out.println(result.getAlignedSeqj() + "\n");
}
ArrayList<Double> distList = distanceMap.get(lowestCommonAnc);
if ( distList == null){
distList = new ArrayList<Double>();