Open nick-youngblut opened 1 year ago
The exception is thrown at:
data->gbmain = GB_open(arbfile.c_str(), "rwc");
if (data->gbmain == nullptr) {
throw make_exception("Unable to open ARB database {}.", arbfile);
}
...but I can't tell why. I don't see the code for GB_open()
in all of the sina
source code
GB_open is in libARBDB.so
- it's the "connect" function for ARB databases. Usually, if that throws an error, it really just couldn't open the file. As in, it's not there because you misspelled the path, it doesn't have the right permissions, or it's not actually an ARB database.
If I run
sina
within a docker container (I've triedquay.io/biocontainers/sina:1.7.1--h9aa86b4_0
and creating my own container; see below), I get the error:My job:
If I run the same job outside of the container image:
...the job completes successfully.
There seems to be something about running sina within a docker container that causes it to fail with the error:
[SINA] Unable to open ARB database
Maybe it has something to do with ownership/permissions?
The dockerfile for my own sina image:
Switching to
ubuntu:20.04
does not fix the issue.