Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 4 | 2 | 0.973 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 140 | Bio/SeqUtils/lcc.py |
2 | 5 | 146 | Bio/SeqUtils/lcc.py |
3 | 5 | 151 | Bio/SeqUtils/lcc.py |
4 | 5 | 156 | Bio/SeqUtils/lcc.py |
| ||||
if "A" not in seq: term_a = 0 # Check to avoid calculating the log of 0. else: term_a = ((upper.count("A"))/float(wsize))*((math.log((upper.count("A"))/float(wsize)))/l2) |
| ||||
if "C" not in seq: term_c = 0 else: term_c = ((upper.count("C"))/float(wsize))*((math.log((upper.count("C"))/float(wsize)))/l2) |
| ||||
if "T" not in seq: term_t = 0 else: term_t = ((upper.count("T"))/float(wsize))*((math.log((upper.count("T"))/float(wsize)))/l2) |
| ||||
if "G" not in seq: term_g = 0 else: term_g = ((upper.count("G"))/float(wsize))*((math.log((upper.count("G"))/float(wsize)))/l2) |
| |||
if [[#variable19aec380]]not in seq: [[#variable19aec320]]= 0 # Check to avoid calculating the log of 0. else: [[#variable19aec320]]= ((upper.count( [[#variable19aec380]]))/float(wsize))*((math.log((upper.count( [[#variable19aec380]]))/float(wsize)))/l2) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#19aec380]] | "G" |
1 | 2 | [[#19aec380]] | "T" |
1 | 3 | [[#19aec380]] | "C" |
1 | 4 | [[#19aec380]] | "A" |
2 | 1 | [[#19aec320]] | term_g |
2 | 2 | [[#19aec320]] | term_t |
2 | 3 | [[#19aec320]] | term_c |
2 | 4 | [[#19aec320]] | term_a |