import re


def assembly_contig_name(line):
    """Parses Mgnify (ENA) assembly contigs names and returns the contig name with no metadata.
    Example:
        ENA-OKXA01000001-OKXA01000001.1-human-gut-metagenome-strain-
        SKBSTL060-genome-assembly--contig:-NODE-1-length-34650-cov-6.786732
    will return the contig name: NODE-1-length-34650-cov-6.786732
    """
    return re.sub(r'[^\t=]*\-\-contig\:\-', '', line)