def build_yhrd_link(r, panel, ban=["DYS385"]):
    L = []
    for marker in panel:
        z = r.get(marker, "--")
        if marker in ban:
            z = "--"
        L.append(z)
    print " ".join(str(x) for x in L)
dataset/ETHPy150Open tanghaibao/jcvi/variation/str.py/build_yhrd_link/original