def transform(self, offset, newseqid=None):
for feature in self:<EOL><INDENT>feature._range.transform(offset)<EOL>if newseqid is not None:<EOL><INDENT>feature.seqid = newseqid<EOL><DEDENT><DEDENT>
Transform the feature's coordinates by the given offset.