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

[BUG] Summarize bin collection selected from anvio interface keeps summarizing all clusters. (leave the '[BUG]' part) #2389

Open
Manso002 opened this issue Jan 26, 2025 · 1 comment

Comments

@Manso002
Copy link

I try to summarize my bin selections but it keeps summarizing all clusters.

anvi'o version = anvio-v8 marie

MacOS

Detailed description of the issue

I am selecting bins from the anvio interface on my pangenome. When i try to summarize the info of those bins, it keeps summarizing it as if it was "default collection" and it summarizes all clusters in my pangenome.
When i run ----list-collections or anvi-show-collections-and-bins, collection ID appears. However, when i run anvi-summarize -C COLLECTION, it does not summarize the collection, but all clusters. As you can see, the html output identifies 1 bin but summarizes all clusters, even if the original collection "test" had only 160 clusters and 2 genomes selected.
I may be missing something.
Hope you can help me,
Thanks for such amazing tool,
Carlos

Image
@FlorianTrigodet
Copy link
Contributor

Hey @Manso002,
Indeed anvi-summarize will summarize all GCs from your pangenome. That's the expected behavior.
In the main output table (*gene_clusters_summary.txt.gz), you will find a column 'bin_name' which you can use to extract the genes in GCs present in your bins.

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