CloneSet92


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17201.000stmt_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11790
Bio/Align/AlignInfo.py
217146
Bio/Align/AlignInfo.py
Clone Instance
1
Line Count
17
Source Line
90
Source File
Bio/Align/AlignInfo.py

            max_atoms = [ ] 
            max_size = 0 

            for atom in atom_dict.keys( ):
                                         
                if atom_dict[atom]>max_size:  
                    max_atoms = [atom] 
                    max_size = atom_dict[atom] 
                elif atom_dict[atom]==max_size:  
                    max_atoms.append(atom) 
                
            if require_multiple and num_atoms==1:  
                consensus = consensus+ambiguous 
            elif (len(max_atoms)==1) and   ((float(max_size)/float(num_atoms))>=threshold):
                                                       
                consensus = consensus+max_atoms[0] 
            else: 
                 consensus = consensus+ambiguous 

         # we need to guess a consensus alphabet if one isn't specified


Clone Instance
2
Line Count
17
Source Line
146
Source File
Bio/Align/AlignInfo.py

            max_atoms = [ ] 
            max_size = 0 

            for atom in atom_dict.keys( ):
                                         
                if atom_dict[atom]>max_size:  
                    max_atoms = [atom] 
                    max_size = atom_dict[atom] 
                elif atom_dict[atom]==max_size:  
                    max_atoms.append(atom) 
                
            if require_multiple and num_atoms==1:  
                consensus = consensus+ambiguous 
            elif (len(max_atoms)==1) and   ((float(max_size)/float(num_atoms))>=threshold):
                                                       
                consensus = consensus+max_atoms[0] 
            else: 
                 consensus = consensus+ambiguous 

         # we need to guess a consensus alphabet if one isn't specified


Clone AbstractionParameter Count: 0Parameter Bindings

max_atoms = [ ] 
max_size = 0 
for atom in atom_dict.keys( ):
  if atom_dict[atom]>max_size:
  
    max_atoms = [atom] 
    max_size = atom_dict[atom] 
  elif atom_dict[atom]==max_size:
  
    max_atoms.append(atom) 
  
if require_multiple and num_atoms==1:
  consensus = consensus+ambiguous 
elif (len(max_atoms)==1) and ((float(max_size)/float(num_atoms))>=threshold):
  consensus = consensus+max_atoms[0] 
else:
  consensus = consensus+ambiguous 
  # we need to guess a consensus alphabet if one isn't specified
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None