# Viewing frequencies in Auspice

**URL:** <https://nextstrain.discourse.group/t/viewing-frequencies-in-auspice/697>\
**Category:** Help and Getting Started\
**Created:** [September 2, 2021, 9:40pm UTC](https://nextstrain.discourse.group/t/viewing-frequencies-in-auspice/697 "2021-09-02T21:40:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thisismynextusername](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@thisismynextusername](https://nextstrain.discourse.group/u/thisismynextusername)\
**Post date:** [September 2, 2021, 9:40pm UTC](https://nextstrain.discourse.group/t/viewing-frequencies-in-auspice/697/1 "2021-09-02T21:40:45Z")

</div>

What is the output from the ncov tutorial ([https://github.com/nextstrain/ncov](https://github.com/nextstrain/ncov)) “getting started” build supposed to look like? When I run the build defined in `my_profiles/getting_started/builds.yaml`, it runs with no errors and few warnings (see log files in github repository below), but when I view the resulting `auspice/ncov_global.json` file in [https://auspice.us/](https://auspice.us/), I don’t see any clade frequencies.

The `my_profiles/getting_started/config.yaml` file uses the `defaults/parameters.yaml` file, which specifies the `auspice_config` file as `defaults/auspice_config.json`, which includes “frequencies” in the auspice panels.

In auspice, the left-hand panel says “(Frequencies cannot be normalized)”. I’ve tried running several other builds (with `builds.yaml` and `config.yaml` files based on “getting\_started” and “example” profiles and using data from either example data or data downloaded from GISAID), but none of the builds I’ve run show frequencies in auspice. In all of the builds I’ve tried running so far, Nextstrain does output a file to `auspice/ncov_global_tip-frequencies.json`. In some of the builds, like the one below, the data contained in the tip-frequencies.json file appear to make sense (see `tip-frequencies.png` in the repository below. I created the figure in python using the data in `auspice/ncov_global_tip-frequencies.json`).

Am I doing something wrong? How do I get frequencies to show in auspice?

Link to github repository: [https://github.com/philipshirk/ncov\_tutorial\_example](https://github.com/philipshirk/ncov_tutorial_example)  
Created using:

```
git clone https://github.com/nextstrain/ncov.git ncov_tutorial_example
cd ncov_tutorial_example/
conda activate nextstrain
nextstrain build . --cores 4 --use-conda --configfile 
./my_profiles/getting_started/builds.yaml –forceall
```

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [September 2, 2021, 11:23pm UTC](https://nextstrain.discourse.group/t/viewing-frequencies-in-auspice/697/2 "2021-09-02T23:23:13Z")

</div>

This is a problem with [auspice.us](https://auspice.us) - it [cannot display frequencies because it can’t read the sidecar `_tip-frequencies.json` file](https://github.com/nextstrain/auspice.us/issues/7).

> How do I get frequencies to show in auspice?

If you install [auspice](https://docs.nextstrain.org/projects/auspice/en/stable/introduction/install.html) or the [nextstrain CLI + docker](https://docs.nextstrain.org/projects/cli/en/stable/installation/) the you can view the datasets locally, including frequencies, via:

```sh
# to use auspice directly
auspice view --datasetDir <folder_with_output_JSONs>
# for the nextstrain CLI use
nextstrain view <folder_with_output_JSONs>

```

---

<div class="post-metadata">

**Author:** ![local\_install](https://avatars.discourse-cdn.com/v4/letter/l/9dc877/32.png) [@local\_install](https://nextstrain.discourse.group/u/local_install)\
**Post date:** [September 22, 2021, 9:18am UTC](https://nextstrain.discourse.group/t/viewing-frequencies-in-auspice/697/3 "2021-09-22T09:18:25Z")

</div>

Hi,

First thing first: thank you for this great work!

On my side, I am running a local install (Auspice 2.27.0) and although I included “frequencies” in “panels” list (auspice\_config.json) and the “tip-frequencies” JSON is available at the output of Augur 12.0.0 (cf. [Adding Frequencies Panel](https://nextstrain.discourse.group/t/adding-frequencies-panel/222)), I am unable to display frequencies panel. “Show frequencies” is even missing from the sidebar (it should be below “Show entropy” as I can see on [nextstrain.org](http://nextstrain.org)).  
What am I missing?

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![dbridges](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@dbridges](https://nextstrain.discourse.group/u/dbridges)\
**Post date:** [September 22, 2021, 1:58pm UTC](https://nextstrain.discourse.group/t/viewing-frequencies-in-auspice/697/4 "2021-09-22T13:58:47Z")

</div>

I asked @trs the exact same question. Here is his response:

- There are two things required for the frequencies panel:

1. a `tip-frequencies` ​ [sidecar data file](https://docs.nextstrain.org/en/latest/reference/data-formats.html)
2. enabling the panel by including `"frequencies` ​" in the `panels` ​ section of the Auspice config (see [this page](https://docs.nextstrain.org/projects/ncov/en/latest/analysis/customizing-visualization.html), last section). If you’re not using an Auspice config file, you can also use [`augur export v2` ​’s `--panels` ​ option](https://docs.nextstrain.org/projects/augur/en/stable/usage/cli/export.html#DISPLAY%20CONFIGURATION)

For me I had missed out number 2. Hope that helps, but looks like you have tried this already…

---

<div class="post-metadata">

**Author:** ![local\_install](https://avatars.discourse-cdn.com/v4/letter/l/9dc877/32.png) [@local\_install](https://nextstrain.discourse.group/u/local_install)\
**Post date:** [September 22, 2021, 3:37pm UTC](https://nextstrain.discourse.group/t/viewing-frequencies-in-auspice/697/5 "2021-09-22T15:37:03Z")

</div>

Good point, thank you @dbridges: I modified auspice\_config.json inside default/ directory instead of modifying my\_auspice\_config.json inside my profile directory.

Have a nice day
