Comments (10)
Hi @et-jaynes-in-a-banana-suit, thanks for the bug report.
--detailed
is required for download
to work. The docs require updating, but this should work:
Note that --assay
is redundant in the SRAweb
mode.
pysradb metadata SRP125265 --detailed | grep 'study\|RNAseq' | pysradb download
from pysradb.
Hmm, I tried that exact command and I'm still getting AttributeError: Can only use .str accessor with string values!
from pysradb.
Are you using SRAmetadb.sqlite
?
Here's a notebook showing its usage: https://colab.research.google.com/drive/1CPruUgFYBE3L7MyLg9exWzON8dv_3QxQ
from pysradb.
No, I'm not using the local database (it's rather large).
from pysradb.
What version of pysradb
are you using?
from pysradb.
I was not super clear on my previous comment but the Colab notebook shows the example of the SRAweb
mode.
https://colab.research.google.com/drive/1CPruUgFYBE3L7MyLg9exWzON8dv_3QxQ
from pysradb.
pysradb==0.9.7
, full output of pip freeze below
asn1crypto==1.3.0
attrs==19.3.0
backcall==0.1.0
better-exceptions==0.2.2
biopython==1.76
bleach==3.1.4
blosc==1.7.0
certifi==2020.4.5.1
cffi==1.14.0
chardet==3.0.4
cryptography==2.8
cycler==0.10.0
decorator==4.4.1
defusedxml==0.6.0
entrypoints==0.3
idisplay==0.1.2
idna==2.9
importlib-metadata==1.6.0
ipykernel==5.1.4
ipython==7.12.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
jedi==0.16.0
Jinja2==2.11.1
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==5.3.4
jupyter-console==6.1.0
jupyter-contrib-core==0.3.3
jupyter-contrib-nbextensions==0.5.1
jupyter-core==4.6.1
jupyter-highlight-selected-word==0.2.0
jupyter-latex-envs==1.4.6
jupyter-nbextensions-configurator==0.4.1
kiwisolver==1.1.0
lxml==4.5.0
MarkupSafe==1.1.1
matplotlib==3.1.3
mistune==0.8.4
mkl-fft==1.0.15
mkl-random==1.1.0
mkl-service==2.3.0
natsort==7.0.1
nbconvert==5.6.1
nbformat==5.0.5
notebook==6.0.3
numpy==1.18.1
pandas==1.0.1
pandocfilters==1.4.2
parso==0.6.1
pdb-tools==2.0.1
pexpect==4.8.0
pickleshare==0.7.5
prometheus-client==0.7.1
prompt-toolkit==3.0.3
ptyprocess==0.6.0
py3Dmol==0.8.0
pycparser==2.20
Pygments==2.5.2
pyOpenSSL==19.1.0
pyparsing==2.4.6
pyrosetta==2020.8+release.cb1caba
pyrsistent==0.16.0
PySocks==1.7.1
pysradb==0.9.7
pyteomics==4.2
python-dateutil==2.8.1
python-Levenshtein==0.12.0
pytz==2019.3
PyYAML==5.3.1
pyzmq==18.1.1
qtconsole==4.7.2
QtPy==1.9.0
requests==2.23.0
scipy==1.4.1
seaborn==0.10.0
Send2Trash==1.5.0
six==1.14.0
SQLAlchemy==1.3.13
terminado==0.8.3
testpath==0.4.4
tornado==6.0.3
tqdm==4.44.1
traitlets==4.3.3
urllib3==1.25.8
wcwidth==0.1.8
webencodings==0.5.1
widgetsnbextension==3.5.1
xlrd==1.2.0
xmltodict==0.12.0
zipp==3.1.0
from pysradb.
Can you upgrade to 0.10.3
(preferably in a clean virtualenv or conda environment)?
pip install pysradb==0.10.3
from pysradb.
That's working! I got the previous version from conda -c bioconda
today.
from pysradb.
Thanks for letting me know! Reminds me I need to get bioconda/bioconda-recipes#21135 to build.
Closing this as it seems to be fixed. Please feel free to reopen if you face any issues.
from pysradb.
Related Issues (20)
- [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
- [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
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.