From 4deb629efe41dfc1ef157b695b2c71ac9567ffad Mon Sep 17 00:00:00 2001 From: lcoombe Date: Wed, 11 Sep 2024 15:33:17 -0700 Subject: [PATCH] Fix to seqindex.cpp to allow tabs between header and comments in input files --- src/seqindex.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/seqindex.cpp b/src/seqindex.cpp index 6d6e895..91cdd4d 100644 --- a/src/seqindex.cpp +++ b/src/seqindex.cpp @@ -30,6 +30,7 @@ SeqIndex::SeqIndex(const std::string& seqs_filepath) /*id_startbyte = byte + 1;*/ id_endbyte = endbyte; id = btllib::split(line, " ")[0].substr(1); + id = btllib::split(id, "\t")[0]; } else if (i % 4 == 1) { seq_start = id_endbyte + 1; seq_len = endbyte - id_endbyte - 1;