Start an anvi'o server to display a pan-genome.
Requires or uses
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:
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:
- a title (very fancy I know) using
- a NEWICK formatted tree (or import it as a misc-data-items-order-txt with anvi-import-items-order or as a misc-data-layer-orders with anvi-import-misc-data).
- view data in a tab-delimited file
- an additional view (provide this in a tab-delimited matrix where each column corresponds to a sample and each row corresponds to a gene cluster)
- an additional layer in the form of a misc-data-layers-txt (or import it into your pan-db with anvi-import-misc-data
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
- 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
- You can also load a specific collection with
--collection-autoload. To check which collections are availible, use
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.
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.