arq5x / bedtools

A powerful toolset for genome arithmetic.
http://code.google.com/p/bedtools/
GNU General Public License v2.0
139 stars 86 forks source link

NotImplementedError: "intersectBed" does not appear to be installed or on the path, so this method is disabled. Please install a more recent version of BEDTools and re-import to use this method. #152

Open burcakotlu opened 5 years ago

burcakotlu commented 5 years ago

I installed pybedtools 0.8.0

################################ import pybedtools

a = pybedtools.example_bedtool('a.bed') b = pybedtools.example_bedtool('b.bed') a_and_b = a.intersect(b) ################################

################################ It gives the response below: Traceback (most recent call last): File "", line 1, in File "/home/burcak/anaconda3/lib/python3.7/site-packages/pybedtools/bedtool.py", line 840, in decorated result = method(self, *args, **kwargs) File "/home/burcak/anaconda3/lib/python3.7/site-packages/pybedtools/bedtool.py", line 212, in not_implemented_func raise NotImplementedError(help_str) NotImplementedError: "intersectBed" does not appear to be installed or on the path, so this method is disabled. Please install a more recent version of BEDTools and re-import to use this method. ################################

ZHIDIHUAYUAN commented 3 years ago

I encountered the same problem. Did you solve it?