Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.964 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 812 | Bio/SCOP/__init__.py |
2 | 7 | 820 | Bio/SCOP/__init__.py |
| ||||
def hashedDomainsById(self,id): "Get domains clustered by sequence identity in a dict" if id not in self.IdDatahash: self.IdDatahash[id] = { } for d in self.domainsClusteredById(id): self.IdDatahash[id][d] = 1 return self.IdDatahash[id] |
| ||||
def hashedDomainsByEv(self,id): "Get domains clustered by evalue in a dict" if id not in self.EvDatahash: self.EvDatahash[id] = { } for d in self.domainsClusteredByEv(id): self.EvDatahash[id][d] = 1 return self.EvDatahash[id] |
| |||
def [[#variable6afa7f00]](self,id): [[#variable6afa79c0]] if id not in self. [[#variable1740a560]]: self. [[#variable1740a560]][id] = { } for d in self. [[#variable1740aee0]](id): self. [[#variable1740a560]][id][d] = 1 return self. [[#variable1740a560]][id] |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6afa7f00]] | hashedDomainsByEv |
1 | 2 | [[#6afa7f00]] | hashedDomainsById |
2 | 1 | [[#6afa79c0]] | "Get domains clustered by evalue in a dict" |
2 | 2 | [[#6afa79c0]] | "Get domains clustered by sequence identity in a dict" |
3 | 1 | [[#1740a560]] | EvDatahash |
3 | 2 | [[#1740a560]] | IdDatahash |
4 | 1 | [[#1740aee0]] | domainsClusteredByEv |
4 | 2 | [[#1740aee0]] | domainsClusteredById |