Edited bam_vs_bed.py so that when it calls intersectBed, it sorts the input bed and then uses the efficient -sorted algorithm. This reduces memory usage from 45GB -> 200MB in one case
Merge branch 'master' of ssh://github.com/CGATOxford/cgat