Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
67 | 2 | 5 | 0.992 | stmt_list[13] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 64 | 1089 | Bio/Restriction/Restriction.py |
2 | 67 | 1208 | Bio/Restriction/Restriction.py |
| ||||
catalyze = catalyse = classmethod(catalyse) def is_blunt(self): """RE.is_blunt() -> bool. True if the enzyme produces blunt end. see also : RE.is_3overhang() RE.is_5overhang() RE.is_unknown()""" return False is_blunt = classmethod(is_blunt) def is_5overhang(self): """RE.is_5overhang() -> bool. True if the enzyme produces 5' overhang sticky end. see also : RE.is_3overhang() RE.is_blunt() RE.is_unknown()""" return True is_5overhang = classmethod(is_5overhang) def is_3overhang(self): """RE.is_3overhang() -> bool. True if the enzyme produces 3' overhang sticky end. see also : RE.is_5overhang() RE.is_blunt() RE.is_unknown()""" return False is_3overhang = classmethod(is_3overhang) def overhang(self): """RE.overhang() -> str. type of overhang of the enzyme., can be "3' overhang", "5' overhang", "blunt", "unknown" """ return "5' overhang" overhang = classmethod(overhang) def compatible_end(self,batch = None): """RE.compatible_end() -> list. list of all the enzymes that share compatible end with RE.""" if not batch:batch = AllEnzymes r = [x for x in iter(AllEnzymes) if x.is_5overhang( ) and x%self] r.sort( ) return r compatible_end = classmethod(compatible_end) def _mod1(self,other): """RE._mod1(other) -> bool. for internal use only test for the compatibility of restriction ending of RE and other.""" if issubclass(other,Ov5): return self._mod2(other) else: return False _mod1 = classmethod(_mod1) |
| ||||
catalyze = catalyse = classmethod(catalyse) def is_blunt(self): """RE.is_blunt() -> bool. True if the enzyme produces blunt end. see also : RE.is_3overhang() RE.is_5overhang() RE.is_unknown()""" return False is_blunt = classmethod(is_blunt) def is_5overhang(self): """RE.is_5overhang() -> bool. True if the enzyme produces 5' overhang sticky end. see also : RE.is_3overhang() RE.is_blunt() RE.is_unknown()""" return False is_5overhang = classmethod(is_5overhang) def is_3overhang(self): """RE.is_3overhang() -> bool. True if the enzyme produces 3' overhang sticky end. see also : RE.is_5overhang() RE.is_blunt() RE.is_unknown()""" return True is_3overhang = classmethod(is_3overhang) def overhang(self): """RE.overhang() -> str. type of overhang of the enzyme., can be "3' overhang", "5' overhang", "blunt", "unknown" """ return "3' overhang" overhang = classmethod(overhang) def compatible_end(self,batch = None): """RE.compatible_end() -> list. list of all the enzymes that share compatible end with RE.""" if not batch:batch = AllEnzymes r = [x for x in iter(AllEnzymes) if x.is_3overhang( ) and x%self] r.sort( ) return r compatible_end = classmethod(compatible_end) def _mod1(self,other): """RE._mod1(other) -> bool. for internal use only test for the compatibility of restriction ending of RE and other.""" # # called by RE._mod1(other) when the one of the enzyme is ambiguous # if issubclass(other,Ov3): return self._mod2(other) else: return False _mod1 = classmethod(_mod1) |
| |||
catalyze = catalyse = classmethod(catalyse) def is_blunt(self): """RE.is_blunt() -> bool. True if the enzyme produces blunt end. see also : RE.is_3overhang() RE.is_5overhang() RE.is_unknown()""" return False is_blunt = classmethod(is_blunt) def is_5overhang(self): """RE.is_5overhang() -> bool. True if the enzyme produces 5' overhang sticky end. see also : RE.is_3overhang() RE.is_blunt() RE.is_unknown()""" return [[#variable4f96dc80]] is_5overhang = classmethod(is_5overhang) def is_3overhang(self): """RE.is_3overhang() -> bool. True if the enzyme produces 3' overhang sticky end. see also : RE.is_5overhang() RE.is_blunt() RE.is_unknown()""" return [[#variable4f96dc00]] is_3overhang = classmethod(is_3overhang) def overhang(self): """RE.overhang() -> str. type of overhang of the enzyme., can be "3' overhang", "5' overhang", "blunt", "unknown" """ return [[#variable4f96da40]] overhang = classmethod(overhang) def compatible_end(self,batch = None): """RE.compatible_end() -> list. list of all the enzymes that share compatible end with RE.""" if not batch:batch = AllEnzymes r = [x for x in iter(AllEnzymes) if x. [[#variable4f96d7a0]]( ) and x%self] r.sort( ) return r compatible_end = classmethod(compatible_end) def _mod1(self,other): """RE._mod1(other) -> bool. for internal use only test for the compatibility of restriction ending of RE and other.""" # # called by RE._mod1(other) when the one of the enzyme is ambiguous # if issubclass(other, [[#variable2dc29e00]]): return self._mod2(other) else: return False _mod1 = classmethod(_mod1) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4f96dc80]] | False |
1 | 2 | [[#4f96dc80]] | True |
2 | 1 | [[#4f96dc00]] | True |
2 | 2 | [[#4f96dc00]] | False |
3 | 1 | [[#4f96da40]] | "3' overhang" |
3 | 2 | [[#4f96da40]] | "5' overhang" |
4 | 1 | [[#4f96d7a0]] | is_3overhang |
4 | 2 | [[#4f96d7a0]] | is_5overhang |
5 | 1 | [[#2dc29e00]] | Ov3 |
5 | 2 | [[#2dc29e00]] | Ov5 |