def parseacclist(infile):
    """
    parses the user specified accession list file
    parameters
    ----------
    infile
        the name of the accession list input file
    returns
    ----------
    acclist = a list containing each accession number from file
    """
    acclist = []
    try:
        with open(infile, "r") as f:
            for line in f:
                line = line.strip()
                acclist.append(line)
    except(FileNotFoundError):
        # raise error
        print(f"file: {infile} not found!")
    return(acclist)