# Data displayed on nexstrain.org vs downloadable data

**URL:** <https://nextstrain.discourse.group/t/data-displayed-on-nexstrain-org-vs-downloadable-data/1902>\
**Category:** Help and Getting Started\
**Created:** [June 4, 2025, 7:55am UTC](https://nextstrain.discourse.group/t/data-displayed-on-nexstrain-org-vs-downloadable-data/1902 "2025-06-04T07:55:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![samf](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@samf](https://nextstrain.discourse.group/u/samf)\
**Post date:** [June 4, 2025, 7:55am UTC](https://nextstrain.discourse.group/t/data-displayed-on-nexstrain-org-vs-downloadable-data/1902/1 "2025-06-04T07:55:20Z")

</div>

Hello,

Thank you for all the amazing work you do !

I recently downloaded the dengue data from Nextstrain ([https://data.nextstrain.org/files/workflows/dengue/sequences\_all.fasta.zst](https://data.nextstrain.org/files/workflows/dengue/sequences_all.fasta.zst)). The number of sequences there is around 52000, while on the website ([auspice](https://nextstrain.org/dengue/all/genome)) only around 4000 sequences seem to be used to construct the tree. Additionally, in the website, there are also more sequences labeled as denv1 and denv2 than there are sequences when selecting all serotypes. Is this just a display error, or is the data used for the tree different than the data available for download?

---

<div class="post-metadata">

**Author:** ![quietjen](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/quietjen/32/713_2.png) [@quietjen](https://nextstrain.discourse.group/u/quietjen)\
**Post date:** [June 4, 2025, 4:23pm UTC](https://nextstrain.discourse.group/t/data-displayed-on-nexstrain-org-vs-downloadable-data/1902/2 "2025-06-04T16:23:08Z")

</div>

Hello,

Thanks for posting! Yes, the data used for the tree is different than the data available for download. The downloadable dengue data includes all curated records. However, to keep the website responsive (slows down on large trees), we subsample those records to approximately 4000 sequences for the tree visualization.

The subsampling is configured in [defaults/config\_dengue.yaml](https://github.com/nextstrain/dengue/blob/e007327d508941aec360263b7f3c245adda2177a/phylogenetic/defaults/config_dengue.yaml#L13-L17) with the following criteria:

- Subsample approximately 4000 sequences such that
- sequences are longer than a minimum length (5000nt for genome, 1000nt for E gene) and
- they are sampled across time and geolocation (by `year` and `region`)

The subsampling is probabilistic, so the exact number of sequences may vary between runs. Although, in the case of [denv4](https://next.nextstrain.org/dengue/denv4/genome), for example, only 1540 sequences meet the 5000nt length requirement (based on the metadata), so fewer samples are included compared to [denv1](https://next.nextstrain.org/dengue/denv1/genome) or [denv2](https://next.nextstrain.org/dengue/denv2/genome).

Hope this helps! Let me know if you have any other questions or would like more clarification

---

<div class="post-metadata">

**Author:** ![samf](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@samf](https://nextstrain.discourse.group/u/samf)\
**Post date:** [June 5, 2025, 7:22am UTC](https://nextstrain.discourse.group/t/data-displayed-on-nexstrain-org-vs-downloadable-data/1902/3 "2025-06-05T07:22:21Z")

</div>

That helps, thank you !
