Skip to content

Commit

Permalink
Use NOSORT in concatdbs to avoid issues with differently ordered part…
Browse files Browse the repository at this point in the history
…s of sequence dbs (e.g. header and seq db)
  • Loading branch information
milot-mirdita committed Apr 18, 2023
1 parent dd21786 commit ea17d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commons/DBConcat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ DBConcat::DBConcat(const std::string &dataFileNameA, const std::string &indexFil
}
DBReader<unsigned int> dbA(dataFileNameA.c_str(), indexFileNameA.c_str(), threads, mode);
DBReader<unsigned int> dbB(dataFileNameB.c_str(), indexFileNameB.c_str(), threads, mode);
dbA.open(DBReader<unsigned int>::LINEAR_ACCCESS);
dbB.open(DBReader<unsigned int>::LINEAR_ACCCESS);
dbA.open(DBReader<unsigned int>::NOSORT);
dbB.open(DBReader<unsigned int>::NOSORT);
indexSizeA = dbA.getSize();
indexSizeB = dbB.getSize();

Expand Down

0 comments on commit ea17d30

Please sign in to comment.