There is an error to run “biobakery_workflows wmgx xxx”. Error message is as below. It looks like humann3 should use “uniref90_rxn” but in the shotgun.py code, it use uniref90_level4ec.
Task 29 failed Name: humann_renorm_ecs_relab____HD42R4_subsample Original error: Task failed because parent task 20’ failed
Task 19 failed
Name: humann_regroup_UniRef2EC____HD32R1_subsample
Original error:
Error executing action 0. Original Exception:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/dist-packages/anadama2/runners.py”, line 201, in _run_task_locally
action_func(task)
File “/usr/local/lib/python3.6/dist-packages/anadama2/helpers.py”, line 89, in actually_sh
ret = _sh(s, **kwargs)
File “/usr/local/lib/python3.6/dist-packages/anadama2/util/ init .py”, line 320, in sh
raise ShellException(proc.returncode, msg.format(cmd, ret[0], ret[1]))
anadama2.util.ShellException: [Errno 2] Command humann_regroup_table --input /data/result_wmgs_1/humann/main/HD32R1_subsample_genefamilies.tsv --output /data/result_wmgs_1/humann/regrouped/HD32R1_subsample_ecs.tsv --groups uniref90_level4ec' failed. Out: b'' Err: b"usage: humann_regroup_table [-h] [-i INPUT] [-g {uniref90_rxn,uniref50_rxn}]\n [-c CUSTOM] [-r] [-f {sum,mean}] [-e PRECISION]\n [-u {Y,N}] [-p {Y,N}] [-o OUTPUT]\nhumann_regroup_table: error: argument -g/--groups: invalid choice: 'uniref90_level4ec' (choose from 'uniref90_rxn', 'uniref50_rxn')\n"
You have to download the full utility_mapping database in order to use any other functional category, like ‘uniref90_level4ec’.
The full mapping database is not included by default since it is quite big in size.
Have a look on how to install the full utility_mapping db.
e.g. humann_databases --download utility_mapping full <path_to_humann_dbs>
I have the same error. Do we have a solution for this? If I run:
humann_regroup_table --input LC6_pathabundance.tsv --groups uniref90_ko --output TABLE2
I found the solution. I do not know if I needed to update my utility mapping folder or when you install humann will automatically update your utility mapping folder. However, to solve the issue simply update your utility_mapping