steineggerlab / foldseek

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

Potential permission issue when trying to create foldseek db #267

Open martinez-zacharya opened 2 months ago

martinez-zacharya commented 2 months ago

Expected Behavior

I'm expecting tsv2db to create proper foldseek db's from input .tsv's.

Current Behavior

On a shared cluster, I'm unable to use tsv2db, I receive the error Cannot open index file aa.index.0. However, I'm able to do it with no error on my personal computer.

Steps to Reproduce (for bugs)

Please make sure to execute the reproduction steps with newly recreated and empty tmp folders. foldseek tsv2db aa.tsv aa_db --output-dbtype 0

Foldseek Output (for bugs)

Please make sure to also post the complete output of Spacepharer. You can use gist.github.com for large output.

Below is the output on the shared cluster

tsv2db aa.tsv aa_db --output-dbtype 0 

MMseqs Version:             2.8bd520
Output database type        0
Compressed                  0
Verbosity                   3

Output database type: Aminoacid
Cannot open index file aa_db.index.0

Below is the output from my personal computer

tsv2db aa.tsv aa_db --output-dbtype 0 

MMseqs Version:             2.8bd520
Output database type        0
Compressed                  0
Verbosity                   3

Output database type: Aminoacid
Time for merging to aa_db: 0h 0m 0s 3ms
Time for processing: 0h 0m 0s 7ms

Context

Providing context helps us come up with a solution and improve our documentation for the future.

Your Environment

Include as many relevant details about the environment you experienced the bug in.

The foldseek version is 2.8bd520 from conda for both the cluster and my computer. The OS on the shared cluster is Ubuntu 22.04 and my computer is Pop!_OS 22.04. The cluster and my computer has 64 and 32 GB of RAM respectively.

Thanks in advance!!!

milot-mirdita commented 2 months ago

Please try if the issue is resolved in the latest release 8-ef4e960. 2.8bd520 is pretty ancient.