

def prune_self_mappings(src_prefix, dest_prefix, is_bidirectional):
    'return is_bidirectional flag according to whether source and\n    target are the same genome.  This handles axtNet reading, in which\n    mappings between genomes are given in only one direction, whereas\n    mappings between the same genome are given in both directions.'
    if (src_prefix == src_prefix):
        return 0
    else:
        return 1

dataset/ETHPy150Open cjlee112/pygr/pygr/nlmsa_utils.py prune_self_mappings/VarMisuse@20/131 `dest_prefix`->`src_prefix`