Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error after running recycle.py #14

Open
OAF12 opened this issue Aug 7, 2017 · 8 comments
Open

error after running recycle.py #14

OAF12 opened this issue Aug 7, 2017 · 8 comments

Comments

@OAF12
Copy link

OAF12 commented Aug 7, 2017

recycle.py -g assembly_graph.fastg -k 55 -b reads_pe_primary.sort.bam
I got the below erro
Traceback (most recent call last):
File "/home/omnah486/miniconda2/bin/recycle.py", line 4, in
import('pkg_resources').run_script('recycler==0.6', 'recycle.py')
File "/home/omnah486/miniconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 744, in run_script
File "/home/omnah486/miniconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 1506, in run_script
File "/home/omnah486/miniconda2/lib/python2.7/site-packages/recycler-0.6-py2.7.egg/EGG-INFO/scripts/recycle.py", line 62, in

AttributeError: 'module' object has no attribute 'AlignmentFile'

@rozovr
Copy link
Collaborator

rozovr commented Aug 8, 2017

This looks like a pysam related error. Please check pysam is installed properly.

@OAF12
Copy link
Author

OAF12 commented Aug 9, 2017

Thanks for your reply, I re-installed pysam. Now I got that below error:

Traceback (most recent call last):
File "/home/omnah486/miniconda2/bin/recycle.py", line 4, in
import('pkg_resources').run_script('recycler==0.6', 'recycle.py')
File "/home/omnah486/miniconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 744, in run_script
File "/home/omnah486/miniconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 1506, in run_script
File "/home/omnah486/miniconda2/lib/python2.7/site-packages/recycler-0.6-py2.7.egg/EGG-INFO/scripts/recycle.py", line 69, in

NameError: name 'get_fastg_digraph' is not defined

@sergiomorgado
Copy link

The same error here:
NameError: name 'get_fastg_digraph' is not defined

All dependencies are ok.

@rozovr
Copy link
Collaborator

rozovr commented Sep 2, 2017

Can you please me how you installed recycler? I.e., did you do git pull, download a zip, etc. and where from? That will help me diagnose why this happens.

@OAF12
Copy link
Author

OAF12 commented Sep 2, 2017 via email

@sergiomorgado
Copy link

I installed using conda.

@OAF12
Copy link
Author

OAF12 commented Sep 6, 2017 via email

@rozovr
Copy link
Collaborator

rozovr commented Sep 13, 2017

@OAF12 and @sergiomorgado , sorry for my delay, am wrapping up my thesis now; will look into this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants