import re


def get_stopm(s):
    """Return nonsense mutations from a list of amino acid changes."""
    stopms = [ i for i in s if bool(re.search('_[A-Z]\d+\*',i))]
    out = ','.join(stopms)
    return out