only count exons in the same gene!
dREg hit within binsize either way..
tidied
takes stdin
simplified
updated to reflect simplified gene_focused.sh
moved to this folder
includes comparison with previous results
new type of QC - at least 2 appearances is sufficient
only plot the distance to GS for new hits
does what it says on the tin
include a filler column to make downstream scripts continue to work
density 1 must be < 0.5 density 2
checks if the scores already exist...
takes from stdin now
post_bedtools_join_closest takes stdin
if a dREG hit is close to genes on opposite strands, we'll take note of this ... note, this is going to produce a lot of '-;+' in the master file, whcih will almost certainly cause problems downstream ;_;
no newlines
for the purpose of metaplot, let's delete multiply-assigned genes...
density1 > 0.5 density2 violation is correctly reported