steineggerlab / foldseek

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

Error when Creating DB from Existing DB File #200

Open diegozea opened 11 months ago

diegozea commented 11 months ago

Expected Behavior

I expected to be able to create a database from an existing DB file as the command suggests:

foldseek createdb <i:PDB|mmCIF[.gz]|tar|DB> ... <i:PDB|mmCIF[.gz]|tar|DB> <o:sequenceDB> [options]

Current Behavior

When attempting to create a DB from a DB file, the following error message appears: "No structures found in given input."

Steps to Reproduce (for bugs)

  1. Use an existing DB file. I have created a testing one from 3 pdb files using foldseek createdb . test_db.
  2. Execute foldseek createdb test_db output_db
  3. Observe the error message.

Foldseek Output (for bugs)

Error message: "No structures found in given input."

Context

I want to merge two databases, and one of them is the AlphaFold database. I thought creating a DB from a DB file would be the way to go. If this is not the intended functionality, how can we merge two databases? Alternatively, is there a method to merge two search results?

Your Environment

martin-steinegger commented 11 months ago

Why do you try to create a database from a database?

diegozea commented 8 months ago

Hi @martin-steinegger! I understand that we can only search one database at a time. I considered merging the databases to search multiple databases in a single search. Does that make sense to you? Best regards.