cvnkit: what is the problem here?
1
0
Entering edit mode
7.2 years ago
bk11 ★ 3.0k
    cnvkit.py access cja.fa -s 10000 -o cja_targetsegment.bed
Traceback (most recent call last):
  File "/home/bkhatri/cnvkit-master/cnvkit.py", line 8, in <module>
    from cnvlib import commands
  File "/gpfs_home/bkhatri/cnvkit-master/cnvlib/__init__.py", line 3, in <module>
    from .commands import *
  File "/gpfs_home/bkhatri/cnvkit-master/cnvlib/commands.py", line 27, in <module>
    from . import (access, antitarget, autobin, batch, call, core, coverage,
  File "/gpfs_home/bkhatri/cnvkit-master/cnvlib/autobin.py", line 11, in <module>
    from . import coverage, samutil
  File "/gpfs_home/bkhatri/cnvkit-master/cnvlib/coverage.py", line 10, in <module>
    from concurrent import futures
ImportError: No module named concurrent
CNV NGS • 2.7k views
ADD COMMENT
1
Entering edit mode

Did you try to install each of the modules listed in the traceback?

python -m pip install MyPackage
ADD REPLY
0
Entering edit mode

Hi, what version python do you have - python --version ? And did you install cnvkit from anaconda, pip or git?

ADD REPLY
0
Entering edit mode

Python Version is 2.7.11 I had installed from git. I want to use it in supercomputer. I have added path to this program using command line

export PATH=/home/bkhatri/CNVkit-0.9.0:$PATH
ADD REPLY
0
Entering edit mode
7.2 years ago
Eric T. ★ 2.8k

To install from source in-place, I recommend using pip install -e . instead of python setup.py. Generally conda is best, but there's a hiccup in creating the conda package for CNVkit 0.9.0 right now.

To install the dependencies manually, here's the comprehensive list:

        'biopython >= 1.62',
        'future >= 0.15.2',
        'futures >= 3.0',
        'matplotlib >= 1.3.1',
        'numpy >= 1.9',
        'pandas >= 0.18.1',
        'pyfaidx >= 0.4.7',
        'pysam >= 0.10.0',
        'reportlab >= 3.0',
        'scipy >= 0.15.0',
ADD COMMENT

Login before adding your answer.

Traffic: 1677 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6