def parse_psipred_file(psipred_output):
    """
    This function parses the psipred output file and returns the
    secondary structure predicted.
    """
    opened_file = open(psipred_output).readlines() 
    seq = ""
    for line in opened_file:
        line = line.strip().split(" ")
        seq += line[2]
    
    return seq