Comments (5)
Thanks for the bug report. I agree we should be testing more vigorously, but rather than a bug - this is more because of changes from NCBI side.
None of the URLs work:
https://sra-downloadb.st-va.ncbi.nlm.nih.gov/sos2/sra-pub-run-3/SRR2433794/SRR2433794.1
ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR243/SRR2433794/SRR2433794.sra
from pysradb.
PRs are always welcome.
from pysradb.
Maybe you could update the readme to reflect that this feature does not work or that this example does not work? Also could you update the tool to throw an error message that is less vague?
I had the same problem being unable to get the readme examples to work and also not just with this SRP, but with almost any other SRP I have tested.
Fails with the same error:
pysradb download -p SRP095235
pysradb srx-to-srr SRX5893229
UnboundLocalError: local variable 'exp_platform_model' referenced before assignment
Gets stuck with no error message:
pysradb download -x SRX5893229
Other commands work so the install and my connection are okay, e.g.:
pysradb download -g GSE131754
python --version
Python 3.8.10
pysradb --version
pysradb 1.3.0
I would not be surprised if the NCBI ruined the pysradb feature on their end, but it would be nice if you indicated this in the readme.
from pysradb.
Yes, I agree. Apologies for the errors. I should revise the readme and check if some of the errors are addressable with code changes.
from pysradb.
These should now be fixed with release 1.4.1
from pysradb.
Related Issues (20)
- `pysradb metadata --detailed` gives `KeyError` for some accessions HOT 1
- Getting study info from SRR id HOT 3
- [BUG] HOT 1
- [BUG] EnaSearch failing depending on search term ordering HOT 7
- pysradb download doesn't work[BUG] HOT 3
- [QUESTION] SRAdb up to date? HOT 5
- [BUG] 'NoneType' object has no attribute 'entrytype' error HOT 2
- UnboundLocalError HOT 5
- [BUG] KeyError: '@url' HOT 4
- IO Error - No connection adapters for NCBI HOT 1
- [BUG] ENA url missing HOT 2
- [ENH] Filter by publicly available datasets HOT 2
- [BUG] gsm_to_srx false positives (reanalysis) HOT 1
- [BUG] Example download doesn't work HOT 2
- KeyError: 'run_accession' HOT 2
- [BUG] keyError: 'RUN' HOT 2
- [BUG] Failed to establish a new connection: [Errno -2] Name or service not known HOT 1
- [BUG] Mismatched gcp and AWS links HOT 1
- [BUG] Default date range output
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 pysradb.