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

re-use database folder #60

Open
pxtm opened this issue Mar 30, 2021 · 5 comments
Open

re-use database folder #60

pxtm opened this issue Mar 30, 2021 · 5 comments
Assignees

Comments

@pxtm
Copy link

pxtm commented Mar 30, 2021

Hi,

I've been using Phylophlan for a while now in few MAG-related projects.
Is there a chance of, when I am reusing the same database for annotating the genomes, to reuse the database already downloaded? I tried with --database-folder but I am still asked to download it again.

Thanks a lot.
Bests,
Marc

@fasnicar fasnicar self-assigned this Mar 30, 2021
@fasnicar
Copy link
Collaborator

Hi, I believe we are talking about phylophlan_metagenomic, right?
In which case, the --database_folder param should do exactly that. Can you provide the version you're using an example in which this is not working? I'll be happy to have a look.

Many thanks,
Francesco

@pxtm
Copy link
Author

pxtm commented Mar 31, 2021

Hi Francesco,

Yes, it's phylophlan_metagenomic. The version I am using is
> PhyloPhlAn version 3.0.58 (8 September 2020)
with the following code, as you indicate in the website tutorial
phylophlan_metagenomic -i MAGs_vamb/bins/ -o phylo2 --nproc 4 -n 1 -d SGB.Jan19 --database_folder bins_SGB.Jan9 --verbose 2>&1 | tee phylo2.log
If needed I can provide the log as far as I can edit out the paths.
Thanks in advance.

@fasnicar
Copy link
Collaborator

fasnicar commented Apr 1, 2021

Thank for the command. So, is bins_SGB.Jan9 a folder containing the files ( .md5, .txt.bz2, .tar) of the SGB.Jan19 db?

@pxtm
Copy link
Author

pxtm commented Apr 3, 2021

Hi @fasnicar, the content of the folder is the one you are indicating yeah.

image

@fasnicar
Copy link
Collaborator

fasnicar commented Apr 6, 2021

Hi, can you try to get the very latest version of phylophlan_metagenomic.py (should be 3.0.36 (3 February 2021)) re-trying running it specifying the existing database with the --database_folder and then provide back the log for me to check?

Many thanks

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