Giter Site home page Giter Site logo

download fails for SRP125265 about pysradb HOT 10 CLOSED

saketkc avatar saketkc commented on June 16, 2024
download fails for SRP125265

from pysradb.

Comments (10)

saketkc avatar saketkc commented on June 16, 2024

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.

et-jaynes-in-a-banana-suit avatar et-jaynes-in-a-banana-suit commented on June 16, 2024

Hmm, I tried that exact command and I'm still getting AttributeError: Can only use .str accessor with string values!

from pysradb.

saketkc avatar saketkc commented on June 16, 2024

Are you using SRAmetadb.sqlite?
Here's a notebook showing its usage: https://colab.research.google.com/drive/1CPruUgFYBE3L7MyLg9exWzON8dv_3QxQ

from pysradb.

et-jaynes-in-a-banana-suit avatar et-jaynes-in-a-banana-suit commented on June 16, 2024

No, I'm not using the local database (it's rather large).

from pysradb.

saketkc avatar saketkc commented on June 16, 2024

What version of pysradb are you using?

from pysradb.

saketkc avatar saketkc commented on June 16, 2024

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.

et-jaynes-in-a-banana-suit avatar et-jaynes-in-a-banana-suit commented on June 16, 2024

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.

saketkc avatar saketkc commented on June 16, 2024

Can you upgrade to 0.10.3 (preferably in a clean virtualenv or conda environment)?

pip install pysradb==0.10.3

from pysradb.

et-jaynes-in-a-banana-suit avatar et-jaynes-in-a-banana-suit commented on June 16, 2024

That's working! I got the previous version from conda -c bioconda today.

from pysradb.

saketkc avatar saketkc commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.