Skip to content

Add missing Taxonium link-outs - #1112

Open
theosanderson wants to merge 1 commit into
mainfrom
agent/add-missing-taxonium-links
Open

theosanderson wants to merge 1 commit into
mainfrom
agent/add-missing-taxonium-links

Conversation

@theosanderson

@theosanderson theosanderson commented Aug 14, 2026

Copy link
Copy Markdown
Member

Summary

  • add viral UShER/Taxonium placement links for dengue serotypes 1–4
  • add a placement link for the Andes virus M segment
  • add placement links for the CCHF L, M, and S segments
  • select the matching sequence/reference or segment in each Pathoplexus download placeholder

Why

Matching trees and reference assets are now published in the viral UShER tree catalogue, but these Pathoplexus organisms did not expose them through Link Outs. This lets users send selected sequences directly to Taxonium for placement and visualization.

Bundibugyo Ebola remains excluded because there is no matching published viral UShER tree.

Validation

  • parsed loculus_values/values.yaml successfully with YAML aliases enabled
  • verified all 32 newly referenced tree, reference FASTA/GenBank, and metadata URLs return HTTP 200
  • ran git diff --check

🚀 Preview: Add preview label to enable

@corneliusroemer corneliusroemer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check a CCHF linkout, looks good. Taking down preview as we're starved and need raw reads/zika previews

@theosanderson
theosanderson marked this pull request as ready for review August 21, 2026 16:26
@claude

claude Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Claude finished @theosanderson's task in 3m 11s —— View job


Code review

  • Read the PR diff
  • Compare against existing viral UShER link-out conventions in values.yaml
  • Verify segment names and reference accessions
  • Post review

Config-only change, so the review is about consistency and correctness of the identifiers rather than logic. One thing worth fixing, three worth a look — all left as inline comments.

Verified correct:

  • Reference accessions match the segment/serotype in every new entry: DENV-1 NC_001477, DENV-2 NC_001474, DENV-3 NC_001475, DENV-4 NC_002640; Andes M NC_003467; CCHF L NC_005301, M NC_005300, S NC_005302. No cross-wiring between segments, which is the easy mistake here.
  • The {{[unalignedNucleotideSequences:<seg>|fasta]}} placeholders use segment names that actually exist — DENV-1DENV-4 are the dengue enaDeposition reference keys (values.yaml:2240), and L/M/S match nucleotideSequences: [L, M, S] for both andv (:2487) and cchf (:2612).
  • Query-parameter set and ordering match the existing entries exactly; the tree directory name is consistent across all four asset URLs within each entry.
  • No security or performance surface — these are static outbound URLs with no user-controlled interpolation beyond the existing placeholder mechanism.

Not verified: network egress is blocked in this environment, so I could not re-check the 32 asset URLs myself or confirm whether Orthohantavirus_andesense_L/_S trees exist upstream. Relying on your stated HTTP 200 check for those. The category grouping behaviour lives in upstream Loculus, which isn't present in this checkout (monorepo/ only carries the overlay files), so I reasoned about the grouping from the in-file convention rather than the rendering code.
agent/add-missing-taxonium-links

Comment on lines +2090 to +2101
- name: "Place on viral UShER tree (DENV-1)"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/treetime_rerooted_NC_001477.1.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/treetime_rerooted_NC_001477.1.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-1|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 1}}"
- name: "Place on viral UShER tree (DENV-2)"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/treetime_rerooted_NC_001474.2.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/treetime_rerooted_NC_001474.2.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-2|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 2}}"
- name: "Place on viral UShER tree (DENV-3)"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/treetime_rerooted_NC_001475.2.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/treetime_rerooted_NC_001475.2.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-3|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 3}}"
- name: "Place on viral UShER tree (DENV-4)"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/treetime_rerooted_NC_002640.1.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/treetime_rerooted_NC_002640.1.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-4|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 4}}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The four dengue entries are missing category: "Viral UShER", while the Andes and CCHF entries added in this same PR do set it (lines 2507, 2644, 2648, 2652). Every other dengue link-out already carries a category (Nextclade, Sealion, Other), so these four will be the only uncategorised items in the dengue list and will render outside the grouping rather than in a "Viral UShER" group alongside the other organisms.

Suggested change
- name: "Place on viral UShER tree (DENV-1)"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/treetime_rerooted_NC_001477.1.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/treetime_rerooted_NC_001477.1.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-1|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 1}}"
- name: "Place on viral UShER tree (DENV-2)"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/treetime_rerooted_NC_001474.2.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/treetime_rerooted_NC_001474.2.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-2|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 2}}"
- name: "Place on viral UShER tree (DENV-3)"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/treetime_rerooted_NC_001475.2.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/treetime_rerooted_NC_001475.2.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-3|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 3}}"
- name: "Place on viral UShER tree (DENV-4)"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/treetime_rerooted_NC_002640.1.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/treetime_rerooted_NC_002640.1.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-4|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 4}}"
- name: "Place on viral UShER tree (DENV-1)"
category: "Viral UShER"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/treetime_rerooted_NC_001477.1.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/treetime_rerooted_NC_001477.1.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-1|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 1}}"
- name: "Place on viral UShER tree (DENV-2)"
category: "Viral UShER"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/treetime_rerooted_NC_001474.2.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/treetime_rerooted_NC_001474.2.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_2/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-2|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 2}}"
- name: "Place on viral UShER tree (DENV-3)"
category: "Viral UShER"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/treetime_rerooted_NC_001475.2.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/treetime_rerooted_NC_001475.2.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_3/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-3|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 3}}"
- name: "Place on viral UShER tree (DENV-4)"
category: "Viral UShER"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/treetime_rerooted_NC_002640.1.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/treetime_rerooted_NC_002640.1.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_4/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-4|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 4}}"

Fix this →

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be good to add the categories

Comment thread loculus_values/values.yaml
Comment thread loculus_values/values.yaml
url: "https://mapoplexus.genomium.org/?url={{[metadata]}}"
- name: "Place on viral UShER tree (DENV-1)"
maxNumberOfRecommendedEntries: 2500
url: "https://www.taxonium.org/build?mode=no_genbank&startingTreeUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/optimized.pb.gz}}&refGbffUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/treetime_rerooted_NC_001477.1.gbff}}&refFastaUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/treetime_rerooted_NC_001477.1.fa}}&originalMetadataUrl={{https://angiehinrichs.github.io/viral_usher_trees/trees/dengue_virus_type_1/metadata.tsv.gz}}&fastaUrl={{[unalignedNucleotideSequences:DENV-1|fasta]}}&metadataUrl={{[metadata]}}&organism={{dengue virus type 1}}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: organism={{dengue virus type 1}} is lower-cased, whereas every other UShER link-out passes a capitalised name (Zaire ebolavirus, West Nile virus, Yellow fever virus, Monkeypox virus clade Ia). This string is shown in the Taxonium UI, so it will read as inconsistent — Dengue virus type 1 would match. Applies to all four dengue entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants