Comments (4)
Someone comented in this blog https://community.anaconda.cloud/t/how-to-get-gdbm-module/35785/5
The cause of the error is unknown, but “_gdbm.cpython-39-x86_64-linux-gnu.so”, which should exist under “/lib/python3.9/lib-dynload/”, does not exist. .
If another version of the corresponding library exists, copying it to the above directory will solve the problem.
But I am not able to solve it this way. What other alternatives do you recommend to open the database?
from nanocompore.
Hi @villegmb,
Just for a little more context, can you share the command you were trying to do to open the database?
Thanks,
Logan
from nanocompore.
Hello. I am following this https://nanocompore.rna.rocks/demo/SampCompDB_usage/
> from nanocompore.SampCompDB import SampCompDB, help
> # Load database
> db = SampCompDB (
> db_fn = "/ibex/scratch/projects/c2078/Heat_stress_analysis/final_result_nanocompore/final_final_results/outSampComp.db",
> fasta_fn = "/ibex/scratch/projects/c2078/Villegmb/20230913_P4U2_2/Ahem_transcript_rename.fasta")
>
> # Print general metadata information
> print (db)
from nanocompore.
Hi @villegmb,
Just a few more quick questions, and some possible solutions assuming some things about your setup.
Was the db generated on a linux, windows, or macOs machine?
Are you trying to access the db on a windows, linux, or macOs machine?
When you installed Nanocompore, did you install it in a clean virtual environment?
If you didn't install Nanocompore in a clean virtual environment, I recommend reinstalling Nanocompore in a new virtual environment and trying to open the database using the new virtual environment.
I've seen two possible solutions if you're on a linux machine.
either install the libgdbm-dev library with sudo permissions:
sudo apt-get install libgdbm-dev
sudo yum install gdbm-devel
or try to reinstall it using pip (this might also work on Windows):
pip install gdbm
If you're on a macOs you can try to install the gdbm library using:
brew install gdbm
Alternatively, this stacked overflow post seems to suggest that the issues comes from the pycache folders in the source code.
They had to rename some folders, update to a newer version of python, delete all the python caches, and restart PyCharm to resolve the issue.
https://stackoverflow.com/questions/50998839/error-db-type-is-dbm-gnu-but-the-module-is-not-available-in-windows
Let me know if any of these possible solutions work for you.
Logan
from nanocompore.
Related Issues (20)
- plot position is giving an error HOT 5
- cluster_counts interpretation HOT 1
- Issues on reproducing the synthetic oligo results from the nanocompore paper HOT 3
- Request for demo data & getting ValueError: 'read_name' is not in list when running nanocompore eventalign_collapse with nanopolishComp data HOT 11
- nanocompore to be used for SHAPEseq data HOT 1
- returns numpy error while intsalling nanocompore on Ubuntu 22.04 HOT 2
- miCLIP dataset HOT 2
- A question about the result HOT 1
- nanocompore-sampcomp-References found in index: 0 HOT 2
- nanocompore sampcomp output question. HOT 5
- Problems with save_to_bed. And questions with bed file annotation HOT 1
- SystemError: null argument to internal routine HOT 7
- Nanocompore SampComp stuck at 0% HOT 8
- Steps to make Nanocompore Work HOT 1
- numpy' has no attribute 'float'. HOT 3
- Parameters recommendation to analyse SARS-CoV-2 data generated us Oxford Nanopore DRS protocol HOT 2
- sharkfin plot too many data points and difficult to visualize HOT 1
- Direction of change in methylation HOT 1
- ref kmer and position of modification HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanocompore.