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 #197

Closed
karinlag opened this issue Sep 25, 2017 · 3 comments
Closed

TypeError #197

karinlag opened this issue Sep 25, 2017 · 3 comments

Comments

@karinlag
Copy link

I get the following when simply trying to figure out the ariba version:

(ariba) [karinlag@abel ~]$ ariba version
Traceback (most recent call last):
File "/work/projects/nn9305k/src/anaconda3/bin/ariba", line 292, in
args.func(args)
File "/work/projects/nn9305k/src/anaconda3/lib/python3.6/site-packages/ariba/tasks/version.py", line 5, in run
extern_progs, report_lines = versions.get_all_versions(raise_error=False)
File "/work/projects/nn9305k/src/anaconda3/lib/python3.6/site-packages/ariba/versions.py", line 21, in get_all_versions
extern_progs = external_progs.ExternalProgs(fail_on_error=False)
File "/work/projects/nn9305k/src/anaconda3/lib/python3.6/site-packages/ariba/external_progs.py", line 65, in init
if prog in min_versions and LooseVersion(version) < LooseVersion(min_versions[prog]):
File "/work/projects/nn9305k/src/anaconda3/lib/python3.6/distutils/version.py", line 52, in lt
c = self._cmp(other)
File "/work/projects/nn9305k/src/anaconda3/lib/python3.6/distutils/version.py", line 337, in _cmp
if self.version < other.version:
TypeError: '<' not supported between instances of 'str' and 'int'
(ariba) [karinlag@abel ~]$

Am I messing up something, or is this something with the code?

Pip installed ariba this morning, btw.

@andrewjpage
Copy link
Member

It looks like the version string coming back from one of the programs is causing it to fail. Could you send the output of running these commands?

bowtie2 --version
cdhit
nucmer --version

@karinlag
Copy link
Author

I figured out that this was caused by issues with the cluster I was running it on - apparently mummer messes up the bowtie2 program. Thanks for helping me ID the problem!

@andrewjpage
Copy link
Member

Glad you got it sorted.

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