

def bed(args):
    '\n    %prog bed del.txt\n\n    Convert `del.txt` to BED format. DELLY manual here:\n    <http://www.embl.de/~rausch/delly.html>\n\n    Deletion:\n    chr, start, end, size, #supporting_pairs, avg._mapping_quality, deletion_id\n    chr1, 10180, 10509, 329, 75, 15.8667, Deletion_Sample_00000000\n    '
    p = OptionParser(bed.__doc__)
    (opts, args) = p.parse_args(args)
    if (len(args) != 1):
        sys.exit((not p.print_help()))
    (delt,) = args
    dt = Delly(delt)
    dt.write_bed('del.bed')

dataset/ETHPy150Open tanghaibao/jcvi/variation/delly.py bed/original