-
Notifications
You must be signed in to change notification settings - Fork 102
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
Example failed #74
Comments
Hmm. Are you able to run other tools, or is this specific to
|
Same for
|
Ah, it looks like the bedtools package you get through apt-get is an old version (2.14.3-1). Not sure who is maintaining that package, but there have been a lot of improvements and bug fixes since then. The calling syntax for BEDTools programs changed in 2.15, and pybedtools only supports the new version in part to prevent users from using out-of-date versions of BEDTools . . . I would strongly suggest installing the latest version (see http://bedtools.readthedocs.org/en/latest/content/installation.html). After installing the latest (currently 2.17.0), do you still get this problem? |
So it was indeed the version that was too old. However the error message did not suggest this at all. I would advise that if your library doesn't work with the current ubuntu distribution; you should check for it and instruct the user. However, the example still doesn't work:
If you use a BED file you need to specify a genome, but this is not the case for a BAM file. See http://bedtools.readthedocs.org/en/latest/content/tools/genomecov.html |
Thanks for pointing this out. As of 79dd4dc, I re-added support for older versions, including the 2.14.3 from Ubuntu repository. After thinking about this, I decided it's not nice for pybedtools to force a user into any particular BEDTools version, and I'm sure you're not the only one using the outdated Ubuntu package. I also fixed Can you confirm that this works? |
Nice, it works like a charm now. There I was with my snarky comments about how your library didn't work on my first try and you fixed it in a day. Props to you ! |
I ran these commands successfully in my Ubuntu shell:
And then these commands in ipython:
The program is in my
$PATH
:The text was updated successfully, but these errors were encountered: