1
2
4
5 - def __init__(self, representant = None, matches = None):
6
7 self.representant = representant
8
9 if matches is None:
10 self.matches = []
11 else:
12 self.matches = matches
13
15 self.representant = representant
16
18 return self.representant
19
21 self.matches.append(match)
22
25
26
28
29 - def __init__(self, sequenceID, start_pos, end_pos, repr_start_pos, repr_end_pos, identity):
30
31 self.sequenceID = sequenceID
32 self.start_pos = start_pos
33 self.end_pos = end_pos
34 self.repr_start_pos = repr_start_pos
35 self.repr_end_pos = repr_end_pos
36 self.identity = identity
37