def seqParser(seqLoc):
    """
    Takes a FASTA formatted list of sequences and returns a properly formatted nested list
    :param seqLoc: fasta formatted file
    :return: nested list in the form [[name, seq],...]
    """
    f=open(seqLoc,'r')
    RNAseqs = f.readlines()
    f.close()
    RNAseqlist = []
    for i in range(0, len(RNAseqs)):
        if RNAseqs[i][0] == ">":
            RNAseqlist.append([RNAseqs[i].rstrip()[1:],RNAseqs[i+1].rstrip()])
    return RNAseqlist