soedinglab / hh-suite

Remote protein homology detection suite.
https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-019-3019-7
GNU General Public License v3.0
515 stars 128 forks source link

hhsearch Segmentation Fault #249

Closed ckallu closed 3 years ago

ckallu commented 3 years ago

Hi,

I am attempting to run hhsearch, however I am getting a segmentation error everytime. I installed via conda (conda install -c conda-forge -c bioconda hhsuite). My test case is a single fasta sequence. I downloaded the pfamA_33.1.tar.gz database from http://wwwuser.gwdg.de/~compbiol/data/hhsuite/databases/hhsuite_dbs/ and stored the unzipped files in ./database/. I even tried using -cpu 1 and -maxmem 1 (however, I checked and I my computing cluster has ample memory: -m 4194304 -v 4194304 -s unlimited -f unlimited) The command I run and the output I get is:

hhsearch -i ./pfam_inputs/single-fasta.faa -d ./database/pfam -i ./pfam_outputs/single-fasta.out

Segmentation fault

milot-mirdita commented 3 years ago

Could you upload the pfam_inputs/single-fasta.fa file? I can try to reproduce the issue locally.

ckallu commented 3 years ago

Actually I was able to resolve this by running it as a job on the cluster I am using as opposed to trying to run it on the login node.

It was an issue with memory, I tried to run a fasta sequence of length 5 on the login node using the same command and it worked, but it gave a segmentation error when it was a 90AA sequence. I tried to change sysctl vm.overcommit_memory=1 but do not have the permissions to do so. But running it as a job using 5 compute nodes worked.