metaseq icon indicating copy to clipboard operation
metaseq copied to clipboard

Example1 problem#3 can't find metaseq

Open rmontagn opened this issue 5 years ago • 0 comments

Hello,

I have installed metaseq with conda (conda install --channel bioconda metaseq-all) and I have downloaded the Example1.

Howver, when I run the cell where metaseq should be imported:

import metaseq

ip_signal = metaseq.genomic_signal(
    os.path.join(data_dir, 'wgEncodeHaibTfbsK562Atf3V0416101AlnRep1_chr17.bam'),
    'bam')

input_signal = metaseq.genomic_signal(
    os.path.join(data_dir, 'wgEncodeHaibTfbsK562RxlchV0416101AlnRep1_chr17.bam'),
    'bam')

I get this error message:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-10-62b03301eba5> in <module>
----> 1 import metaseq
      2 
      3 ip_signal = metaseq.genomic_signal(
      4     os.path.join(data_dir, 'wgEncodeHaibTfbsK562Atf3V0416101AlnRep1_chr17.bam'),
      5     'bam')

ModuleNotFoundError: No module named 'metaseq'

I don't know why because metaseq is installed in the conda environement.

Does anyone know what the problem is ?

rmontagn avatar May 29 '19 13:05 rmontagn