Open billytcl opened 6 months ago
Hello @billytcl,
Making the output of pileup
directly consumable by dmr
is already on the roadmap actually.
You can compress the bedMethyl output on the fly:
# passing `-` as the output string will make the output go to stdout
$ modkit pileup $in_bam - | bgzip -c > $out_bedmethyl_gz
I appreciate that keeping all these programs around in all your environments might get annoying (and you still have to run tabix
).
The main reason for dragging on and not having a 1-2 step solution is that I'm not sure if I'll stick with bgzip/tabix or go to some other format like bigBed.
For the dmr pipeline, it requires having to bgzip/tabix a pileup bed file. Is there a way to have modkit to automatically generate this as an option in the "pileup" command? Eg. --bgzip as an option in the pileup command?