Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 0 | 1.000 | stmt_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 90 | Bio/Align/AlignInfo.py |
2 | 17 | 146 | 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 |
| ||||
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 |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |