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
545 stars 134 forks source link

Segmentation fault with ffindex_apply -- hhmake #366

Open jolienvanhooff opened 10 months ago

jolienvanhooff commented 10 months ago

Hi!

I was trying to make a custom HHM database based on https://github.com/soedinglab/hh-suite/wiki#building-customized-databases - 'Starting with MSAs'. However, I ran into a Segmentation fault while trying to execute the hhmake step. I did the following:

ffindex_build -s ../asgard_clusters_msa.ff{data,index} .
cd ../
ffindex_apply asgard_clusters_msa.ff{data,index} -i asgard_clusters_a3m.ffindex -d asgard_clusters_a3m.ffdata -- hhconsensus -M 50 -maxres 65535 -i stdin -oa3m stdout -v 0
rm asgard_clusters_msa.ff*
ffindex_apply asgard_clusters_a3m.ff{data,index} -i asgard_clusters_hhm.ffindex -d asgard_clusters_hhm.ffdata -- hhmake -i stdin -o stdout -v 2 

The latter than yields 'Segmentation fault'.

Do you know what could be common errors leading to this? Probably I did something wrong but I thus far have not been able to figure out what it might be.

Thanks in advance!