def readText(inputfile):
    """Reads a sequence file in text format and returns the file with special character removed."""
    with open(inputfile, "r") as seqfile:
        # read data
        seq = seqfile.read()
        # remove special characters \n and \t
        seq = seq.replace("\n", "")
        seq = seq.replace("\t", "")
    return seq