From acba1145449e0cdeb1a6996d59d95a24794dd53e Mon Sep 17 00:00:00 2001 From: Jouni Siren Date: Mon, 4 Dec 2023 19:52:13 -0800 Subject: [PATCH] Version 1.0 --- include/gbwtgraph/utils.h | 5 +++-- src/utils.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/gbwtgraph/utils.h b/include/gbwtgraph/utils.h index 3f6c942..6fcb379 100644 --- a/include/gbwtgraph/utils.h +++ b/include/gbwtgraph/utils.h @@ -107,8 +107,8 @@ struct Version static std::string str(bool verbose = false); static void print(std::ostream& out, const std::string& tool_name, bool verbose = false, size_t new_lines = 2); - constexpr static size_t MAJOR_VERSION = 0; - constexpr static size_t MINOR_VERSION = 9; + constexpr static size_t MAJOR_VERSION = 1; + constexpr static size_t MINOR_VERSION = 0; constexpr static size_t PATCH_VERSION = 0; constexpr static size_t GBZ_VERSION = 1; @@ -120,6 +120,7 @@ struct Version }; //------------------------------------------------------------------------------ + // Because we want to be able to work with path metadata with just the GBWT, we // expose the utility functions for dealing with it. The packing format only // has to touch these functions and MetadataBuilder, and some of the GBWTGraph diff --git a/src/utils.cpp b/src/utils.cpp index 957583d..f21bef6 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -28,10 +28,10 @@ const std::string REFERENCE_PATH_SAMPLE_NAME = "_gbwt_ref"; const std::string REFERENCE_SAMPLE_LIST_GBWT_TAG = "reference_samples"; const std::string REFERENCE_SAMPLE_LIST_GFA_TAG = "RS"; + // Since spaces are allowed in GFA tags, we can use them as sample name separators. const char REFERENCE_SAMPLE_LIST_SEPARATOR = ' '; - //------------------------------------------------------------------------------ // Other class variables.