-
Notifications
You must be signed in to change notification settings - Fork 5
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
TypeError: sequence item 0: expected str instance, numpy.int64 found #3
Comments
Changing [n] to [str(n)] on line 135 fixed the issue. In addition to that I spotted a more annoying mistake which caused the name of the sequence types to be mixed during the clustering so I post also here the solution: you need to change in line 36 |
Thanks @Bio-finder |
@a-damC What version of pHierCC did you download via Conda? It seems that the most up to date version currently available via Conda (v.1.24) only has 126 lines. I think the version you and @Bio-finder were editing was 1.26 or 1.27? |
@eam12 I can't remember but I have started to use ReporTree for clustering. It's currently well maintained and an all encompassing set of code that includes single linkage clustering. https://github.com/insapathogenomics/ReporTree |
@a-damC Many thanks for the recommendation! ReportTree looks like a really nice alternative. |
Good morning,
I have an issue when I use your tool with the example data:
After installing the tool in python 3.7 I get the following error when I run it:
Could you help me to see what is going wrong?
Also, just in case, my final objective would be to be able to reproduce the HC numbers from Enterobase by using your tool with the file "profiles.list.gz". Do you think that it's possible and that I proceed the right way?
Best regards,
The text was updated successfully, but these errors were encountered: