marcus1487 / nanoraw

Genome guided re-segmention and visualization for raw nanopore sequencing data.
https://pypi.python.org/pypi/nanoraw
Other
46 stars 8 forks source link

Running nanoraw #55

Closed ahmirza closed 5 years ago

ahmirza commented 6 years ago

Hi, I run nanoraw's plot_correction command and I am getting below error. Could you please point to me why I am getting this error. Thanks, Aashiq

aashiq@pegasus2:~$ nanoraw plot_correction --fast5-basedirs /home/aashiq/data/nanopore/hek293t/decap/decap_basecalled/workspace/pass​ ​\

--region-type random Traceback (most recent call last): File "/usr/local/bin/nanoraw", line 11, in load_entry_point('nanoraw==0.5', 'console_scripts', 'nanoraw')() File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 572, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 2752, in load_entry_point return ep.load() File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 2405, in load return self.resolve() File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 2411, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python3.5/dist-packages/nanoraw/main.py", line 3, in import option_parsers ImportError: No module named 'option_parsers'

SCDealy commented 6 years ago

This just bit me, it appears that (at least for the latest official release version) nanoraw has not been ported to python 3 (though pip3 will happily install it). It would be nice if the docs (particularly the install section) indicated nanoraw is a python 2 program.