import csv


def read_residues(path):
    """
    Reads residue file.
    """
    with open(path) as file:
        residue_reader = csv.reader(file, delimiter=",")
        residues = next(residue_reader)
    residues = list(map(int, residues))
    return residues