# Nextstrain files/datasets in Google Cloud (GCP)?

**URL:** <https://nextstrain.discourse.group/t/nextstrain-files-datasets-in-google-cloud-gcp/1779>\
**Category:** Help and Getting Started\
**Created:** [November 22, 2024, 12:47am UTC](https://nextstrain.discourse.group/t/nextstrain-files-datasets-in-google-cloud-gcp/1779 "2024-11-22T00:47:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AngieHinrichs](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/angiehinrichs/32/78_2.png) [@AngieHinrichs](https://nextstrain.discourse.group/u/AngieHinrichs)\
**Post date:** [November 22, 2024, 12:47am UTC](https://nextstrain.discourse.group/t/nextstrain-files-datasets-in-google-cloud-gcp/1779/1 "2024-11-22T00:47:22Z")

</div>

Hi! I’m interested in pulling down your MPXV Clade I open data tree(s) and metadata for use in the UShER web interface with attribution, if that’s OK with you. I.e. people could upload sequences to have them placed in your tree, or search for names/IDs, and get back subtrees to view using `nextstrain.org/fetch/`.

I found the documentation page [Data files — Nextstrain documentation](https://docs.nextstrain.org/en/latest/reference/data-files.html) which says gs://nextstrain-data has subdirectories `files/datasets/...` but when I do `gsutil ls -l gs://nextstrain-data/files/` it shows only ncov and workflows:

```auto
                                 gs://nextstrain-data/files/ncov/
                                 gs://nextstrain-data/files/workflows/

```

– no `datasets`. Is `files/datasets/` planned for future work? I see gs://nextstrain-data/files/workflows/mpox/ has sequences and metadata that could be used to build trees, just wondering if the trees are also available as easy downloads or if I’m overlooking something.

---

<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:** [November 22, 2024, 12:59am UTC](https://nextstrain.discourse.group/t/nextstrain-files-datasets-in-google-cloud-gcp/1779/2 "2024-11-22T00:59:14Z")

</div>

We didn’t end up adding the “build files” (to use the language of the linked docs page). From memory we didn’t think there would be demand, but also it’s always easier to not do something!

> just wondering if the trees are also available

Yes - either via S3 (and I presume google cloud, but I haven’t tested):

- `s3://nextstrain-data/mpox_clade-I.json`
- `s3://nextstrain-data/mpox_clade-I_root-sequence.json`

or via the RESTful API

- `curl -H 'Accept:application/json' https://nextstrain.org/mpox/clade-I`
- `curl -H 'Accept:application/vnd.nextstrain.dataset.root-sequence+json' https://nextstrain.org/mpox/clade-I`

or via the nextstrain CLI `nextstrain remote download nextstrain.org/mpox/clade-I`

The latter two are nicest as you can tag on `@YYYY-MM-DD` to the URLs and get the snapshot of the tree that was live on that day.

---

<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:** [November 22, 2024, 1:01am UTC](https://nextstrain.discourse.group/t/nextstrain-files-datasets-in-google-cloud-gcp/1779/3 "2024-11-22T01:01:03Z")

</div>

> I’m interested in pulling down your MPXV Clade I open data tree(s) and metadata for use in the UShER web interface with attribution, if that’s OK with you.

I’ll raise this with the wider group and get back to you. I don’t see an issue myself – all data’s via NCBI after all.

---

<div class="post-metadata">

**Author:** ![AngieHinrichs](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/angiehinrichs/32/78_2.png) [@AngieHinrichs](https://nextstrain.discourse.group/u/AngieHinrichs)\
**Post date:** [November 22, 2024, 7:36pm UTC](https://nextstrain.discourse.group/t/nextstrain-files-datasets-in-google-cloud-gcp/1779/4 "2024-11-22T19:36:36Z")

</div>

Thanks so much for your answers James! Especially for including the tree’s root sequence, that is important for UShER.

As I look at the clade I tree more closely, I think for UShER purposes it would be better if I make my own separate trees for Ia and Ib because they’re so diverged from each other. So this question is not at all urgent. But in the long term I would like to make a workflow where one can add a new pathogen to usher.bio starting with one of Nextstrain’s many excellent trees, or even perhaps an Augur build. 🙂
