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

number of genomes to download in phylophlan_get_reference #72

Open
fancyge opened this issue Oct 15, 2021 · 2 comments
Open

number of genomes to download in phylophlan_get_reference #72

fancyge opened this issue Oct 15, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@fancyge
Copy link

fancyge commented Oct 15, 2021

Hi, I have a question about the option -n in phylophlan_get_reference.

I used this command to download ref genomes for phylum Bacteroidetes with "-n 200". I thought this will download 200 representative genomes into input_genomes. However, I've seen 900 genomes downloaded and it's still keep downloading. Can you please give me some idea of what this -n really means?

phylophlan_get_reference -g p__Bacteroidetes -o input_genomes/ -m assembly_summary_genbank.txt -n 200

Thanks very much!

@fasnicar fasnicar self-assigned this Oct 19, 2021
@fasnicar fasnicar added the question Further information is requested label Oct 19, 2021
@fasnicar
Copy link
Collaborator

Hi and many thanks for using PhyloPhlAn!

So the -n parameter is an up to for each species with the given taxonomic label (with the -g param).
From the help message:

Specify how many reference genomes to download, where -1 stands for "all available"

So, in your case with -n 200 PhyloPhlAn will download up to 200 genomes for each species that are assigned to the Bacteroidetes phylum.

Thanks for reporting this we will improve the documentation to make this more clear.

@fancyge
Copy link
Author

fancyge commented Oct 19, 2021

Hi, thanks a lot for the explanation . I appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants