Ignore:
Timestamp:
07/04/14 00:38:41 (10 years ago)
Author:
rkrimmel
Message:

Adding needleman wunsch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/SequenceForTaskDetectionRuleAlignment.java

    r1586 r1587  
    208208                        } 
    209209                } 
    210                 //System.out.println(sequenceDistances.toString()); 
     210                //alignments.get(20, 47).printDPMatrix(); 
     211                //alignments.get(20, 47).printAlignment(); 
     212                 
     213                System.out.println(alignments.getDistanceMatrix().toString()); 
    211214                UPGMAAligningTree guidetree = new UPGMAAligningTree(numberseqs, alignments,submat); 
    212  
    213                 for (Iterator<NumberSequence> it =  guidetree.getRoot().getChild(0).getSequences().iterator(); it.hasNext();) { 
     215                //System.out.println("Number of sequences in root node: " + guidetree.getRoot().getSequences().size()); 
     216                for (Iterator<NumberSequence> it =  guidetree.getRoot().getSequences().iterator(); it.hasNext();) { 
    214217                        NumberSequence tmp  = it.next(); 
    215218                        tmp.printSequence(); 
    216219                } 
     220                 
    217221         
    218222                /* 
Note: See TracChangeset for help on using the changeset viewer.