We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This looks like a more stable alternative https://github.com/saketkc/pysradb
The text was updated successfully, but these errors were encountered:
library("tictoc") library(XML) library(reutils)
tic() eres <- esearch("Escherichia coli[orgn] and transcriptomic[Source] and public[Access] ", db="sra",retmax=999000) str(uid(eres)) esum <- esummary(eres) econtent <- content(esum, "parsed") runvec <- econtent$Runs runvec <- gsub("><",">><<",runvec) runvec <- unlist(strsplit(runvec,"><")) runs <- lapply( runvec ,function(x) { as.vector(xmlToList(x)) } ) runs <- do.call(rbind,runs) toc()
Sorry, something went wrong.
simpler
pysradb search --organism="Escherichia coli" --source="transcriptomic" --max=999000 > ecoli.tsv awk '{print $(NF-2)}' ecoli.tsv > ecoli_runs.tsv
No branches or pull requests
This looks like a more stable alternative https://github.com/saketkc/pysradb
The text was updated successfully, but these errors were encountered: