def get_accuracy(query, gff_file, evidences_bed, sizesfile, type, key):
    from jcvi.formats.bed import evaluate

    bed_file = get_bed_file(gff_file, type, key)
    b = evaluate([bed_file, evidences_bed, sizesfile, "--query={0}".format(query)])

    return b
Get sensitivity, specificity and accuracy given gff_file, and a query range
dataset/ETHPy150Open tanghaibao/jcvi/annotation/maker.py/get_accuracy