def _get_general_coverage(data, itype):
    """Retrieve coverage information from new shared SV bins.
    """
    work_bam = dd.get_align_bam(data) or dd.get_work_bam(data)
    return [{"bam": work_bam, "file": tz.get_in(["depth", "bins", "target"], data),
             "cnntype": "target", "itype": itype, "sample": dd.get_sample_name(data)},
            {"bam": work_bam, "file": tz.get_in(["depth", "bins", "antitarget"], data),
             "cnntype": "antitarget", "itype": itype, "sample": dd.get_sample_name(data)}]
def _get_general_coverage ( data , itype ) : work_bam = dd . get_align_bam ( data ) or dd . get_work_bam ( data ) return [ { "bam" : work_bam , "file" : tz . get_in ( [ "depth" , "bins" , "target" ] , data ) , "cnntype" : "target" , "itype" : itype , "sample" : dd . get_sample_name ( data ) } , { "bam" : work_bam , "file" : tz . get_in ( [ "depth" , "bins" , "antitarget" ] , data ) , "cnntype" : "antitarget" , "itype" : itype , "sample" : dd . get_sample_name ( data ) } ]
Retrieve coverage information from new shared SV bins.