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

TypeError: '<' not supported between instances of 'NoneType' and 'int' #245

Closed
Selucote82 opened this issue Aug 19, 2020 · 1 comment
Closed

Comments

@Selucote82
Copy link

Hi all,
first of all, excuse me if the problem was solved in precedent issues, but I only saw the issue #104 tackling the same error.

This error I got after launching unicycler with the following dependencies:

Dependencies:
Program Version Status
spades.py 3.11.1 good
racon 1.4.16 good
makeblastdb 2.2.30+ good
tblastn 2.2.30+ good
bowtie2-build 2.3.4.1 good
bowtie2 2.3.4.1 good
samtools 1.6 good
java 11.0.1-internal good
pilon 1.23 good
bcftools not used

The complete error:

Traceback (most recent call last):
File "/home/software/unicycler/bin/unicycler", line 11, in
load_entry_point('unicycler==0.4.9b0', 'console_scripts', 'unicycler')()
File "/home/software/python-3.8.2/lib/python3.8/site-packages/unicycler/unicycler.py", line 162, in main
bridges += create_simple_long_read_bridges(graph, args.out, args.keep, args.threads,
File "/home/software/python-3.8.2/lib/python3.8/site-packages/unicycler/bridge_long_read_simple.py", line 131, in create_simple_long_read_bridges
bridges += simple_bridge_loops(graph, start_overlap_reads, end_overlap_reads,
File "/home/software/python-3.8.2/lib/python3.8/site-packages/unicycler/bridge_long_read_simple.py", line 355, in simple_bridge_loops
for loop_count in sorted(votes.keys()):
TypeError: '<' not supported between instances of 'NoneType' and 'int'

As I have been able to see in google, it seems to be related with the version of python. Also the break occurred in the same point than in the issue #104, as you can see in the attached file, but I tried some different options, former racon versions and also disabling this software, and the error appeared likewise. Could you be so kind as to help me?

Thank you.
unicycler.salida.txt

@rrwick
Copy link
Owner

rrwick commented Jan 21, 2022

I'm working on a new version of Unicycler (v0.5.0), and I think I see the cause of this bug, which I've hopefully now fixed (05ea9bd). Thanks for letting me know, and sorry it took me so long to get around to this! The new version will be released in the near future.

Ryan

@rrwick rrwick closed this as completed Jan 21, 2022
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

2 participants