Start an anvi'o server to display a pan-genome.

🔙 To the main page of anvi’o programs and artifacts.


Can consume

pan-db genomes-storage-db

Can provide

collection bin interactive svg gene-cluster-inspection


This program displays the contents of a pan-db in the anvi’o interactive interface, much like anvi-interactive.

Like you can see in the pangenomics tutorial, this opens a window of the interactive interface where each item is a gene cluster and each layer represents one of your genomes.

A general run

You can run it with only two parameters:

anvi-display-pan -p pan-db \ -g genomes-storage-db

There are several default layer orders to choose from, including organizing based on gene cluster presence/absense or gene cluster frequency. These will both group your core gene clusters and singletons separately.

Beyond that, there are many different settings you can change in the side panel of the interface and you can import various additional data (primarily with the program anvi-import-misc-data). Once you’re happy with the data displayed in the interface (and the prettiness of that data), you can save those preferences in a state.

I want MORE data displayed

There are several other data types you can additionally choose to display in this program. Namely, you can add:

How to minimize mouse clicks

Wondering how to autoload specific aspects of the interface? You’re in the right place.

You have the option to specify quite a few aspects of the interface through the parameters to save you those sweet mouse clicks.

  • You can specify which view to start the interface with. Check which views are available with --list-views.
  • You can load a specific state (either a previous state or a state that you’ve imported with anvi-import-state). Check which states are available with the flag --list-states.
  • You can also load a specific collection with --collection-autoload. To check which collections are availible, use --list-collections.

Other parameters

You can also skip processes like intializing functions or automatically ordering your items to save time, as well as configure the server to your heart’s content.

Edit this file to update this information.

Additional Resources

Are you aware of resources that may help users better understand the utility of this program? Please feel free to edit this file on GitHub. If you are not sure how to do that, find the __resources__ tag in this file to see an example.