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

Problem running phylophlan #83

Open
itiago opened this issue Mar 18, 2022 · 1 comment
Open

Problem running phylophlan #83

itiago opened this issue Mar 18, 2022 · 1 comment
Assignees

Comments

@itiago
Copy link

itiago commented Mar 18, 2022

Hi
I installed from conda, read the last issue and followed your comment on cloning the last version from github, which I did with conda phylophlan environment on,
at the end had this message:
Using /home/deepbio/miniconda2/envs/phylophlan/lib/python3.10/site-packages
Finished processing dependencies for PhyloPhlAn==3.0.2
but still have the
PhyloPhlAn version 3.0.60 (27 November 2020) Installed don't know why.

And when I try to run it I get this message:
(phylophlan) deepbio@deepbio-virtual-machine:~/Documents/phylophlan3_DATABASES/phylophlan/phylophlan$ phylophlan -i /home/deepbio/Documents/Metagenomes/Spain/All/BIN_REFINEMENT/metawrap_50_10_bins -d /home/deepbio/Documents/phylophlan3_DATABASES --diversity medium -f phylophlan_write_default_configs.sh --nproc 4
[e] "/home/deepbio/miniconda2/envs/phylophlan/lib/python3.10/site-packages/phylophlan/phylophlan_configs/" folder does not exists
Traceback (most recent call last):
File "/home/deepbio/miniconda2/envs/phylophlan/bin/phylophlan", line 33, in
sys.exit(load_entry_point('PhyloPhlAn==3.0.2', 'console_scripts', 'phylophlan')())
File "/home/deepbio/miniconda2/envs/phylophlan/lib/python3.10/site-packages/phylophlan/phylophlan.py", line 3194, in phylophlan_main
project_name = check_args(args, sys.argv, verbose=args.verbose)
File "/home/deepbio/miniconda2/envs/phylophlan/lib/python3.10/site-packages/phylophlan/phylophlan.py", line 493, in check_args
elif os.path.isfile(os.path.join(args.configs_folder, args.config_file)):
File "/home/deepbio/miniconda2/envs/phylophlan/lib/python3.10/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Thanks for any help

@fasnicar fasnicar self-assigned this Mar 24, 2022
@fasnicar
Copy link
Collaborator

Hi, it seems maybe you're not running the very last version you pulled from the repo, is that the case?
My best guess would be that your phylophlan command is the old package installed through conda, while if you want to run the latest version pulled from Github you should execute the phylophlan.py script from the local folder.

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