# Compare$ bedtools intersect -a f1.bed -b f2.bed -wa -wb | bedtools groupby -i - -g 1-3 -c 7 -o collapse > final.bed bedtools