@staticmethod
def _filter_remove_same_results(results):
    """Removes alignments that aligned to themselves.

        :param results:
        :type results:
        :return:
        :rtype:
        """
    new_results = []
    for r in results:
        query = r['query']
        subj = r['subject']
        k1 = query['origin_key']
        k2 = subj['origin_key']
        qends = query['start'], query['end']
        sends = subj['start'], subj['end']
        if k1 == k2 and qends == sends:
            continue
        else:
            new_results.append(r)
    return new_results
