I received new error trying to run Strainphlan inside biobakery workflows.
2022-09-12 13:53:36,939 anadama2.helpers actually_sh INFO: Executing with shell: strainphlan --samples /media/microviable/e/ELDERLY/strainphlan//.pkl --output_dir /media/microviable/e/ELDERLY/strainphlan --clade s__Bifidobacterium_pseudocatenulatum --nprocs 7 --clade_markers /media/microviable/e/ELDERLY/strainphlan/s__Bifidobacterium_pseudocatenulatum.fna > /media/microviable/e/ELDERLY/strainphlan/5_clade.log && touch /media/microviable/e/ELDERLY/strainphlan/5_clade.tree && if [ -f /media/microviable/e/ELDERLY/strainphlan/RAxML_bestTree.s__Bifidobacterium_pseudocatenulatum.tree ]; then cp /media/microviable/e/ELDERLY/strainphlan/RAxML_bestTree.s__Bifidobacterium_pseudocatenulatum.tree /media/microviable/e/ELDERLY/strainphlan/5_clade.tree; fi
2022-09-12 13:53:38,976 LoggerReporter task_failed ERROR: task 163, strainphlan_clade_6 : Failed! Error message : Error executing action 0. Original Exception:
Traceback (most recent call last):
File “/home/microviable/workflows/lib/python3.7/site-packages/anadama2/runners.py”, line 201, in _run_task_locally
action_func(task)
File “/home/microviable/workflows/lib/python3.7/site-packages/biobakery_workflows/tasks/shotgun.py”, line 762, in strainphlan
args=[os.path.abspath(os.path.join(os.path.dirname(task.depends[0].name),“…”)),os.path.dirname(task.targets[0].name),profile_clade,threads])
File “/home/microviable/workflows/lib/python3.7/site-packages/biobakery_workflows/utilities.py”, line 1049, in run_task
return_code = sh(command)()
File “/home/microviable/workflows/lib/python3.7/site-packages/anadama2/helpers.py”, line 89, in actually_sh
ret = _sh(s, **kwargs)
File “/home/microviable/workflows/lib/python3.7/site-packages/anadama2/util/init.py”, line 320, in sh
raise ShellException(proc.returncode, msg.format(cmd, ret[0], ret[1]))
anadama2.util.ShellException: [Errno 1] Command `strainphlan --samples /media/microviable/e/ELDERLY/strainphlan//.pkl --output_dir /media/microviable/e/ELDERLY/strainphlan --clade s__Bifidobacterium_pseudocatenulatum --nprocs 7 --clade_markers /media/microviable/e/ELDERLY/strainphlan/s__Bifidobacterium_pseudocatenulatum.fna > /media/microviable/e/ELDERLY/strainphlan/5_clade.log && touch /media/microviable/e/ELDERLY/strainphlan/5_clade.tree && if [ -f /media/microviable/e/ELDERLY/strainphlan/RAxML_bestTree.s__Bifidobacterium_pseudocatenulatum.tree ]; then cp /media/microviable/e/ELDERLY/strainphlan/RAxML_bestTree.s__Bifidobacterium_pseudocatenulatum.tree /media/microviable/e/ELDERLY/strainphlan/5_clade.tree; fi’ failed.
Out: b’’
Err: b’\n[e] Command '['/home/microviable/workflows/bin/makeblastdb', '-parse_seqids', '-dbtype', 'nucl', '-in', '/media/microviable/e/ELDERLY/strainphlan/tmp1a3n997l/s__Bifidobacterium_pseudocatenulatum/s__Bifidobacterium_pseudocatenulatum.fna', '-out', '/media/microviable/e/ELDERLY/strainphlan/tmp1a3n997l/s__Bifidobacterium_pseudocatenulatum/s__Bifidobacterium_pseudocatenulatum']' returned non-zero exit status 1.\n\n[e] cannot execute command\n command_line: /home/microviable/workflows/bin/makeblastdb -parse_seqids -dbtype nucl -in /media/microviable/e/ELDERLY/strainphlan/tmp1a3n997l/s__Bifidobacterium_pseudocatenulatum/s__Bifidobacterium_pseudocatenulatum.fna -out /media/microviable/e/ELDERLY/strainphlan/tmp1a3n997l/s__Bifidobacterium_pseudocatenulatum/s__Bifidobacterium_pseudocatenulatum\n stdin: None\n stdout: None\n env: {'LESSOPEN': '| /usr/bin/lesspipe %s', 'LANGUAGE': 'es_ES', 'USER': 'microviable', 'XDG_SESSION_TYPE': 'x11', 'SHLVL': '1', 'PERL_LOCAL_LIB_ROOT': '/home/microviable/perl5', 'HOME': '/home/microviable', 'BX_DAEMON_SERVER': 'local:/home/microviable/.bx/rt/daemon.socket', 'CONDA_SHLVL': '0', 'OLDPWD': '/home/microviable/Descargas/phylophlan', 'DESKTOP_SESSION': 'ubuntu', 'GNOME_SHELL_SESSION_MODE': 'ubuntu', 'GTK_MODULES': 'gail:atk-bridge', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'PS1': '(workflows) \\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ', 'DBUS_STARTER_BUS_TYPE': 'session', 'SYSTEMD_EXEC_PID': '12961', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus,guid=f5c1e38c7ab5fb03b2958a4d6318739f', 'COLORTERM': 'truecolor', 'CE_M': '', 'MANDATORY_PATH': '/usr/share/gconf/ubuntu.mandatory.path', 'IM_CONFIG_PHASE': '1', 'INFOPATH': '/home/linuxbrew/.linuxbrew/share/info:', 'EGGNOG_DATA_DIR': '/media/microviable/e/biobakery_workflows_databases/eggnog_mapper:/home/microviable/miniconda3/envs/eggnog/lib/python3.7/site-packages/eggnogmapper:/home/microviable/.aspera/connect/bin:/home/microviable/Programas/megan/tools:/home/microviable/miniconda3/condabin:/home/linuxbrew/.linuxbrew/bin:/home/microviable/.local/bin:/home/microviable/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'LOGNAME': 'microviable', '': '/home/microviable/workflows/bin/biobakery_workflows', 'XDG_SESSION_CLASS': 'user', 'DEFAULTS_PATH': '/usr/share/gconf/ubuntu.default.path', 'BATCHX_ENDPOINT': 'api.batchx.io:8980', 'TERM': 'xterm-256color', 'PERL_MB_OPT': '–install_base “/home/microviable/perl5”', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', '_CE_CONDA': '', 'PATH': '/home/microviable/workflows/bin:/home/microviable/perl5/bin:/home/microviable/miniconda3/envs/eggnog/lib/python3.7/site-packages/eggnogmapper:/home/microviable/.aspera/connect/bin:/home/microviable/Programas/megan/tools:/home/microviable/miniconda3/condabin:/home/linuxbrew/.linuxbrew/bin:/home/microviable/.local/bin:/home/microviable/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/microviable/Programas/ncbi-blast/ncbi-blast-2.13.0+/bin', 'SESSION_MANAGER': 'local/microviable:@/tmp/.ICE-unix/12961,unix/microviable:/tmp/.ICE-unix/12961', 'GDM_LANG': 'es_ES', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XDG_MENU_PREFIX': 'gnome-', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/22be90a7_7f0f_4816_b1b1_acb600741fc9', 'PERL5LIB': '/home/microviable/perl5/lib/perl5', 'XDG_RUNTIME_DIR': '/run/user/1000', 'DISPLAY': ':0', 'LANG': 'es_ES.UTF-8', 'XDG_CURRENT_DESKTOP': 'ubuntu:GNOME', 'XMODIFIERS': '@im=ibus', 'XDG_SESSION_DESKTOP': 'ubuntu', 'XAUTHORITY': '/home/microviable/.Xauthority', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'GNOME_TERMINAL_SERVICE': ':1.2340', 'SSH_AGENT_LAUNCHER': 'gnome-keyring', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/microviable', 'CONDA_PYTHON_EXE': '/home/microviable/miniconda3/bin/python', 'SHELL': '/bin/bash', 'INSIDE_NAUTILUS_PYTHON': '', 'QT_ACCESSIBILITY': '1', 'BATCHX_TOKEN': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJiYXRjaHgtdG9rZW4tdHlwZSI6InJlZnJlc2giLCJiYXRjaHgtcG9saWN5LWFsbG93IjpbIio6KiJdLCJpc3MiOiJodHRwczovL3d3dy5iYXRjaHguaW8iLCJleHAiOjE2NjUwNTE1NDEsImJhdGNoeC1wb2xpY3ktZGVueSI6WyJiYXRjaHguZmlsZXN5c3RlbS5GaWxlc3lzdGVtU2VydmljZTpEZWxldGVGaWxlOnBhdGg9am9icy8qOyBwYXRoPWJhdGNoeC8qIiwiYmF0Y2h4LmZpbGVzeXN0ZW0uRmlsZXN5c3RlbVNlcnZpY2U6VXBsb2FkUHJlc2lnbmVkOnBhdGg9am9icy8qOyBwYXRoPWJhdGNoeC8qIiwiYmF0Y2h4LmZpbGVzeXN0ZW0uRmlsZXN5c3RlbVNlcnZpY2U6Q29weTp0YXJnZXRfcGF0aD1qb2JzLyo7IHRhcmdldF9wYXRoPWJhdGNoeC8qIiwiYmF0Y2h4LmZpbGVzeXN0ZW0uRmlsZXN5c3RlbVNlcnZpY2U6Q29tcGxldGVVcGxvYWQ6cGF0aD1qb2JzLyo7IHBhdGg9YmF0Y2h4LyoiXSwiaWF0IjoxNjYyNDU5NTQxLCJiYXRjaHgtaWQiOiJpbW9udGVybyIsImp0aSI6IlpYT0FPMjR1OUQ3M0drbVlXNDN5In0.99qlhmSVAUnlXKDBlRcXEqMZES4MponW_0zX2D0xJkxoJOr68bw32zpfEXmfix0DHcRPoKJB3hI0zVA8Ft8Y_w', 'GDMSESSION': 'ubuntu', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'PERL_MM_OPT': 'INSTALL_BASE=/home/microviable/perl5', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'VIRTUAL_ENV': '/home/microviable/workflows', 'QT_IM_MODULE': 'ibus', 'JAVA_HOME': '/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64', 'PWD': '/media/microviable/e/MVT-Prj-07_ELDERLY', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/etc/xdg', 'CONDA_EXE': '/home/microviable/miniconda3/bin/conda', 'DBUS_STARTER_ADDRESS': 'unix:path=/run/user/1000/bus,guid=f5c1e38c7ab5fb03b2958a4d6318739f', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/home/microviable/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'PYTHONPATH': ':/home/microviable/miniconda3/bin/python', 'MANPATH': '/home/linuxbrew/.linuxbrew/share/man:', 'VTE_VERSION': '6800'}\n\n[e] An error was ocurred executing a external tool, exiting…\nMon Sep 12 13:53:38 2022: Stop StrainPhlAn 3.0 execution.\n’
2022-09-12 13:53:38,977 LoggerReporter finished ERROR: AnADAMA run finished with errors.