Take the output of anvi-gen-variability-profile, prepare an output for interactive interface.
🔙 To the main page of anvi’o programs and artifacts.
This programs takes a variability-profile-txt and generates the information necessary to visualize its contents with anvi-interactive.
Specifically, this program outputs a directory that contains a profile-db, a view-data artifact, and a dendrogram. For example, if you ran this program like so:
anvi-script-snvs-to-interactive -o OUTPUT_DIR \ variability-profile
Then, you can open the interactive interface by running
anvi-interactive --manual-mode \ -p OUTPUT_DIR/profile.db \ --tree OUTPUT_DIR/tree.txt \ --view-data OUTPUT_DIR/view.txt
By default, all variability positions in your variability profile are considered. However, if the input is too large (i.e. more than 25,000 variability positions), the runtime on this program will be very long and the results won’t display well. So, there are several ways to remove variability positions from the input to get under this threshold:
If you still have more positions than you can tell the program to pick a random subset of the input with the parameter
--random followed by a seed integer.
By the default, the output data will use the departure from consensus values. If instead you want to look at the departure from the reference, just add the falg
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.