mira icon indicating copy to clipboard operation
mira copied to clipboard

Error with mirabait -j rrna

Open zhujack opened this issue 3 years ago • 2 comments

Hi,

I am trying to run the following command with mira_V5rc1_linux-gnu_x86_64_static:

mirabait -j rrna -I -p $file1.fastq $file2.fastq

The dbdata folder had rfam_rrna-21-1.sls.gz and I changed it to rfam_rrna-21-12.sls.gz. I did run:

./mira-install-sls-rrna.sh rfam_rrna-21-12.sls.gz

But, I still got the following error:

$ mirabait -j rrna -I -p $file1.fastq $file2.fastq


  • You specified -j rrna, but MIRA could not find the default rRNA hash *
  • statistics file which should be located at *
  • /gpfs/gsfs9/users/CCRBioinfo/zhujack/local/mira_V5rc1_linux-gnu_x86_64_static/bin/../share/mira/mhs/filter_default_rrna.mhs.gz*
  • This is usually the case when you forgot to run the script to install the *
  • rRNA data from the MIRA package. *
  •                                                                          *
    
  • What to do: *
    • if you installed from source: use the 'make install' functionality. *
    • if you installed from a precompiled binaries package: go to the *
  • 'dbinstall' directory in that package and type *
  • ./mira-install-sls-rrna.sh rfam_rrna-21-12.sls.gz *

->Thrown: int mainMiraBait(int argc, char ** argv) ->Caught: main

Aborting process due to an error in the installation of MIRA. Please check the lines above in this ouput for more information.

The following file exists, no other files in the folder:

/gpfs/gsfs9/users/CCRBioinfo/zhujack/local/mira_V5rc1_linux-gnu_x86_64_static/bin/../share/mira/mhs/filter_default_rrna.mhs.gz

Could you have a look at this and kindly let me know what I have missed? Thanks.

Jack

zhujack avatar Apr 22 '22 14:04 zhujack

I have the same problem, did you get any solution?

allejRoCabal avatar Mar 05 '24 16:03 allejRoCabal

My apologies for the late response. It's a typo in the file name of the documentation. The correct invocation indeed uses the "-1.sls.gz" file ending. I.e., ./mira-install-sls-rrna.sh rfam_rrna-21-1.sls.gz

Do NOT rename the SLS file.

Hope this helps, B.

DrMicrobit avatar Mar 08 '24 18:03 DrMicrobit