Translated length of this feature.

        Undefined for non-mRNA features.

def cdslen(self):
        """
        Translated length of this feature.

        Undefined for non-mRNA features.
        """
        if self.type != 'mRNA':
            return None

        return sum([len(c) for c in self.children if c.type == 'CDS'])