def compare_ref(targetbam, donorbam):
    for ref in targetbam.references:
        if ref not in donorbam.references or donorbam.gettid(ref) != targetbam.gettid(ref):
            sys.stderr.write("contig mismatch: %s\n" % ref)
            return False
    return True
Initialize a new ``Forwarder`` that will pass unimplemented calls
dataset/ETHPy150Open adamewing/bamsurgeon/bamsurgeon/replacereads.py/compare_ref--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/grizzled/grizzled/proxy.py/Forwarder.__init__