reseek icon indicating copy to clipboard operation
reseek copied to clipboard

Target and query columns are swapped in fast mode

Open Pooryamb opened this issue 6 months ago • 1 comments

Hi,

Thanks for your amazing tool. I just noticed that in my experiment, "query" and "target" columns are swapped when search is conducted in "fast" mode. You can reproduce the results by downloading the attached file and using the following commands

tar -xzf dbs.tar.gz
reseek -convert query.cal -bca query.bca
reseek -convert target.cal -bca target.bca
reseek -search ./query.bca -db ./target.bca -output q_t_fast.tsv -columns query+target+qlo+qhi+ql+tlo+thi+tl+pctid+evalue+aq -fast -evalue 1e-3
reseek -search ./query.bca -db ./target.bca -output q_t_sens.tsv -columns query+target+qlo+qhi+ql+tlo+thi+tl+pctid+evalue+aq -sensitive -evalue 1e-3

Direct comparison of q_t_fast.tsv and q_t_sens.tsv shows that "query" and "target" columns have been swapped.

Thanks for looking into the issue

dbs.tar.gz

Pooryamb avatar Jun 04 '25 19:06 Pooryamb

you're right, thanks for the heads up.

rcedgar avatar Jun 04 '25 20:06 rcedgar