I am trying to find overlap between multiple bed files using pybedtools with multi_intersect method. However, this approach doesn't report the number of base pairs that overlap between the features of the bed files, is there away to somehow find that piece of information?
x = pybedtools.BedTool() a = pybedtools.example_bedtool('data_bed1.bed') b = pybedtools.example_bedtool('data_bed2.bed') c = pybedtools.example_bedtool('data_bed2.bed') result = x.multi_intersect(i=[a.fn, b.fn, c.fn])
Any suggestions or advice would be highly appreciated,
Many thanks in advance