def pseudoify(self):
assert self.is_toplevel<EOL>assert self.is_multi<EOL>assert len(self.multi_rep.siblings) > <NUM_LIT:0><EOL>rep = self.multi_rep<EOL>start = min([s.start for s in rep.siblings + [rep]])<EOL>end = max([s.end for s in rep.siblings + [rep]])<EOL>parent = Feature(None)<EOL>parent._pseudo = True<EOL>parent._seqid = self._seqid<EOL>parent.set_coord(start, end)<EOL>parent._strand = self._strand<EOL>for sibling in rep.siblings + [rep]:<EOL><INDENT>parent.add_child(sibling, rangecheck=True)<EOL><DEDENT>parent.children = sorted(parent.children)<EOL>rep.siblings = sorted(rep.siblings)<EOL>return parent<EOL>
Derive a pseudo-feature parent from the given multi-feature.

The provided multi-feature does not need to be the representative. The
newly created pseudo-feature has the same seqid as the provided multi-
feature, and spans its entire range. Otherwise, the pseudo-feature is
empty. It is used only for convenience in sorting.