Giter VIP home page Giter VIP logo

Comments (8)

saketkc avatar saketkc commented on June 15, 2024

Hi @fgypas,

The correct usage is:

pysradb download -p SRP083135

Can you post the error message you get when you run the above command?

Thanks!

from pysradb.

fgypas avatar fgypas commented on June 15, 2024

Hi @saketkc

Thank you for the response.

I get the following error message:

File "miniconda3/envs/pysradb/bin/pysradb", line 10, in
sys.exit(parse_args())
File "miniconda3/envs/pysradb/lib/python3.8/site-packages/pysradb/cli.py", line 1044, in parse_args
download(args.out_dir, args.db, args.srx, args.srp, args.skip_confirmation)
File "miniconda3/envs/pysradb/lib/python3.8/site-packages/pysradb/cli.py", line 139, in download
sradb.download(
File "miniconda3/envs/pysradb/lib/python3.8/site-packages/pysradb/sradb.py", line 1249, in download
srapaths = self._srapath_url(df.study_accession.unique()[0])
File "miniconda3/envs/pysradb/lib/python3.8/site-packages/pysradb/sradb.py", line 1174, in _srapath_url
raise Exception("Unable to run srapath.")
Exception: Unable to run srapath.

Foivos

from pysradb.

saketkc avatar saketkc commented on June 15, 2024

Thanks @fgypas. I confirm this is a bug and is arising because of pysradb relying on srapath to get the new URLs. I will have a temporary fix soon.

Thanks once again and sorry that pysradb is not completely useful for your use case at the moment.

from pysradb.

deepthi888 avatar deepthi888 commented on June 15, 2024

Hi @saketkc,
could you please provide me some information on how to store the result which we get from
"pysradb metadata SRP063732 --desc --expand" into pandas dataframe

Thanks in advance

from pysradb.

saketkc avatar saketkc commented on June 15, 2024

Hi @deepthi888, You can save the output to a tab separated file by doing:

pysradb metadata SRP063732 --desc --expand --saveto SRP063732.tsv

from pysradb.

deepthi888 avatar deepthi888 commented on June 15, 2024

Hi @saketkc,
could you please provide me information on how to fetch the name of the organism by giving project id and also how to get the count of runs and experiments of each project
I tried with this "pysradb metadata SRP063732 --desc --expand --detailed" but it fetched all the attributes information except name of the organism.

Thanks in advance

from pysradb.

saketkc avatar saketkc commented on June 15, 2024

@deepthi888 Can you please open a separate issue for your question?
Thanks!

from pysradb.

saketkc avatar saketkc commented on June 15, 2024

Hi @fgypas,

I can confirm that v0.9.9 of pysradb fixes this.
Please let me know if you run into any issues and thanks a lot for your patience!

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.