streamlined coding of BED proximity and bigwig analyses