CloneSet71


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14250.964stmt_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114501
Bio/pairwise2.py
214517
Bio/pairwise2.py
Clone Instance
1
Line Count
14
Source Line
501
Source File
Bio/pairwise2.py

            # Update the cached column scores.  The best score for
            # this can come from either extending the gap in the
            # previous cached score, or opening a new gap from the
            # most previously seen character.  Compare the two scores
            # and keep the best one.
            open_score = score_matrix[row-1][col-1]+first_B_gap 
            extend_score = col_cache_score[col-1]+extend_B 
            open_score_rint,extend_score_rint =
                             rint(open_score),rint(extend_score) 
            if open_score_rint>extend_score_rint:  
                col_cache_score[col-1] = open_score 
                col_cache_index[col-1] = [(row-1,col-1)] 
            elif extend_score_rint>open_score_rint:  
                col_cache_score[col-1] = extend_score 
            else: 
                 col_cache_score[col-1] = open_score 
                 if (row-1,col-1) not in  col_cache_index[col-1]: 
                      col_cache_index[col-1] = col_cache_index[col-1]+[(row-1,col-1)] 


              # Update the cached row scores.
                 


Clone Instance
2
Line Count
14
Source Line
517
Source File
Bio/pairwise2.py

            open_score = score_matrix[row-1][col-1]+first_A_gap 
            extend_score = row_cache_score[row-1]+extend_A 
            open_score_rint,extend_score_rint =
                             rint(open_score),rint(extend_score) 
            if open_score_rint>extend_score_rint:  
                row_cache_score[row-1] = open_score 
                row_cache_index[row-1] = [(row-1,col-1)] 
            elif extend_score_rint>open_score_rint:  
                row_cache_score[row-1] = extend_score 
            else: 
                 row_cache_score[row-1] = open_score 
                 if (row-1,col-1) not in  row_cache_index[row-1]: 
                      row_cache_index[row-1] = row_cache_index[row-1]+[(row-1,col-1)] 
                 


Clone AbstractionParameter Count: 5Parameter Bindings

# Update the cached column scores.  The best score for
# this can come from either extending the gap in the
# previous cached score, or opening a new gap from the
# most previously seen character.  Compare the two scores
# and keep the best one.
open_score = score_matrix[row-1][col-1]+ [[#variable77487620]]
extend_score = [[#variable77d34b60]][ [[#variable60ce9980]]-1]+ [[#variable78048fe0]]
open_score_rint,extend_score_rint = rint(open_score),rint(extend_score) 
if open_score_rint>extend_score_rint:
   [[#variable77d34b60]][ [[#variable60ce9980]]-1] = open_score 
   [[#variable78049020]][ [[#variable60ce9980]]-1] = [(row-1,col-1)] 
elif extend_score_rint>open_score_rint:
   [[#variable77d34b60]][ [[#variable60ce9980]]-1] = extend_score 
else:
   [[#variable77d34b60]][ [[#variable60ce9980]]-1] = open_score 
  if (row-1,col-1) not in [[#variable78049020]][ [[#variable60ce9980]]-1]:
  
     [[#variable78049020]][ [[#variable60ce9980]]-1] = [[#variable78049020]][ [[#variable60ce9980]]-1]+[(row-1,col-1)] 
    # Update the cached row scores.
  
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#77487620]]
first_A_gap 
12[[#77487620]]
first_B_gap 
21[[#77d34b60]]
row_cache_score 
22[[#77d34b60]]
col_cache_score 
31[[#60ce9980]]
row 
32[[#60ce9980]]
col 
41[[#78048fe0]]
extend_A 
42[[#78048fe0]]
extend_B 
51[[#78049020]]
row_cache_index 
52[[#78049020]]
col_cache_index