# Loss of country information in final auspice output

**URL:** <https://nextstrain.discourse.group/t/loss-of-country-information-in-final-auspice-output/446>\
**Category:** Help and Getting Started\
**Created:** [March 20, 2021, 10:31am UTC](https://nextstrain.discourse.group/t/loss-of-country-information-in-final-auspice-output/446 "2021-03-20T10:31:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaotli](https://avatars.discourse-cdn.com/v4/letter/y/ecd19e/32.png) [@yaotli](https://nextstrain.discourse.group/u/yaotli)\
**Post date:** [March 20, 2021, 10:31am UTC](https://nextstrain.discourse.group/t/loss-of-country-information-in-final-auspice-output/446/1 "2021-03-20T10:31:04Z")

</div>

Hi,  
I just prepared a build with a focus of a country (n~200) and subsampled global samples excluding the focal country (n~4800, with 5 in ‘country year month’). The pipeline ran generally well. But in the output visualized with auspice, apparently a substantial sequences lost their ‘country’ information. In fact, only sequences from the same region (Asia) as my focal country keep their country information, the other have region (e.g. Africa, Europe…) as their country.

My subsampling scheme is as follow:

subsampling:  
scheme:  
# Focal samples for country  
country:  
group\_by: “year month”  
max\_sequences: 1000  
exclude: “–exclude-where ‘country!={country}’”

```
global:
  group_by: "country year month"
  seq_per_group: 5
  exclude: "--exclude-where 'country!={country}'"
  priorities:
    type: "proximity"
    focus: "country"

```

Any help would be greatly appreciated! Thanks in advance.

---

<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:** [March 21, 2021, 9:58pm UTC](https://nextstrain.discourse.group/t/loss-of-country-information-in-final-auspice-output/446/2 "2021-03-21T21:58:28Z")

</div>

We designed this functionality for our regional builds (e.g. [nextstrain/ncov/asia](https://nextstrain.org/ncov/asia?c=country)) where we wanted to highlight those countries from the region (e.g. Asia). If this is happening for your build, it implies the snakemake `rule adjust_metadata_regions` is running. This leads me to believe you have `region: Asia` set in your build name (the `builds` block inside `builds.yaml`); removing this should mean the rule is no longer run. If this is not the case, could you include the `builds` block for your run so we can debug further?

---

<div class="post-metadata">

**Author:** ![yaotli](https://avatars.discourse-cdn.com/v4/letter/y/ecd19e/32.png) [@yaotli](https://nextstrain.discourse.group/u/yaotli)\
**Post date:** [March 22, 2021, 8:58am UTC](https://nextstrain.discourse.group/t/loss-of-country-information-in-final-auspice-output/446/3 "2021-03-22T08:58:05Z")

</div>

Yes, you are right. After removing `region: Asia`, the problem resolved.

Thank you so much for your reply.
