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

getref error with resfinder db #225

Closed
hkaspersen opened this issue May 14, 2018 · 6 comments
Closed

getref error with resfinder db #225

hkaspersen opened this issue May 14, 2018 · 6 comments

Comments

@hkaspersen
Copy link

We are trying to run ARIBA with the resfinder database. However, when we tried to download the database, we got the following error:

The following command failed with exit code 128
git clone https://bitbucket.org/genomicepidemiology/resfinder_db.git /work/projects/nn9305k/ecoli/analysis/hkaspersen_map_pilot/ARIBA/resfinder_run/resfinderdb.tmp.download

The output was:

Initialized empty Git repository in /work/projects/nn9305k/ecoli/analysis/hkaspersen_map_pilot/ARIBA/resfinder_run/resfinderdb.tmp.download/.git/
git-remote-https: symbol lookup error: /usr/lib64/libnsssysinit.so: undefined symbol: PR_GetEnvSecure

FYI: I tried to clone the git repository separately, and it worked fine.

@martinghunt
Copy link
Collaborator

I can't reproduce that. Could you please confirm if this throws an error?

python3 -c 'import subprocess; subprocess.check_output("git clone https://bitbucket.org/genomicepidemiology/resfinder_db.git test.out", shell=True)'

In any case, I have attached the output files so you can run prepareref
getref.resfinder.fa.gz
getref.resfinder.tsv.gz

@hkaspersen
Copy link
Author

Thank you for quick reply.

That did indeed work, no errors.

@martinghunt
Copy link
Collaborator

Thank you for testing that command. Could you please try this?

python3 -c 'import ariba; ariba.common.syscall("git clone https://bitbucket.org/genomicepidemiology/resfinder_db.git test.out")'

Also, what OS are you using, and could you please let me know the output of running ariba version?

@hkaspersen
Copy link
Author

I ran your command also without errors.

Output from ariba version:

WARNING: spades not found in path. Looked for spades.py
ARIBA version: 2.12.0

External dependencies:
bowtie2 2.2.9 /cluster/software/VERSIONS/bowtie2/2.2.9/bowtie2
cdhit 4.6 /cluster/software/VERSIONS/cd-hit/4.6.1/cd-hit-est
nucmer 3.1 /cluster/software/VERSIONS/mummer-3.23-64/bin/nucmer
spades NA NOT_FOUND

External dependencies OK: True

Python version:
3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
[GCC 7.2.0]

Python packages:
ariba 2.12.0 /work/projects/nn9305k/src/anaconda3/lib/python3.6/site-packages/ariba/init.py
bs4 4.6.0 /work/projects/nn9305k/src/anaconda3/lib/python3.6/site-packages/bs4/init.py
dendropy 4.4.0 /work/projects/nn9305k/src/anaconda3/lib/python3.6/site-packages/dendropy/init.py
pyfastaq 3.17.0 /work/projects/nn9305k/src/anaconda3/lib/python3.6/site-packages/pyfastaq/init.py
pymummer 0.10.3 /work/projects/nn9305k/src/anaconda3/lib/python3.6/site-packages/pymummer/init.py
pysam 0.14.1 /work/projects/nn9305k/src/anaconda3/lib/python3.6/site-packages/pysam/init.py

Python packages OK: True

Everything looks OK: True

Operating system:
uname -a
Linux login-0-1.local 2.6.32-696.18.7.el6.x86_64 #1 SMP Thu Jan 4 17:31:22 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.9 (Final)
Release: 6.9
Codename: Final

@martinghunt
Copy link
Collaborator

Thanks again. I guess for now you can use the attached files?

In the meantime I will use the same OS as you to try to reproduce the bug.

@kpepper
Copy link
Member

kpepper commented Mar 18, 2019

I’m closing this issue now as it’s old and doesn’t look like an Ariba problem. The error is emanating from the NSS (Network Security Services) package on CentOS.
That kind of link error could arise as a result of an out of date or corrupted package. I also haven’t been able to replicate this error on Linux or Mac.
You could check with your sys admin to make sure you have recent NSS lib versions, and also try Ariba with recent versions of Python 3 and git.

@kpepper kpepper closed this as completed Mar 18, 2019
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

3 participants