You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem installing CarveMe related to diamond. The version downloaded with conda (0.9.14) as recommended on the installation page returns the error:
Error: Database was built with a different version of diamond as is incompatible.
Failed to run diamond.
When I upgrade the diamond version (to 2.1.8), I get this initial error:
Traceback (most recent call last):
File "/home/fhak/.local/bin/carve", line 8, in
sys.exit(main())
File "/home/fhak/.local/lib/python3.8/site-packages/carveme/cli/carve.py", line 357, in main
maincall(
File "/home/fhak/.local/lib/python3.8/site-packages/carveme/cli/carve.py", line 181, in maincall
scores, gene2gene = reaction_scoring(annotations, gprs, debug_output=debug_output)
File "/home/fhak/.local/lib/python3.8/site-packages/carveme/reconstruction/scoring.py", line 105, in reaction_scoring
protein_scores = gene_scores.groupby(['protein', 'reaction', 'model'], as_index=False)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 940, in aggregate
result, how = self._aggregate(func, *args, **kwargs)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/base.py", line 428, in _aggregate
result = _agg(arg, _agg_1dim)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/base.py", line 395, in _agg
result[fname] = func(fname, agg_how)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/base.py", line 379, in _agg_1dim
return colg.aggregate(how)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 262, in aggregate
return self._python_agg_general(func, *args, **kwargs)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 936, in _python_agg_general
result, counts = self.grouper.agg_series(obj, f)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/ops.py", line 635, in agg_series
return self._aggregate_series_fast(obj, func)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/ops.py", line 660, in _aggregate_series_fast
result, counts = grouper.get_result()
File "pandas/_libs/reduction.pyx", line 375, in pandas._libs.reduction.SeriesGrouper.get_result
File "pandas/_libs/reduction.pyx", line 192, in pandas._libs.reduction._BaseGrouper._apply_to_group
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 913, in
f = lambda x: func(x, *args, **kwargs)
File "/home/fhak/.local/lib/python3.8/site-packages/carveme/reconstruction/scoring.py", line 19, in merge_subunits
protein = ' and '.join(sorted(genes))
TypeError: sequence item 0: expected str instance, float found
I get the same error when downgrading python to 3.6.
Thank you for your help.
Best,
Fiona
The text was updated successfully, but these errors were encountered:
Hi,
I have a problem installing CarveMe related to diamond. The version downloaded with conda (0.9.14) as recommended on the installation page returns the error:
Error: Database was built with a different version of diamond as is incompatible.
Failed to run diamond.
When I upgrade the diamond version (to 2.1.8), I get this initial error:
carve --dna -o SRR5329951 assemblies/SRR5329951.fasta
Traceback (most recent call last):
File "/home/fhak/.local/bin/carve", line 8, in
sys.exit(main())
File "/home/fhak/.local/lib/python3.8/site-packages/carveme/cli/carve.py", line 357, in main
maincall(
File "/home/fhak/.local/lib/python3.8/site-packages/carveme/cli/carve.py", line 181, in maincall
scores, gene2gene = reaction_scoring(annotations, gprs, debug_output=debug_output)
File "/home/fhak/.local/lib/python3.8/site-packages/carveme/reconstruction/scoring.py", line 105, in reaction_scoring
protein_scores = gene_scores.groupby(['protein', 'reaction', 'model'], as_index=False)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 940, in aggregate
result, how = self._aggregate(func, *args, **kwargs)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/base.py", line 428, in _aggregate
result = _agg(arg, _agg_1dim)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/base.py", line 395, in _agg
result[fname] = func(fname, agg_how)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/base.py", line 379, in _agg_1dim
return colg.aggregate(how)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 262, in aggregate
return self._python_agg_general(func, *args, **kwargs)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 936, in _python_agg_general
result, counts = self.grouper.agg_series(obj, f)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/ops.py", line 635, in agg_series
return self._aggregate_series_fast(obj, func)
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/ops.py", line 660, in _aggregate_series_fast
result, counts = grouper.get_result()
File "pandas/_libs/reduction.pyx", line 375, in pandas._libs.reduction.SeriesGrouper.get_result
File "pandas/_libs/reduction.pyx", line 192, in pandas._libs.reduction._BaseGrouper._apply_to_group
File "/home/fhak/.local/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 913, in
f = lambda x: func(x, *args, **kwargs)
File "/home/fhak/.local/lib/python3.8/site-packages/carveme/reconstruction/scoring.py", line 19, in merge_subunits
protein = ' and '.join(sorted(genes))
TypeError: sequence item 0: expected str instance, float found
I get the same error when downgrading python to 3.6.
Thank you for your help.
Best,
Fiona
The text was updated successfully, but these errors were encountered: