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)
- Filtering results by instrument type HOT 3
- [ENH] Super useful package!
- [BUG] cannot download a single experiment from command line HOT 1
- [BUG] aspera HOT 3
- [BUG] Metadata download not only for the provided accession number HOT 3
- [BUG] aspera HOT 3
- [BUG] gse-to-srp error HOT 1
- [BUG] Download error HOT 1
- [BUG] download error HOT 2
- [BUG]Downloading issue HOT 1
- fastq's URLs are empty HOT 2
- Not all attributes are being exported HOT 6
- [BUG] missing run-related entries for experiments with high number of runs
- [BUG] Metadata download only for a few run accessions, not for all the run accessions of the study HOT 4
- [BUG] srp-to-srr giving SRSs as result HOT 3
- could you expend to support European Nucleotide Archive data HOT 1
- [BUG] All arrays must be of the same length
- [ENH] geo_download_links error handling HOT 1
- Incosistencies with retrieving SRX data from different archives HOT 1
- Specific srp seems to cause metadata download to freeze
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.