CloneSet158


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14240.950stmt_list[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114196
Bio/NeuralNetwork/Gene/Motif.py
214202
Bio/NeuralNetwork/Gene/Signature.py
Clone Instance
1
Line Count
14
Source Line
196
Source File
Bio/NeuralNetwork/Gene/Motif.py

        min_count = min(seq_motifs.values( )) 
        max_count = max(seq_motifs.values( )) 

        # as long as we have some motifs present, normalize them
        # otherwise we'll just return 0 for everything 
        if max_count>0:  
            for motif in seq_motifs.keys( ):
                                           
                seq_motifs[motif] = (float(seq_motifs[motif]-min_count)/float(max_count)) 


        # return the relative motif counts in the specified order
            
        motif_amounts = [ ] 
        for motif in self._motifs: 
             motif_amounts.append(seq_motifs[motif]) 


Clone Instance
2
Line Count
14
Source Line
202
Source File
Bio/NeuralNetwork/Gene/Signature.py

        min_count = min(sequence_sigs.values( )) 
        max_count = max(sequence_sigs.values( )) 

        # as long as we have some signatures present, normalize them
        # otherwise we'll just return 0 for everything 
        if max_count>0:  
            for sig in sequence_sigs.keys( ):
                                            
                sequence_sigs[sig] = (float(sequence_sigs[sig]-min_count)/float(max_count)) 


        # return the relative signature info in the specified order
            
        sig_amounts = [ ] 
        for sig in self._signatures: 
             sig_amounts.append(sequence_sigs[sig]) 


Clone AbstractionParameter Count: 4Parameter Bindings

min_count = min( [[#variable1742f0e0]].values( )) 
max_count = max( [[#variable1742f0e0]].values( )) 
# as long as we have some motifs present, normalize them
# as long as we have some signatures present, normalize them
# otherwise we'll just return 0 for everything 
if max_count>0:
  for [[#variable2e7b5040]]in [[#variable1742f0e0]].keys( ):
  
     [[#variable1742f0e0]][ [[#variable2e7b5040]]] = (float( [[#variable1742f0e0]][ [[#variable2e7b5040]]]-min_count)/float(max_count)) 
    # return the relative motif counts in the specified order
    # return the relative signature info in the specified order
  
 [[#variable1928d800]]= [ ] 
for [[#variable2e7b5040]]in self. [[#variable2e7b5fa0]]:
   [[#variable1928d800]].append( [[#variable1742f0e0]][ [[#variable2e7b5040]]]) 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1742f0e0]]
seq_motifs 
12[[#1742f0e0]]
sequence_sigs 
21[[#2e7b5040]]
motif 
22[[#2e7b5040]]
sig 
31[[#1928d800]]
motif_amounts 
32[[#1928d800]]
sig_amounts 
41[[#2e7b5fa0]]
_motifs 
42[[#2e7b5fa0]]
_signatures