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

Unclear modkit pileup --region #386

Open
Ge0rges opened this issue Feb 25, 2025 · 2 comments
Open

Unclear modkit pileup --region #386

Ge0rges opened this issue Feb 25, 2025 · 2 comments
Labels
question Looking for clarification on inputs and/or outputs

Comments

@Ge0rges
Copy link

Ge0rges commented Feb 25, 2025

Hi Art,

To pileup many different contigs I thought of doing modkit pileup --region contig_1,contig_2 since the documentation says Commas are allowed. But that seems to not be correct? I get Error! missing contig.

I can bypass this with the --include-bed option but was wondering. Thanks!

@ArtRand
Copy link
Contributor

ArtRand commented Feb 25, 2025

Hello @Ge0rges,

You can only do one region at a time with --region, I should revise the help string to say "Commas are allowed in the genome coordinates" e.g. "chr20:62,141,748-62,145,077". I found this to be convenient when copy-pasting from IGV, maybe just me though. Some other programs don't seem to let you do this. If you want to use multiple regions, you need to use --include-bed. Maybe I'll add a --regions option.

@ArtRand ArtRand added the question Looking for clarification on inputs and/or outputs label Feb 25, 2025
@Ge0rges
Copy link
Author

Ge0rges commented Feb 25, 2025

Thanks, that's reasonable. I just used --include-bed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Looking for clarification on inputs and/or outputs
Projects
None yet
Development

No branches or pull requests

2 participants