Skip to content

Commit

Permalink
Only fetch cSeqId if its needed in expand
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Mar 7, 2024
1 parent cb714dd commit f6c9880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/expandaln.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ int expandaln(int argc, const char **argv, const Command& command, bool returnAl
continue;
}
} else {
size_t cSeqId = cReader->getId(cSeqKey);
if (returnAlnRes == false || par.expansionMode == Parameters::EXPAND_RESCORE_BACKTRACE) {
size_t cSeqId = cReader->getId(cSeqKey);
cSeq.mapSequence(cSeqId, cSeqKey, cReader->getData(cSeqId, thread_idx), cReader->getSeqLen(cSeqId));
}
//rescoreResultByBacktrace(resultAc, aSeq, cSeq, subMat, compositionBias, par.gapOpen.values.aminoacid(), par.gapExtend.values.aminoacid());
Expand Down

0 comments on commit f6c9880

Please sign in to comment.