Commit 581a93b6 authored by Carsten Kemena's avatar Carsten Kemena

change to provide database path instead of prefix

parent 86ca63f9
......@@ -266,7 +266,7 @@ main(int argc, char const *argv[])
general.add_options()
("help,h", "Produces this help message")
("in,i", po::value<fs::path>(&inFile)->required(), "The input file")
("database,d", po::value<fs::path>(&databaseFile)->required(), "The database to use")
("database,d", po::value<fs::path>(&databaseFile)->required(), "The path to the database")
//("nThreads,t", po::value<int>(&nThreads)->default_value(1), "Number of threads to use")
;
......@@ -350,8 +350,8 @@ main(int argc, char const *argv[])
vector<multiset<pair<size_t, pair<unsigned short, bool> > > >assignments;
assignWords(databaseFile.string() + "_fwd.db", seqSet, assignments, false);
assignWords(databaseFile.string() + "_rev.db", seqSet, assignments, true);
assignWords(databaseFile.string() + "/forward.db", seqSet, assignments, false);
assignWords(databaseFile.string() + "/reverse.db", seqSet, assignments, true);
if (!detailedFile.empty())
......@@ -370,7 +370,7 @@ main(int argc, char const *argv[])
std::map<std::string, BioSeqDataLib::DomainInfo> infoSet;
try
{
readDomainInfo(databaseFile.string()+"-info.txt", infoSet);
readDomainInfo(databaseFile.string()+"/info.txt", infoSet);
}
catch (const std::ios_base::failure &e)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment