<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getFeature(self, compoundId):
 """ find a feature and return ga4gh representation, use compoundId as featureId """

        feature = self._getFeatureById(compoundId.featureId)
        feature.id = str(compoundId)
        return feature