def readtxt(filepathname):
    """Skips a line that starts with “>” and then reads in the rest of the file while removing any new lines (“\n”)"""

    sequence = ""
    for line in open(filepathname, 'r'):
        if line[0] != ">":
            sequence += line.replace("\n","")

    return sequence