Skip to content

Commit

Permalink
Fix cluster reassign + tm-align #383
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Nov 29, 2024
1 parent b43e63d commit 3cad136
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/workflow/StructureCluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ int structurecluster(int argc, const char **argv, const Command& command) {
par.covMode = swapedCovMode;
cmd.addVariable("PREFILTER_REASSIGN_PAR", par.createParameterString(par.prefilter).c_str());
par.covMode = tmpCovMode;
cmd.addVariable("ALIGNMENT_REASSIGN_PAR", par.createParameterString(par.structurealign).c_str());
if (par.alignmentType == LocalParameters::ALIGNMENT_TYPE_TMALIGN) {
cmd.addVariable("ALIGNMENT_REASSIGN_PAR", par.createParameterString(par.tmalign).c_str());
} else if (par.alignmentType == LocalParameters::ALIGNMENT_TYPE_3DI_AA || par.alignmentType == LocalParameters::ALIGNMENT_TYPE_3DI) {
cmd.addVariable("ALIGNMENT_REASSIGN_PAR", par.createParameterString(par.structurealign).c_str());
}
cmd.addVariable("MERGEDBS_PAR", par.createParameterString(par.mergedbs).c_str());

std::string program = tmpDir + "/clustering.sh";
Expand Down

0 comments on commit 3cad136

Please sign in to comment.