steineggerlab / foldseek

Foldseek enables fast and sensitive comparisons of large structure sets.
https://foldseek.com
GNU General Public License v3.0
695 stars 92 forks source link

TM-score reported in the HTML is different from the one in the tabular output #206

Open apcamargo opened 8 months ago

apcamargo commented 8 months ago

I'm comparing the HTML file generated with convertalis and a tabular output and I noticed that there's is a discrepancy in the reported TM-Score.

image

query        target      eval        alntmscore    qtmscore    ttmscore
----------   ---------   ---------   -----------   ---------   ---------
test_a6147   PF04466     8.307E-06   5.922E-01     1.809E-01   5.922E-01
test_a6147   PF03354     5.112E-05   6.269E-01     1.674E-01   6.269E-01
test_a6147   PF03237     1.537E-04   6.329E-01     1.662E-01   5.198E-01
test_a6147   NF033889    4.443E-08   2.722E-01     1.897E-01   2.722E-01
test_a6147   TIGR01547   3.258E-06   3.637E-01     2.083E-01   3.637E-01
test_a6147   PF05876     7.591E-04   5.613E-01     1.554E-01   4.329E-01
test_a6147   TIGR02858   9.996E-04   3.579E-01     1.488E-01   3.579E-01

See below the commands I used to generate the outputs and a zip file containing the HTML and TSV files.

foldseek convertalis query_db/query_db target_db/target_db search_db/search_db output.tsv --format-output query,target,evalue,alntmscore,qtmscore,ttmscore
foldseek convertalis --format-mode 3 query_db/query_db target_db/target_db search_db/search_db output.html

foldseek_output.zip