Back to index
A differential cutsite is a location in an alignment where an enzyme cuts at least one sequence and also cannot cut at least one other sequence. Members: start Where it lives in the alignment. enzyme The enzyme that causes this. cuts_in A list of sequences (as indexes into the alignment) the enzyme cuts in. blocked_in A list of sequences (as indexes into the alignment) the enzyme is blocked in.
Initialize a DifferentialCutsite. Each member (as listed in the class description) should be included as a keyword.
00031 00032 def __init__(self, **kwds): 00033 """Initialize a DifferentialCutsite. 00034 00035 Each member (as listed in the class description) should be included as a 00036 keyword. 00037 """ 00038 00039 self.start = int(kwds["start"]) 00040 self.enzyme = kwds["enzyme"] 00041 self.cuts_in = kwds["cuts_in"] 00042 self.blocked_in = kwds["blocked_in"]