pasta icon indicating copy to clipboard operation
pasta copied to clipboard

Failed to run hmmeralign

Open marinamashintsova opened this issue 2 years ago • 4 comments

Hi, I run into this problem when running "run_pasta.py --input=filtered.faa --datatype=Protein":

PASTA failed because one of the programs it tried to run failed. The invocation that failed was: ".../.conda/envs/pasta/bin/hmmeralign" ".../.conda/envs/pastajob/tempsgmw9sal/init_aln/temphmmeraligntkj6o3kq/input.fasta" ".../.conda/envs/pastajob/tempsgmw9sal/init_aln/query-11.fasta" ".../.conda/envs/pastajob/tempsgmw9sal/init_aln/temphmmeraligntkj6o3kq/input.aligned" "amino"

Any idea on how this can be fixed?

marinamashintsova avatar Feb 21 '23 12:02 marinamashintsova

I confirm the same issue on bioconda installation of sepp and pasta.

melop avatar Jan 12 '24 11:01 melop

PASTA failed because one of the programs it tried to run failed.
The invocation that failed was:
    "/public/software/conda_envs/sepp4.5.1/lib/python3.7/site-packages/bin/hmmeralign" "/fast3/group_crf/home/cuirf/OR_hunt/pipeline/trees/OR/testpasta/pastaout/pastajob/templj5_supd/init_aln/temphmmeralignq4xsw1nw/input.fasta" "/fast3/group_crf/home/cuirf/OR_hunt/pipeline/trees/OR/testpasta/pastaout/pastajob/templj5_supd/init_aln/query-3.fasta" "/fast3/group_crf/home/cuirf/OR_hunt/pipeline/trees/OR/testpasta/pastaout/pastajob/templj5_supd/init_aln/temphmmeralignq4xsw1nw/input.aligned" "amino"

It appears that the command line constructed by pasta to run hmmalign was incorrect? What is the problem?

melop avatar Jan 12 '24 11:01 melop

Ok I found out the reason. This is because due to some reason the conda installation has an "hmmeralign" binary executable in the conda envoriment's bin folder. Replacing this file with the resource/script/hmmeralign python script works.

melop avatar Jan 12 '24 12:01 melop

@melop thanks for the report and diagnosis. Do I have any idea how hmmeralign binary executable had gotten there? HMMER's file is called hmmalign not hmmeralign. I am wondering if this is a problem I need to fix on the PASTA side or if this was a fluke?

smirarab avatar Mar 29 '24 21:03 smirarab