CloneSet91


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7530.954compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
172120
Bio/Restriction/Restriction.py
272128
Bio/Restriction/Restriction.py
372137
Bio/Restriction/Restriction.py
472146
Bio/Restriction/Restriction.py
572154
Bio/Restriction/Restriction.py
Clone Instance
1
Line Count
7
Source Line
2120
Source File
Bio/Restriction/Restriction.py

    def blunt(self,dct = None):  
        """A.blunt([dct]) -> dict.
        
        Only the enzymes which have a 3'overhang restriction site.""" 
        if not dct: 
            dct = self.mapping 
        return dict([(k,v) for k,v in dct.iteritems( ) if k.is_blunt( )]) 


Clone Instance
2
Line Count
7
Source Line
2128
Source File
Bio/Restriction/Restriction.py

    def overhang5(self,dct = None): 
         """A.overhang5([dct]) -> dict.
        
        Only the enzymes which have a 5' overhang restriction site.""" 
         if not dct: 
             dct = self.mapping 
         return dict([(k,v) for k,v in dct.iteritems( ) if k.is_5overhang( )]) 


Clone Instance
3
Line Count
7
Source Line
2137
Source File
Bio/Restriction/Restriction.py

    def overhang3(self,dct = None): 
         """A.Overhang3([dct]) -> dict.
        
        Only the enzymes which have a 3'overhang restriction site.""" 
         if not dct: 
             dct = self.mapping 
         return dict([(k,v) for k,v in dct.iteritems( ) if k.is_3overhang( )]) 


Clone Instance
4
Line Count
7
Source Line
2146
Source File
Bio/Restriction/Restriction.py

    def defined(self,dct = None): 
         """A.defined([dct]) -> dict.
        
        Only the enzymes that have a defined restriction site in Rebase.""" 
         if not dct: 
             dct = self.mapping 
         return dict([(k,v) for k,v in dct.iteritems( ) if k.is_defined( )]) 


Clone Instance
5
Line Count
7
Source Line
2154
Source File
Bio/Restriction/Restriction.py

    def with_sites(self,dct = None): 
         """A.with_sites([dct]) -> dict.
        
        Enzymes which have at least one site in the sequence.""" 
         if not dct: 
             dct = self.mapping 
         return dict([(k,v) for k,v in dct.iteritems( ) if v]) 


Clone AbstractionParameter Count: 3Parameter Bindings

def [[#variable60a7c760]](self,dct = None):
   [[#variable60a7c500]]
  if not dct:
  
    dct = self.mapping 
  return dict([(k,v) for k,v in dct.iteritems( ) if [[#variable60a7c560]]]) 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#60a7c760]]
with_sites 
12[[#60a7c760]]
defined 
13[[#60a7c760]]
overhang3 
14[[#60a7c760]]
overhang5 
15[[#60a7c760]]
blunt 
21[[#60a7c500]]
"""A.with_sites([dct]) -> dict.
        
        Enzymes which have at least one site in the sequence.""" 
22[[#60a7c500]]
"""A.defined([dct]) -> dict.
        
        Only the enzymes that have a defined restriction site in Rebase.""" 
23[[#60a7c500]]
"""A.Overhang3([dct]) -> dict.
        
        Only the enzymes which have a 3'overhang restriction site.""" 
24[[#60a7c500]]
"""A.overhang5([dct]) -> dict.
        
        Only the enzymes which have a 5' overhang restriction site.""" 
25[[#60a7c500]]
"""A.blunt([dct]) -> dict.
        
        Only the enzymes which have a 3'overhang restriction site.""" 
31[[#60a7c560]]
v 
32[[#60a7c560]]
k.is_defined( ) 
33[[#60a7c560]]
k.is_3overhang( ) 
34[[#60a7c560]]
k.is_5overhang( ) 
35[[#60a7c560]]
k.is_blunt( )