Skip to content

Commit

Permalink
fix tda
Browse files Browse the repository at this point in the history
  • Loading branch information
cbielow committed Dec 18, 2023
1 parent 3d395bd commit 2ae681b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/topp/MSGFPlusAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,10 @@ class MSGFPlusAdapter :
process_params << java_memory
<< "-cp" << executable
<< "edu.ucsd.msjava.msdbsearch.BuildSA"
<< "-d" << db_name.toQString();
<< "-d" << db_name.toQString()
<< "-tda" << 0; // do NOT add & index a reverse DB (i.e. '-tda=2'), since this DB may already contain FW+BW,
// and duplicating again will cause MSGF+ to error with 'too many redundant proteins'

// collect all output since MSGF+ might return 'success' even though it did not like the command arguments (e.g. if the version is too old)
// If no output file is produced, we can print the stderr below.
String proc_stdout, proc_stderr;
Expand Down

0 comments on commit 2ae681b

Please sign in to comment.