def _get_pathway_id(pathway_info_url):
    """Split the pathway info url and returns the id.

    :param pathway_info_url: first word from gmt file
    :rtype: str
    :return: pathway id
    """
    return pathway_info_url.replace('http://www.wikipathways.org/instance/', ''
        )
