daler/pybedtools

module 'pybedtools' has no attribute 'featurefuncs'

quantumdot opened this issue · 1 comments

I installed pybedtools version 0.8.2 from bioconda, following the directions:

conda install --channel conda-forge --channel bioconda pybedtools

Conda list shows the following package as installed:

pybedtools                0.8.2            py38h69e0bdc_1    bioconda

But, attempting to use pybedtools.featurefuncs.* results in an AttributeError:

AttributeError: module 'pybedtools' has no attribute 'featurefuncs'

Please advise how to correct the problem. Thanks!

daler commented

Hi - you can use

from pybedtools import featurefuncs

and then use featurefuncs.* from there.