Trouble with danpos2 installation - can anyone help?
1
1
Entering edit mode
6.0 years ago
a.rex ▴ 350

I have used conda to install both R and rpy2. When I try to run python danpos.py -h to install the danpos package I get the following error:

Traceback (most recent call last):
  File "danpos.py", line 6, in <module>
    from functions import danpos
  File "/path/danpos-2.2.2/functions.py", line 4, in <module>
    from wigs import Wigs
  File "/path/danpos-2.2.2/wigs.py", line 3, in <module>
    from wig import Wig
  File "/path/danpos-2.2.2/wig.py", line 4, in <module>
    from rpy2.robjects import r,FloatVector
  File "/usr/local/lib/python2.7/dist-packages/rpy2/robjects/__init__.py", line 16, in <module>
    import rpy2.rinterface as rinterface
  File "/usr/local/lib/python2.7/dist-packages/rpy2/rinterface/__init__.py", line 92, in <module>
    from rpy2.rinterface._rinterface import (baseenv,
ImportError: No module named _rinterface

Is this an issue with the R installation path? How can I resolve this. Thank you!

danpos installation python • 2.8k views
ADD COMMENT
1
Entering edit mode

You can install danpos with conda.

ADD REPLY
0
Entering edit mode

Nope, this doesn't work

ADD REPLY
2
Entering edit mode

And would you mind telling us "how" that doesn't work? Error message? We are notoriously bad at reading your mind.

ADD REPLY
0
Entering edit mode

This was the error when using the conda link above. PackagesNotFoundError: The following packages are not available from current channels:

  • danpos
  • samtools
ADD REPLY
0
Entering edit mode

Make sure your channels are correctly configured for bioconda.

ADD REPLY
1
Entering edit mode
6.0 years ago
h.mon 35k

I just installed it:

source $HOME/bin/miniconda3/bin/activate
conda create -n DANPOS2-2.2.2
conda activate DANPOS2-2.2.2
conda install -c imperial-college-research-computing danpos
danpos.py -h
danpos version 2.2.2
For help information for each function, try:
python danpos.py <function> -h

Functions:
        dpos:
                analyze each protein-binding position (~100
                to ~200bp wide) across the whole genome,
                e.g. nucleosome positions.
  
ADD COMMENT

Login before adding your answer.

Traffic: 1859 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