Is there a process so that those pairs (lines) that intersect for both regions
($1_1 = $1_2, $2_1 - $3_1 intersect with $2_2 - $3_2, $4_1 = $4_2, $5_1 - $6_1 intersect with $5_2 - $6_2)
are merged with a count and id names.
Those that are unique are also provided in the same format.
Hi there,
I am wanting to find intersecting paired regions from a number of BEDPE files, like for BED files using multiinter.
Say we have three bedpe files:
Is there a process so that those pairs (lines) that intersect for both regions ($1_1 = $1_2, $2_1 - $3_1 intersect with $2_2 - $3_2, $4_1 = $4_2, $5_1 - $6_1 intersect with $5_2 - $6_2) are merged with a count and id names. Those that are unique are also provided in the same format.
I want the final file to look like:
I have scoured the web trying to find a solution and unfortunately I am not so well-versed to create something myself.
Cheers!