From fd594ba02f48383a3950445c601a73642ac3b062 Mon Sep 17 00:00:00 2001 From: Sebastian Deorowicz Date: Fri, 28 Jun 2024 12:25:51 +0200 Subject: [PATCH] Support for smallcaps --- src/defs.h | 8 ++++---- src/seq_reservoir.h | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/defs.h b/src/defs.h index 1663737..c3c76aa 100644 --- a/src/defs.h +++ b/src/defs.h @@ -4,8 +4,8 @@ // // Copyright(C) 2024-2024, S.Deorowicz, A.Gudys // -// Version: 1.0.0 -// Date : 2024-06-26 +// Version: 1.0.1 +// Date : 2024-06-28 // ******************************************************************************************* #pragma once @@ -15,8 +15,8 @@ #include #include "params.h" -const std::string LZ_ANI_VER = "lz-ani 1.0"; -const std::string LZ_ANI_DATE = "2024-06-26"; +const std::string LZ_ANI_VER = "lz-ani 1.0.1"; +const std::string LZ_ANI_DATE = "2024-06-28"; const std::string LZ_ANI_AUTHORS = "Sebastian Deorowicz, Adam Gudys"; const std::string LZ_ANI_INFO = LZ_ANI_VER + " (" + LZ_ANI_DATE + ") by " + LZ_ANI_AUTHORS; diff --git a/src/seq_reservoir.h b/src/seq_reservoir.h index 78ad9df..16f2e8b 100644 --- a/src/seq_reservoir.h +++ b/src/seq_reservoir.h @@ -4,8 +4,8 @@ // // Copyright(C) 2024-2024, S.Deorowicz, A.Gudys // -// Version: 1.0.0 -// Date : 2024-06-26 +// Version: 1.0.1 +// Date : 2024-06-28 // ******************************************************************************************* #pragma once @@ -127,10 +127,10 @@ class CSeqReservoir dna_code{} { fill(dna_code.begin(), dna_code.end(), code_N_seq); - dna_code['A'] = code_A; - dna_code['C'] = code_C; - dna_code['G'] = code_G; - dna_code['T'] = code_T; + dna_code['A'] = dna_code['a'] = code_A; + dna_code['C'] = dna_code['c'] = code_C; + dna_code['G'] = dna_code['g'] = code_G; + dna_code['T'] = dna_code['t'] = code_T; } bool load_fasta(const vector& fasta_files, uint32_t sep_len, uint32_t verbosity_level);