Skip to content

Commit

Permalink
Add db-load-mode support to pairaln
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Sep 22, 2021
1 parent 5e245d1 commit 3e92abf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MMseqsBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1134,11 +1134,11 @@ std::vector<Command> baseCommands = {
{"resultDB", DbType::ACCESS_MODE_INPUT, DbType::NEED_DATA, &DbValidator::resultDb },
{"resultDB", DbType::ACCESS_MODE_INPUT, DbType::NEED_DATA, &DbValidator::resultDb },
{"profileDB", DbType::ACCESS_MODE_OUTPUT, DbType::NEED_DATA, &DbValidator::profileDb }}},
{"pairaln", pairaln, &par.threadsandcompression, COMMAND_EXPERT,
"Pair sequences to match best protein A and B from an species",
{"pairaln", pairaln, &par.pairaln, COMMAND_EXPERT,
"Pair sequences to match best protein A and B from a species",
NULL,
"Martin Steinegger <[email protected]>",
"<i:queryDB> <i:targetDB> <i:alnDB> <o:alnDB|ca3mDB>",
"<i:queryDB> <i:targetDB> <i:alnDB> <o:alnDB>",
CITATION_MMSEQS2, {{"queryDB", DbType::ACCESS_MODE_INPUT, DbType::NEED_DATA, &DbValidator::sequenceDb },
{"targetDB", DbType::ACCESS_MODE_INPUT, DbType::NEED_DATA|DbType::NEED_TAXONOMY, &DbValidator::sequenceDb },
{"alnDB", DbType::ACCESS_MODE_INPUT, DbType::NEED_DATA, &DbValidator::alignmentDb },
Expand Down
5 changes: 5 additions & 0 deletions src/commons/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,11 @@ Parameters::Parameters():
expand2profile.push_back(&PARAM_THREADS);
expand2profile.push_back(&PARAM_V);
pairaln.push_back(&PARAM_PRELOAD_MODE);
pairaln.push_back(&PARAM_COMPRESSED);
pairaln.push_back(&PARAM_THREADS);
pairaln.push_back(&PARAM_V);
sortresult.push_back(&PARAM_COMPRESSED);
sortresult.push_back(&PARAM_THREADS);
sortresult.push_back(&PARAM_V);
Expand Down
1 change: 1 addition & 0 deletions src/commons/Parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,7 @@ class Parameters {
std::vector<MMseqsParameter*> multihitsearch;
std::vector<MMseqsParameter*> expandaln;
std::vector<MMseqsParameter*> expand2profile;
std::vector<MMseqsParameter*> pairaln;
std::vector<MMseqsParameter*> sortresult;
std::vector<MMseqsParameter*> enrichworkflow;
std::vector<MMseqsParameter*> databases;
Expand Down

0 comments on commit 3e92abf

Please sign in to comment.