Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sina: The ARB database you were trying to use is likely corrupted #506

Closed
nick-youngblut opened this issue Mar 10, 2023 · 4 comments
Closed

Comments

@nick-youngblut
Copy link

I'm using quay.io/biocontainers/sina:1.7.1--h9aa86b4_0:

sina --threads 4 --turn \
  --fasta-write-dna --lowercase none \
  --intype fasta --outtype fasta \
  --in reads.fna \
  --db SILVA_138.1_SSURef_NR99_12_06_20_opt.arb 
  -o aligned.fna

...and getting the following error:

01:15:53 [SINA] This is SINA 1.7.1.
01:15:53 [SINA] Unable to open ARB database "SILVA_138.1_SSURef_NR99_12_06_20_opt.arb".
01:15:53 [SINA] The ARB database you were trying to use is likely corrupted.

The accompanying db file SILVA_138.1_SSURef_NR99_12_06_20_opt.sidx is also present in the directory.

If I download sina via wget https://github.com/epruesse/SINA/releases/download/v1.7.1/sina-1.7.1-linux.tar.gz and run that executable, the alignment job completes successfully.

It appears that there's something wrong with the sina executable in the sina:1.7.1--h9aa86b4_0 biocontainer

@osallou
Copy link
Contributor

osallou commented Mar 10, 2023

Hi, it is a conda based container, si issue is conda related, you should create an issue on bioconda related package.

Once fixed, container will be updated

Thanks

@nick-youngblut
Copy link
Author

@osallou Thanks for the suggestion.

I did try creating my own docker image:

FROM ubuntu:22.04

USER root
RUN apt-get update && \
    apt-get install -y wget python3.9 && \
    ln -sf /usr/bin/python3 /usr/bin/python && \
    apt-get clean && \
    apt-get purge && \
    rm -rf /var/lib/apt/lists/* /tmp/*

RUN wget https://github.com/epruesse/SINA/releases/download/v1.7.2/sina-1.7.2-linux.tar.gz && \
  tar -pzxvf sina-1.7.2-linux.tar.gz && \
  mv sina-1.7.2-linux /bin/sina-1.7.2-linux/ && \
  ln -sf /bin/sina-1.7.2-linux/bin/sina /bin/sina && \
  rm -f sina-1.7.2-linux.tar.gz

WORKDIR /data

... and I ran into the same error:

01:15:53 [SINA] This is SINA 1.7.1.
01:15:53 [SINA] Unable to open ARB database "SILVA_138.1_SSURef_NR99_12_06_20_opt.arb".
01:15:53 [SINA] The ARB database you were trying to use is likely corrupted.

Changing to sina 1.7.2 or Ubuntu 20.04 didn't fix the issue.

@epruesse
Copy link

That error should be issued when something went wrong calling GB_open() from libARBDB.so IIRC. So it really just couldn't open the database. Can you check whether it affects only that one file, or others? E.g. use that sina itself to convert a fasta to an arb, and see if you can open that?

@bgruening
Copy link
Member

@nick-youngblut is this still a problem?

@mboudet mboudet closed this as completed Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants