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

bigtools bedgraphtobigwig -- add option to skip invalid chromosomes #56

Open
nleroy917 opened this issue Oct 29, 2024 · 6 comments
Open

Comments

@nleroy917
Copy link

wigToBigWig has an option -clip to simply issue a warning instead of crashing when a chromosome not represented in chrom.sizes file is found in the .wig file:

-clip - If set just issue warning messages rather than dying if wig
                  file contains items off end of chromosome or chromosomes
                  that are not in the chrom.sizes file.

Is it possible to have similar functionality in bedgraphtobigwig? I would imagine a similar flag like --clip

@jackh726
Copy link
Owner

Seems simple enough :) I'll add this over the weekend.

@nleroy917
Copy link
Author

Thanks a lot! I’d love to take a crack at it, since I’m currently learning Rust.. hadn't gotten a chance to dive too deeply, though.

@jackh726
Copy link
Owner

Please feel free :) Very happy to answer questions or guide you if you need!

@jackh726
Copy link
Owner

jackh726 commented Nov 3, 2024

@nleroy917 are you still interested in this?

@nleroy917
Copy link
Author

Yes! Sorry I wasnt able to get to it this weekend, but this week I should! Unless you are in a hurry to close the issue which is understandable!

@jackh726
Copy link
Owner

jackh726 commented Nov 3, 2024

No, you are more than welcome to it :) no rush from me

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