def get_no_seq(FASTA_file):
    """Get number of sequences in a FASTA file from number of '>'.

    """
    seq = 0
    with open(FASTA_file, 'r') as f:
        for line in f.readlines():
            if '>' in line:
                seq += 1
    return seq