def write_sequences_to_xlsx(path, seqs):
    """
    Create a XLSX file listing the given sequences.

    Arguments
    =========
    path: str or pathlib.Path
        The name of the file to create.

    seqs: dict
        A mapping of names to sequences, which can be either protein or DNA.
    """
    from openpyxl import Workbook

    wb = Workbook()
    ws = wb.active

    for row, id in enumerate(seqs, 1):
        ws.cell(row, 1).value = id
        ws.cell(row, 2).value = seqs[id]

    wb.save(path)