HingeAssembler / HINGE

Software accompanying "HINGE: Long-Read Assembly Achieves Optimal Repeat Resolution"
http://genome.cshlp.org/content/27/5/747.full.pdf+html?sid=39918b0d-7a7d-4a12-b720-9238834902fd
Other
64 stars 9 forks source link

error at draft assembly stage #124

Closed madhubioinfo closed 7 years ago

madhubioinfo commented 7 years ago

Iam trying to run HINGE on my pacbio dataset , when am running draft-path, am getting the following error from pbcore.io import FastaIO ModuleNotFoundError: No module named 'pbcore'

I tried installing by looking at this page https://github.com/PacificBiosciences/pbcore/issues/9 still the HINGE assembler is giving me the same error, please help me to solve this issue

fxia22 commented 7 years ago

Thanks for reporting. What will happen if you run python and run from pbcore.io import FastaIO? You can verify pbcore is installed properly.

fxia22 commented 7 years ago

btw, are you using python3 or python2.7?

govinda-kamath commented 7 years ago

Were you able to sort this out @madhubioinfo ?

madhubioinfo commented 7 years ago

sorry I couldn't get back to this issue , it was due to version of python and thanks for addressing my issue

fxia22 commented 7 years ago

Thanks for your feedback.

mictadlo commented 6 years ago

Hi, I installed Hinge as described but it has failed with ImportError: No module named pbcore.io it seems that the library is missing:

> source utils/setup.sh
> python
Python 2.7.13 (default, Jul 21 2017, 16:25:46) 
[GCC 6.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pbcore.io import FastaIO
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pbcore.io
>>> 

What did I miss?

Thank you in advance

MIchal

govinda-kamath commented 6 years ago

HI Mlchal,

You need to install pbcore. You can do it using pip. I've updated the reqs.

govinda-kamath commented 6 years ago

You can also install by using pip install -r requirements.txt using this as requirements.txt.

mictadlo commented 6 years ago

Thank you, it works now. it would be good to have that file also in this repository.