Dear Michael
Thanks for this great and really fast search tool!
Today I spent quite some time figuring out why sage was failing on me and generating lfq.tsv files containing only the header.
In the hope the next person hitting this roadblock spending less time on it than I did today, I file this issue.
Observed behavior
If the FASTA protein database does not contain decoys and the config doesn't indicate that they should be generate, sage fails silently with only the following warning:
[2025-09-22T15:56:36Z WARN sage] linear model fitting failed, falling back to heuristic discriminant score
The config would be the following:
{
"database": {
...
"generate_decoys": true,
},
...
}
And the database one with no decoys.
Expected behavior
I would expect sage to fail in this case with a warning that there are no decoys in the database and that they either should be added to the added or the config changed so they are generated by sage.
Dear Michael
Thanks for this great and really fast search tool!
Today I spent quite some time figuring out why sage was failing on me and generating
lfq.tsvfiles containing only the header.In the hope the next person hitting this roadblock spending less time on it than I did today, I file this issue.
Observed behavior
If the FASTA protein database does not contain decoys and the config doesn't indicate that they should be generate, sage fails silently with only the following warning:
The config would be the following:
{ "database": { ... "generate_decoys": true, }, ... }And the database one with no decoys.
Expected behavior
I would expect sage to fail in this case with a warning that there are no decoys in the database and that they either should be added to the added or the config changed so they are generated by sage.