Comments (4)
UIDs are not found in the full XML file from SRA, so I don't see an efficient way to check that the UIDs are in the right order. I feel that maybe a better idea would be to store the UID list separately (#92 )
from pysradb.
Thanks for the bug report @kpj! @bscrow would you be able to take a look at this?
from pysradb.
I wasn't able to reproduce the bug; here's an example:
https://colab.research.google.com/drive/15cRhVw7Cy86N4JWWWtHfyJgr0mtwImdO?usp=sharing
After discussing with @saketkc, one possible reason for the bug would be that when the query was being processed, some of the entries were in the process of being submitted to SRA, such that while the pmid is returned in the search result, some of the corresponding metadata is not yet ready and could not be retrieved.
Either way, I think that I could have handled the error in a better way. Will make a pr soon
from pysradb.
Thanks a lot for taking a look!
You make an interesting point, I just tried it again and it worked fine. It might indeed be the case that some samples were added during the query.
Maybe it would make sense to retrieve the UIDs after iterating through all accessions instead of doing it before (and making sure they are in the right order, etc).
from pysradb.
Related Issues (20)
- Stats not saved in output file HOT 3
- [ENH] MD5 value is not HOT 1
- [ENH] Pysradb doesn't work on "superseries" HOT 1
- [BUG] requests.exceptions.ConnectionError
- [BUG] SRX to SRR produces incorrect results when multiple SRRs are present
- [BUG] linux-64 Conda version out of date HOT 7
- [BUG] varying number of columns in output
- [BUG] gse-to-srp not producing results HOT 1
- [BUG] gse_to_srp returns an error in Python API HOT 1
- [ENH] Include data processing steps, reference to which the reads were aligned or if possible lab protocol into the main table HOT 1
- [BUG] The error arises from setting a deprecated value for the "display.max_colwidth" option in pandas. HOT 2
- [BUG] Parsing error in gse-to-srp HOT 1
- installation using conda fails with UnsatisfiableError HOT 3
- [BUG] HOT 1
- ValueError: Value must be a nonnegative integer or None HOT 1
- Possible missing keys in esearch response results HOT 1
- Data download is interrupted after a few minutes HOT 7
- Filtering results by instrument type HOT 3
- [ENH] Super useful package!
- [BUG] cannot download a single experiment from command line HOT 1
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.