RepeatMasker icon indicating copy to clipboard operation
RepeatMasker copied to clipboard

WUBlastXSearchEngine::setPathToEngine( path/blastx ): Cannot determine engine variant and version!

Open Tianyou96 opened this issue 2 years ago • 4 comments

What do you want to know? why cannot determine engine variant and version ? What can I do to make it work? Helpful context RepeatProteinMask - 4.1.2-p1 installed by conda. run command: RepeatProteinMask -engine wublast genome.fa run err :

WUBlastXSearchEngine::setPathToEngine( /lab_path/anaconda3/envs/repeatmasker/bin/blastx ): Cannot determine engine variant and version!
 at /lab_path/anaconda3/envs/repeatmasker/bin/RepeatProteinMask line 344.

run out:

Masking Simple Repeats...
   - Tandem Repeats: 1655286
Masking Repeat Proteins...

I checked that blastx can run independently. I look forward to your help

Tianyou96 avatar Dec 08 '22 02:12 Tianyou96

Oh...that's probably a bug. If you edit the WUBlastSearchEngine.pm file in RepeatMasker (near line 286):

  # BLASTN 3.0-SE [2009-05-25] [linux26-x64-I32LPF64 2009-05-25T22:58:29]
  if ( $result =~ /^(BLAST[PN]) (\S+ \[.*\])/m ) {

To include the "X" suffix like so:

  if ( $result =~ /^(BLAST[PNX]) (\S+ \[.*\])/m ) {

And then retry. If that works I will include this change in the next release.

rmhubley avatar Jan 12 '23 18:01 rmhubley

This has been fixed in RepeatMasker 4.1.5 released today.

rmhubley avatar Mar 23 '23 18:03 rmhubley

This has been fixed in RepeatMasker 4.1.5 released today.

I'm sorry that the version I used is 4.1.5, but I still have this problem. Do you know any solution?

wuyh0328 avatar Mar 15 '24 01:03 wuyh0328

What do you want to know? why cannot determine engine variant and version ? What can I do to make it work? Helpful context RepeatProteinMask - 4.1.2-p1 installed by conda. run command: RepeatProteinMask -engine wublast genome.fa run err :

WUBlastXSearchEngine::setPathToEngine( /lab_path/anaconda3/envs/repeatmasker/bin/blastx ): Cannot determine engine variant and version!
 at /lab_path/anaconda3/envs/repeatmasker/bin/RepeatProteinMask line 344.

run out:

Masking Simple Repeats...
   - Tandem Repeats: 1655286
Masking Repeat Proteins...

I checked that blastx can run independently. I look forward to your help

Hey, did you fix the problem later?

wuyh0328 avatar Mar 15 '24 01:03 wuyh0328