@staticmethod
def interleaveblastresults(query, subject):
    """
        Creates an interleaved string that resembles BLAST sequence comparisons
        :param query: Query sequence
        :param subject: Subject sequence
        :return: Properly formatted BLAST-like sequence comparison
        """
    matchstring = ''
    blaststring = ''
    for i, bp in enumerate(query):
        if bp == subject[i]:
            matchstring += '|'
        else:
            matchstring += ' '
    prev = 0
    for j in range(0, len(query), 60):
        """
            0000 OLC ATGAAGAAGATATTTGTAGCGGCTTTATTTGCTTTTGTTTCTGTTAATGCAATGGCAGCT
                     ||||||||||| ||| | |||| ||||||||| || ||||||||||||||||||||||||
                 ref ATGAAGAAGATGTTTATGGCGGTTTTATTTGCATTAGTTTCTGTTAATGCAATGGCAGCT
            0060 OLC GATTGTGCAAAAGGTAAAATTGAGTTCTCTAAGTATAATGAGAATGATACATTCACAGTA
                     ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                 ref GATTGTGCAAAAGGTAAAATTGAGTTCTCTAAGTATAATGAGAATGATACATTCACAGTA
            """
        blaststring += '{} OLC {}\n         {}\n     ref {}\n'.format('{:04d}'
            .format(j), query[prev:j + 60], matchstring[prev:j + 60],
            subject[prev:j + 60])
        prev = j + 60
    return blaststring
