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

Blank BED files throw an error #88

Open
jsilter opened this issue Oct 3, 2013 · 1 comment
Open

Blank BED files throw an error #88

jsilter opened this issue Oct 3, 2013 · 1 comment

Comments

@jsilter
Copy link
Contributor

jsilter commented Oct 3, 2013

bedtools apparently throws an error when trying to read empty files, and treats them as though they cannot be opened. When I try to intersect 2 blank files, this is the result:

Error: The requested bed file (blank.bed) could not be opened. Exiting!

I think it would be better to treat the file as containing no features. This has come up in IGV integration, where sometimes one of the temporary files being operated on is blank. The correct result would vary depending on the command so it's much harder to fix on the IGV end.

@arq5x
Copy link
Owner

arq5x commented Oct 7, 2013

Thanks Jacob,

I will look into this asap.

Aaron

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