From 0692bd43a4fdbcda9e0c8f79ad2ee56dd1f68a5e Mon Sep 17 00:00:00 2001 From: ivan-aksamentov Date: Wed, 29 May 2024 08:04:52 +0200 Subject: [PATCH] chore: release cli & web v3.6.0 --- CHANGELOG.md | 25 +++++++++++++++++++++++++ Cargo.lock | 6 +++--- Cargo.toml | 2 +- packages/nextclade-web/package.json | 2 +- 4 files changed, 30 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb14c28d1..ec64ffcd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +## Nextclade 3.6.0 + + +#### Make reference tree node attribute `clade_membership` optional + +Previously Nextclade required clade information to be always present in the input reference tree in the form of the `.node_attrs.clade_membership` field on each tree node. However, for certain datasets we might not have or need clade information. Making such datasets required workarounds, such as adding an empty string to the `clade_membership` field. + +In this version we make `clade_membership` field optional. This allows to make datasets without clades. This is useful when working with organisms for which clades don't make sense or for which the nomenclature is not sufficiently established. This is also useful for dataset authors, who can now bootstrap simple datasets without clades first and then add clades and other features gradually later. + +With this change, if `clade_membership` is not present in the dataset's reference tree nodes, then + + - Clade assignment will not run + + - Any clade-related functionality will not work + + - Output JSON/NDJSON result entries will not contain clade field + + - Clade column in output CSV/TSV will be empty + + - Clade column in Nextclade Web will be empty + + +This change does not affect any other parts of the application. Notably, clade-like attributes (from `.meta.extensions.nextclade.clade_node_attrs`), if present, are still assigned and being written to the output as before. + + ## Nextclade 3.5.0 ### Algorithm diff --git a/Cargo.lock b/Cargo.lock index cb9471b3a..9661ca2fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1711,7 +1711,7 @@ dependencies = [ [[package]] name = "nextclade" -version = "3.5.0" +version = "3.6.0" dependencies = [ "assert2", "atty", @@ -1774,7 +1774,7 @@ dependencies = [ [[package]] name = "nextclade-cli" -version = "3.5.0" +version = "3.6.0" dependencies = [ "assert2", "clap", @@ -1816,7 +1816,7 @@ dependencies = [ [[package]] name = "nextclade-web" -version = "3.5.0" +version = "3.6.0" dependencies = [ "assert2", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 0ad6ae186..f3276bab4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ exclude = [ [workspace.package] name = "nextclade" -version = "3.5.0" +version = "3.6.0" description = "Alignment, mutation calling, phylogenetic placement, clade assignment and quality control checks for viral genetic sequences. Library module." repository = "https://github.com/nextstrain/nextclade" documentation = "https://docs.nextstrain.org/projects/nextclade/en/stable/" diff --git a/packages/nextclade-web/package.json b/packages/nextclade-web/package.json index 6f3b95000..2fe000aa2 100644 --- a/packages/nextclade-web/package.json +++ b/packages/nextclade-web/package.json @@ -1,6 +1,6 @@ { "name": "@nextstrain/nextclade-web", - "version": "3.5.0", + "version": "3.6.0", "description": "Clade assignment, mutation calling, and sequence quality checks", "homepage": "https://clades.nextstrain.org", "repository": {