Currently the bedtools_bamtobed module includes bedtools_sort, which consumes a lot of memory. Considering removing the sort step and implementing with the basic linux sortBedtools recommends sort -k 1,1 -k2,2n a.bed
Currently the bed_sort step after bedtools_bamtobed run sort -k4, so these need to be combined, before filtering.
Description of the bug
Currently the
bedtools_bamtobed
module includesbedtools_sort
, which consumes a lot of memory. Considering removing thesort
step and implementing with the basic linuxsort
Bedtools recommendssort -k 1,1 -k2,2n a.bed
Currently thebed_sort
step afterbedtools_bamtobed
runsort -k4
, so these need to be combined, before filtering.