@staticmethod
def _gc_prop(s, length):
    """Get proportion of GC from a string

        Parameters
        ----------
        s : str
            Arbitrary string

        Returns
        -------
        x : float
            GC proportion.
        """
    gc = sum(map(s.count, ['c', 'g']))
    return gc / length
