Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Auto bgzip/tabix a pileup #144

Open
billytcl opened this issue Mar 7, 2024 · 1 comment
Open

Feature request: Auto bgzip/tabix a pileup #144

billytcl opened this issue Mar 7, 2024 · 1 comment

Comments

@billytcl
Copy link

billytcl commented Mar 7, 2024

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?

@ArtRand
Copy link
Contributor

ArtRand commented Mar 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants