def make_link_key(line: str, delimiter="\t") -> str:
    """
    Make a formatted string containing both contigs that make up a link.
    """
    attrs = line.strip().split(delimiter)
    attrs = sorted(attrs)
    contig_str = attrs[0] + "$" + attrs[1]
    return contig_str