def bed(args):
    p = OptionParser(bed.__doc__)
    p.set_outfile()

    opts, args = p.parse_args(args)

    if len(args) != 1:
        sys.exit(not p.print_help())

    pslfile, = args
    fw = must_open(opts.outfile, "w")

    psl = Psl(pslfile)
    for p in psl:
        print >> fw, p.bed12line
Set the GRE key used for the GreTap device. This needs to be set
dataset/ETHPy150Open tanghaibao/jcvi/formats/psl.py/bed--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/netns/vnet.py/GreTapBridge.setkey